cath_hopes
Registered User.
- Local time
- Today, 11:06
- Joined
- Oct 17, 2007
- Messages
- 52
hi there,
I want to put some code behind a 'Delete' button on my Client form that will check whether an associated Booking record exists or not. If it does then then form will return the message:
"Cannot delete Client as associated Booking records exist."
The two tables Client and Booking both contain the linking field ClientID. My Client form is based on the Client table only. Can someone help me with the line(s) of code I'm looking for please?
Many Thanks in advance!
Catherine
I want to put some code behind a 'Delete' button on my Client form that will check whether an associated Booking record exists or not. If it does then then form will return the message:
"Cannot delete Client as associated Booking records exist."
The two tables Client and Booking both contain the linking field ClientID. My Client form is based on the Client table only. Can someone help me with the line(s) of code I'm looking for please?
Many Thanks in advance!
Catherine