cmd button to open item in list box

TNtangler

New member
Local time
Today, 07:17
Joined
Nov 18, 2008
Messages
2
I have a list box with my reports. I want to put a command button next to this list box to open that report that is selected. What is the code to use?
 
If the listbox is single select and contains the actual names of the reports:

DoCmd.OpenReport Me.ListBoxName
 

Users who are viewing this thread

Back
Top Bottom