T TNtangler New member Local time Today, 07:17 Joined Nov 18, 2008 Messages 2 Dec 10, 2008 #1 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?
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?
pbaldy Wino Moderator Staff member Local time Today, 05:17 Joined Aug 30, 2003 Messages 36,272 Dec 10, 2008 #2 If the listbox is single select and contains the actual names of the reports: DoCmd.OpenReport Me.ListBoxName
If the listbox is single select and contains the actual names of the reports: DoCmd.OpenReport Me.ListBoxName