I have searched and this doesn't seem to come up anywhere. I want to search for a barcode from two different tables, the field name is only slightly different in both. The tables are related by the Primary key field from the Main table, MediaID. I know I need to create a query that joins the two tables, to include the 2 barcode fields and the MediaID. I am creating a form with an unbound field for the code or whatever that the user can run the barcode in (they can type it in or scan it) that will search the two tables with the barcode fields. What happens when the barcode is located with the search button, the form with the linked MediaID will open and "show" the information that was requested.
Properties:
tblMedia - PK - MediaID; Barcode
tblRelatedMedia - RelMediaBarcode; FK - MediaID
frmMediaInventory (subform has the related media info in it)
qrySearchBarcode - table1: tblMediaInventory - MediaID & Barcode
table2: tblRelatedMedia - RelMediaBarcode
Linked by MediaID(One to Many)
Search form - frmSearchBarcode - 1 label with brief instruction, 1 unbound Barcode Field, 3 commands - Search, Clear & Exit
Thank you in advance!! :~)