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!

Command Buttons

Status
Not open for further replies.

shelby55

Technical User
Joined
Jun 27, 2003
Messages
1,229
Location
CA
HI

I would like to create a command button for adding a new record. However, I want the user to be prompted to choose which record they wish to add, how do I do that?

For instance, the user can update their membership or attend 1 of 3 education days. So, when the user selects Add Record command button, I want a message box to show up with the selections of membership, education day or cancel. Is this possible - thanks for all help.

Shelby
 
You could place an option group on the form with the three choices. The user chooses one and clicks your command button.

In the command button's click event, check the option group with a case argument to make sure they made a choice, and if so, which choice they made.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top