Blank Record Coding

  • Thread starter Thread starter DBarker
  • Start date Start date
D

DBarker

I have a form and a bunch of buttons that I have put code
behind to check amounts to make sure they match before
allowing the user to move on. However, if I open the
form and then try to close immediately before adding
anything it gives me an error message just as if the
amounts did not match. I want to add code to say if a
blank record or record with null value then close the
form. Any help would be appreciated.

Thanks,
Debbie
 
Where is your code? Is it in the on_close event? Put it in the on_update
event and I don't think you will get the undesired results you mentioned.

Rick
 
Back
Top