Combo box Default Value?

HappyBunny

Registered User.
Local time
Today, 09:19
Joined
Jun 6, 2008
Messages
22
How do I set my Default Value to "..."?
It's set,but the minute I change the format of the drop-down list columns it disappers. My entire code hangs on this default value. How do I make it show on the form when no criteria is selected? (It's for a query)
 
why does your entire code "hang" on this value? I don't get it.

Why don't you use a label to fake a default value, if that's what you're trying to do. I do this all the time. code for the update events of the combo boxes:
Code:
Lost_focus (or Got_Focus)

   if me.comBoBoxNaMe = "" OR isnull(me.comBoBoxName) then
     me.YourLabel.visible = true
   else
     me.YourLabel.visible = false
   end if
The label is written as "..."
 

Users who are viewing this thread

Back
Top Bottom