Hi guys,
I have a form that displays information in a subform (manufacturer, serial number and inventory number) about slot machines that I need to repair. When I double-click on a machine, another form comes up, based on the manufacturer. I use those forms to input the counters for that slot. That means I can have six different forms (but only one at the time). They are identical, only labels are different, because each manufacturer has their own names for them. After I save those counters to a table, I'd like to print out a report with those counters on it. I know I could create six queries, but is there a way to use just one query and pass the textbox name from active form as a criteria for the query?
Regards, Samo
I have a form that displays information in a subform (manufacturer, serial number and inventory number) about slot machines that I need to repair. When I double-click on a machine, another form comes up, based on the manufacturer. I use those forms to input the counters for that slot. That means I can have six different forms (but only one at the time). They are identical, only labels are different, because each manufacturer has their own names for them. After I save those counters to a table, I'd like to print out a report with those counters on it. I know I could create six queries, but is there a way to use just one query and pass the textbox name from active form as a criteria for the query?
Regards, Samo