View Full Version : Opening a form with no data


jevans
03-04-2001, 09:48 PM
I have 2 tables Customers and Contracts. Each table has its own form. In the Customer Form I have the Customer # field code to open the Contracts Form when this field is double clicked on. When there's no contract data the Debugging window pops up. How can I get a MSG box to appear and say "No contracts for this Customer"?

Thank you,

llkhoutx
03-05-2001, 05:57 AM
Check the recordcount. If it's zero add your message.