G
ghadley_00
Hi,
I have a database with a main table and a lookup table of customers,
and reports for each of the customers listing each transaction they
have listed.
I have a form that has buttons for each of the reports that is written
by hand.
At present the number of customers can be altered manually, but that
requires a button to be added or removed from the form.
Can anyone recommend a way to make a form that will dynamically add or
remove buttons (or make a drop down list) based on the entries
currently in my table of customers such that the appropriate report
gets accessed?
In other words, if there are 3 customers in the lookup table, the form
should have only 3 buttons, each of which is labeled using a Dlookup
command for the proper text label (I already have this working
statically), and pressing on each of these buttons will open a report
with the appropriate parameter passed to it. And if the number of
customers increases, then additional buttons appear on their own.
Best wishes,
George Hadley
(e-mail address removed)
I have a database with a main table and a lookup table of customers,
and reports for each of the customers listing each transaction they
have listed.
I have a form that has buttons for each of the reports that is written
by hand.
At present the number of customers can be altered manually, but that
requires a button to be added or removed from the form.
Can anyone recommend a way to make a form that will dynamically add or
remove buttons (or make a drop down list) based on the entries
currently in my table of customers such that the appropriate report
gets accessed?
In other words, if there are 3 customers in the lookup table, the form
should have only 3 buttons, each of which is labeled using a Dlookup
command for the proper text label (I already have this working
statically), and pressing on each of these buttons will open a report
with the appropriate parameter passed to it. And if the number of
customers increases, then additional buttons appear on their own.
Best wishes,
George Hadley
(e-mail address removed)