Hi to all. I hope someone can provide me with a solution to my problem. I have a Inventory master table that is used to produce a report.
Currently a form is used so that either part of the item number or item description is entered and a search button is clicked. VBA checks to make sure that something is in either of these fields and then a query is run that loads a list box on this form.
Clicking on one or more items shown in the list box and followed by clicking on a button "Print Report" causes VBA to build a string and pass it to the report.
What I need to do now is printing the location name and address that is in a table called locations. The inventory master has a loc_id column that matches the loc_id primary key in the location table. Relationship shows the connection of the two tables on this loc_id.
How do I retrieve this information? I need to be able to print something like location.loc_na me, locations.loc_a ddr on this report.
Someone know how to do this. Thanks in advance.
Currently a form is used so that either part of the item number or item description is entered and a search button is clicked. VBA checks to make sure that something is in either of these fields and then a query is run that loads a list box on this form.
Clicking on one or more items shown in the list box and followed by clicking on a button "Print Report" causes VBA to build a string and pass it to the report.
What I need to do now is printing the location name and address that is in a table called locations. The inventory master has a loc_id column that matches the loc_id primary key in the location table. Relationship shows the connection of the two tables on this loc_id.
How do I retrieve this information? I need to be able to print something like location.loc_na me, locations.loc_a ddr on this report.
Someone know how to do this. Thanks in advance.
Comment