Private Sub Allocated_AfterUpdate()
Dim frm As Form
Set frm = [Forms]![Jobs Entry]
If [Allocated] = True Then Me!Job = frm![Job]
Set frm = Nothing
End Sub
this piece of code works fine, but generates the following error.
"An error occured, while referencing the object. You tried to run a vis basic procedure that improperly references a property or method of an object"
HELP PLEASE, i need this code to be invisible
Dim frm As Form
Set frm = [Forms]![Jobs Entry]
If [Allocated] = True Then Me!Job = frm![Job]
Set frm = Nothing
End Sub
this piece of code works fine, but generates the following error.
"An error occured, while referencing the object. You tried to run a vis basic procedure that improperly references a property or method of an object"
HELP PLEASE, i need this code to be invisible