Hi All,
I have a text box called lookup that filters form results after update
like so:
Private Sub lookup_AfterUpd ate()
DoCmd.ApplyFilt er , "FirstOfSur name LIKE '" & lookup & "*'"
pagetitle.Capti on = "Attendees matching '" & lookup & "'"
delbtn.Visible = True
delbox.Visible = True
tip.Visible = False
End Sub
This works great as a normal form but when I make it a subform of the
switchboard, The code does not work! I get prompted for the var
FirstOfSurname and then I get a message saying the object being
referred to has closed or does not exist. Anyone got any ideas how to
solve this please?
Thanks a lot!
Ciarán
I have a text box called lookup that filters form results after update
like so:
Private Sub lookup_AfterUpd ate()
DoCmd.ApplyFilt er , "FirstOfSur name LIKE '" & lookup & "*'"
pagetitle.Capti on = "Attendees matching '" & lookup & "'"
delbtn.Visible = True
delbox.Visible = True
tip.Visible = False
End Sub
This works great as a normal form but when I make it a subform of the
switchboard, The code does not work! I get prompted for the var
FirstOfSurname and then I get a message saying the object being
referred to has closed or does not exist. Anyone got any ideas how to
solve this please?
Thanks a lot!
Ciarán
Comment