Hi there!
I hope someone can help. I am using Access 2000
I have a main form called "frmPurchaseOrder" the source of this form is "tblMachine" it has a field called "Model" and a subform which has a combobox call "Pricingcategories"
The form is opened from a previous form and the value of "Model" is automatically diplayed based on the previous forms record.
I would like "PricingCategories" to be show only those records for the value of "Model" in the parent form.
I am using the following code but getting a syntax error that says "Syntax Error - at or near ".""
Here is the code I am using
SELECT DISTINCTROW tblPricing.ID,tblPricing.Model, tblPricing.Pricingcategories FROM tblPricing WHERE (((tblPricing.Model)=[Forms]![frmPurchaseOrder].[text10].[Model])) ORDER BY tblPricing.Pricingcategories
Please Help - Thanks
Sarah
[sig][/sig]
I hope someone can help. I am using Access 2000
I have a main form called "frmPurchaseOrder" the source of this form is "tblMachine" it has a field called "Model" and a subform which has a combobox call "Pricingcategories"
The form is opened from a previous form and the value of "Model" is automatically diplayed based on the previous forms record.
I would like "PricingCategories" to be show only those records for the value of "Model" in the parent form.
I am using the following code but getting a syntax error that says "Syntax Error - at or near ".""
Here is the code I am using
SELECT DISTINCTROW tblPricing.ID,tblPricing.Model, tblPricing.Pricingcategories FROM tblPricing WHERE (((tblPricing.Model)=[Forms]![frmPurchaseOrder].[text10].[Model])) ORDER BY tblPricing.Pricingcategories
Please Help - Thanks
Sarah
[sig][/sig]