Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

combo box?

Status
Not open for further replies.

BT24

Programmer
Joined
Aug 19, 2002
Messages
76
Location
CA
Hello

This is the problem that i am having... what i have done is created a field called Operator(s) Responeding and what i want is two or three combo boxes with the same names in and once one is filled out then the next can be added. what happened when i tried to do this it said that the form already had a field with the name and location

thanks for whatever help you can give

BT24
 
Each control on the form has to have a unique name, there's really no way around this.
If all you want to do is make sure the user is entering data in the correct order you can try this...
Disable all the combo boxes except for the first one that needs to be filled. On the AfterUpdate event of that control use something like this;
Code:
If IsNull(Me![StartDate]) = False Then
    Me!EndDate.Enabled = True
End If
You'll then have to take similar steps with all subsequent fields to enable them as the fields before them get filled. I use this in my database to ensure an end date has not been added before a begin date.
hope this helps
 
Thanks for the help! i think that what i am going to do is just give the box a different name and then have the same information

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top