edd Posted June 25, 2009 Posted June 25, 2009 I creating a Consumables Database for Printer Toners to book in and out and amend stock. The tables I have are: Consumables Printers Location Orders Compatibility Purchased Consumables I am trying to create a query where the Purchased Consumables form is taking the stock number from the Consumables table and places this into the field "lblCurrentStock". I have written this in SQL: SELECT tblConsumables.QuantityStock FROM tblPurchasedConsumables INNER JOIN tblConsumables ON tblPurchasedConsumables.luCurrentStock=tblConsumables.QuantityStock WHERE ((([Forms].[frmPurchasedConsumables].[cmbConsumableName].[Value])=[tblConsumables].[ConsumableName])); But it does not return anything. Thanks Edd
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now