Combo box with 4 columns

spcepickle

Registered User.
Local time
Yesterday, 21:28
Joined
Jan 8, 2008
Messages
30
Hey All - I have a combo box that reads from a table and has 4 columns. The name of the contractor, phone 1, phone 2 and fax. When you select a contractor the phone and fax numbers show up in their own text box. I also have a notinlist command that allows the user to add a new contractor.

The problem how do they add the phone and fax numbers for the new entry?

Thanks!
~Amelia
 
For new contractor, you can trigger off opening of a form based on the table to allow user to enter phone, fax etc.

Mike
 
They dont... or not in the combobox...

The way you should (try to?) make this work is:
The On Not in list event:
Open a popup form in "add" modus. Possibly sending the name to that popup form using the "OpenArgs"
Then have the users enter all the columns on that popup form.
Now requery your combobox, and the new entry should be available for picking :)
 
I used Method 2 as shown here.

Thanks for all the suggestions.

~Amelia
 

Users who are viewing this thread

Back
Top Bottom