Hello all,
I am new to MS Access VBA, i am using 2007 version.
I have a form called feedback, in that load event we calling a method, in that method statement a bug is coming.
here is the method code
This method is called in the form_load method
In this method, GetCustomProp having a empty value, because of that is giving error.
Can any one explain me this statement
what actually is this code. I am working on a project which is build by some one else. actually i dont know what actually is this line of code is doing.
I had attached the whole page code with this issue. please have a look at this attachment.
Thanks in advance!
Asif
I am new to MS Access VBA, i am using 2007 version.
I have a form called feedback, in that load event we calling a method, in that method statement a bug is coming.
here is the method code
Code:
Function GetCustomProp(prpName As String) As Variant On Error Resume Next [B]GetCustomProp = CurrentDb.Containers("Databases").Documents("UserDefined").Properties(prpName).Value[/B] If Err.Number <> 0 Then GetCustomProp = Null End Function
Code:
UpdateRating GetCustomProp("Rating")
Can any one explain me this statement
Code:
GetCustomProp = CurrentDb.Containers("Databases").Documents("UserDefined").Properties(prpName).Value
I had attached the whole page code with this issue. please have a look at this attachment.
Thanks in advance!
Asif
Comment