No Value error

dynamictiger

Registered User.
Local time
Today, 16:52
Joined
Feb 3, 2002
Messages
270
I have a form which is balnk to start up. On this form I have various command buttons. I thought to prevent errors I would enable and disable according to the record on the form.

On start up the form has no record. So when I code if Me.ID>0 then I get an error saying Me.ID has no value.

I have never come across this before and am not sure of what to use to handle it?
 
Is ID bound to an autonumber field in an empty table?
 
At this point in time that would be correct. Although it is a query not a table.
 
Thank you. That solved that problem. So simple just one of the combinations I have never used.
 

Users who are viewing this thread

Back
Top Bottom