General discussion
-
Topic
-
Access 97/VB Interface/SQL query using S
LockedI have a Access 97 database for Customer Information, Orders, and Item Inventory. This database is connected to a VB interface using ADO. Using the SQL builder in VB’s Data Report, I’m trying to generate a receipt for each order using that specific order number.
The tables that have been set up are Customer (personal info), Orders (Cust. No., Order No., Subtotal, Tax, Shipping, Total), Items (Item info – size, price, etc.), and OrderList (the line items of each order).
I can get the Report to list the line items for ALL of the orders, but not a particular order. I have tried setting the criteria, but I need it to use either a variable or something like txtOrderNumber.Text, since the Order Number is not known until runtime.
Thisinfo is urgently needed and SOON! 400 pts. to the first person with the magic answer by Dec. 9!!!