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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dialog Boxes and List Boxes

Status
Not open for further replies.

Doughboy777

Programmer
Dec 16, 1999
1
US
I know that I have done this before but I cannot remember how, anywho I am creating a form to link off of my swithcboard that contains a list box that I am making a fake dialog box. I want to link the containts of the list box to open other forms where do I go from here?
 
Not sure what u realy mean but here goes.<br>
<br>
If you are trying to open forms from a list box then you should put the code in the click event of said list box.<br>
<br>
So,<br>
<br>
Sub lstForms_Click()<br>
<br>
Docmd.Openform lstForm.column(1)<br>
<br>
End Sub<br>
<br>
I am assuming you want to list you have two columns - the for description and its name ( bound but hidden ).<br>
<br>
WP <p>Bill Paton<br><a href=mailto:wpaton@neptune400.co.uk>wpaton@neptune400.co.uk</a><br><a href=
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top