Hi,
is it possible to open FORMS AND REPORTS from the same list box?
i know I can open forms by bounding the column, but can I open both forms and reports?
thanks!
Hi,
is it possible to open FORMS AND REPORTS from the same list box?
i know I can open forms by bounding the column, but can I open both forms and reports?
thanks!
Why do you need to open form and report? What do you mean by 'open forms by bounding the column'?
Certainly doable. How are you populating the listbox RowSource? Use VBA code to open whatever you want based on listbox selection.
Select Case Me.listbox
Case "this value1"
DoCmd.OpenForm "form name"
DoCmd.OpenReport "report name"
Case "this value2"
...
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
My Weekly reports are infact Pivot charts made on a form! and my quarterly reports are normal reports that is why!!
"this value 1" - would this be the actual report/form name?
Why do you need to open form and report? What do you mean by 'open forms by bounding the column'?
Certainly doable. How are you populating the listbox RowSource? Use VBA code to open whatever you want based on listbox selection.
Select Case Me.listbox
Case "this value1"
DoCmd.OpenForm "form name"
DoCmd.OpenReport "report name"
Case "this value2"
...
GENIUSit works!! thanks for helping out again June 7.