Combo defaults to -1

jason_nevin

Registered User.
Local time
Today, 00:41
Joined
Nov 22, 2002
Messages
46
I have a combobox which is taking its values from a table. For some reason, however, it defaults to -1. The default value property is empty. I even tried cutting and pasting from the combo above which is almost exactly the same but all to no avail. I can't figure why. Help!
 
Thanks for your reply Pat

I can't see that it is either. The table field has no default value either. I also have a date field on the form which seems to be doing similar (its defaulting to 30/12/1899).
 
It sounds like I've got a similar problem with both fields then. The default value property is not set in either the table or the form. I'm confused! My tables are linked but can't see that this makes any difference.
 
All solved. In my code I'd missed out the .Locked property and was setting these values to False. Sorry to waste your time!
 

Users who are viewing this thread

Back
Top Bottom