J
Jasper Recto
Ok,
New List box question. I have a form that has one list box that is linked
to a table. The items on the table are Report Description
Report Name
Report Path
I have a button that has an event that executes the program to run the
reports:
Private Sub Command2_Click()
ReportPath = Me.List0.Column(3)
ReportName = Me.List0.Column(2)
"shell command for the report"
End Sub
The shell command uses for the 'reportpath' and 'reportname' from the list
box that the user selects.
My question is, how would I go about adding multiply list boxes and have the
same functionality from one button?
First, if I have multiply list boxes, how can I make it so only one item
from any of the list boxes can be select. As of right now, I can select one
from each box. The use should only be able to select on from all the boxes.
Second, how can I pass the information over to the button so it knows with
item was selected.
Thanks,
Jasper
New List box question. I have a form that has one list box that is linked
to a table. The items on the table are Report Description
Report Name
Report Path
I have a button that has an event that executes the program to run the
reports:
Private Sub Command2_Click()
ReportPath = Me.List0.Column(3)
ReportName = Me.List0.Column(2)
"shell command for the report"
End Sub
The shell command uses for the 'reportpath' and 'reportname' from the list
box that the user selects.
My question is, how would I go about adding multiply list boxes and have the
same functionality from one button?
First, if I have multiply list boxes, how can I make it so only one item
from any of the list boxes can be select. As of right now, I can select one
from each box. The use should only be able to select on from all the boxes.
Second, how can I pass the information over to the button so it knows with
item was selected.
Thanks,
Jasper