Access Queries across linked tables
February 6, 2008 8:53 AM
Subscribe
I need to query data from another table that I'm already writing to.
I've got two tables (tracking and SO_InvoiceHeader). Tracking holds six fields (id, trackingno, salesorder, cost, packageno, and invoiceno). SO_InvoiceHeader hold a ton of fields, bu I'm only interested in two for this case (Invoice_No, and SalesOrderNo).
SO_InvoiceHeader.InvoiceNo is the primary key. I want to fill Tracking.InvoiceNo with that data, by looking it up with whatever data is entered in Tracking.salesorder.
I'm on Access 2003, and the SO_InvoiceHeader is a linked table. I'm not that familar with writing queries, so +1000 internets to the person who can help me out with this.
posted by chrisfromthelc to computers & internet (6 comments total)
1 user marked this as a favorite
Make sure t.salesorder is indexed, or you'll slow your query down.
posted by mkb at 8:57 AM on February 6, 2008