craigachan
Registered User.
- Local time
- Today, 07:35
- Joined
- Nov 9, 2007
- Messages
- 285
I have a mainform and a subform. I want to run code when there are no records in the subform. How can I initiate this code? I've tried:
Somehow I cant get my code to acknowledge when there is no record in the subform?
Any ideas?
Code:
If Not IsNull(Me(Form!Subform.Form!ID)) Then
msgbox "Do Something"
Else
msgbox "Do Something Else"
end If
Somehow I cant get my code to acknowledge when there is no record in the subform?
Any ideas?