G
Guest
Hey everyone,
I am working on a purchasing database. I have a form that brings up
the order details (Items, quantities, ect) that is based off the below SQL
statement. My problem is that the CompanyID isn't carrying over to the form
when it opens. Any help you can offer would be really appreciated.
SELECT DISTINCTROW tblPurchase.*, tblCompanies.Name
FROM tblCompanies INNER JOIN tblPurchase ON tblCompanies.CompanyID = _
tblPurchase.CompanyID
Where (((tblPurchase.CompanyID)=[forms]![frmPurchasebySupplier]! _
[CompanyID]));
Troy W.
I am working on a purchasing database. I have a form that brings up
the order details (Items, quantities, ect) that is based off the below SQL
statement. My problem is that the CompanyID isn't carrying over to the form
when it opens. Any help you can offer would be really appreciated.
SELECT DISTINCTROW tblPurchase.*, tblCompanies.Name
FROM tblCompanies INNER JOIN tblPurchase ON tblCompanies.CompanyID = _
tblPurchase.CompanyID
Where (((tblPurchase.CompanyID)=[forms]![frmPurchasebySupplier]! _
[CompanyID]));
Troy W.