Hello I have created a database to keep track of chemicals for my company. Each bottle is labeled with a unique barcode that the database uses to search records. Even chemicals that are the same have different barcodes to keep track of quantities and location of each bottle. Also because of the way chemistry is done chemical names may vary from bottle to bottle even if they are essentially the same thing. The only thing that is constant between chemicals that are the same is the “CAS Registry Numbers” (CAS) which is a set of numbers that have no inherent meaning. (I normally have to look these up)
So right now I have two ways to search the database, either using the “find/replace box” on a form to search the barcode number (Name/barcode/CAS) which only brings up one record at a time or I have a query to search by CAS number.
Is there a way to make a query that will search by barcode and display the record with the matching barcode first, then using the Chemical name and CAS number from the first search display any other records that match? I would prefer to do this in a table not a form.
So right now I have two ways to search the database, either using the “find/replace box” on a form to search the barcode number (Name/barcode/CAS) which only brings up one record at a time or I have a query to search by CAS number.
Is there a way to make a query that will search by barcode and display the record with the matching barcode first, then using the Chemical name and CAS number from the first search display any other records that match? I would prefer to do this in a table not a form.