Hi All.....
I have a small problem with a dependednt cbo box [ProductID] asking for parameter value, where the value SHOULD have been set in the [CustomerQuoteID] field.
PROBLEM is that after I enter the value in [CustomerQuoteID] it asks to Enter Parameter Value "Forms.Order_Details_Subform.CustomerQuoteID".
If I enter the Value the dependent Combo works fine. What have I missed, so that I do not need to enter the parameter value?
Here is whwt I have:
Subform's name is "Order_Details_Subform" and has an UNBOUND Field [CustomerQuoteID]
with the following Row Source:
SELECT tblCustomer_Quotes.CustomerQuoteID FROM tblCustomer_Quotes ORDER BY tblCustomer_Quotes.CustomerQuoteID;
After Update =
Private Sub CustomerQuoteID_AfterUpdate()
Me![ProductID].Requery
Me![ProductID].SetFocus
Me![ProductID].Dropdown
End Sub
Combo [ProductID]
Row Source=
SELECT A.ProductID, A.Manufacturer, A.CustomerPartNumber, A.Qty, A.UnitPrice, B.QuoteDate FROM tblCustomer_Quotes AS B INNER JOIN tblCustomer_Quote_Details AS A ON B.CustomerQuoteID = A.CustomerQuoteID WHERE (((B.CustomerQuoteID)=[Forms].[Order_Details_Subform].[CustomerQuoteID])) ORDER BY A.ProductID, A.Manufacturer, A.CustomerPartNumber, A.Qty, A.UnitPrice, B.QuoteDate;
PROBLEM is that after I enter the value in [CustomerQuoteID] it asks to Enter Parameter Value "Forms.Order_Details_Subform.CustomerQuoteID".
If I enter the Value the dependent Combo works fine. What have I missed, so that I do not need to enter the parameter value?
THANKS!!!!!!!
I have a small problem with a dependednt cbo box [ProductID] asking for parameter value, where the value SHOULD have been set in the [CustomerQuoteID] field.
PROBLEM is that after I enter the value in [CustomerQuoteID] it asks to Enter Parameter Value "Forms.Order_Details_Subform.CustomerQuoteID".
If I enter the Value the dependent Combo works fine. What have I missed, so that I do not need to enter the parameter value?
Here is whwt I have:
Subform's name is "Order_Details_Subform" and has an UNBOUND Field [CustomerQuoteID]
with the following Row Source:
SELECT tblCustomer_Quotes.CustomerQuoteID FROM tblCustomer_Quotes ORDER BY tblCustomer_Quotes.CustomerQuoteID;
After Update =
Private Sub CustomerQuoteID_AfterUpdate()
Me![ProductID].Requery
Me![ProductID].SetFocus
Me![ProductID].Dropdown
End Sub
Combo [ProductID]
Row Source=
SELECT A.ProductID, A.Manufacturer, A.CustomerPartNumber, A.Qty, A.UnitPrice, B.QuoteDate FROM tblCustomer_Quotes AS B INNER JOIN tblCustomer_Quote_Details AS A ON B.CustomerQuoteID = A.CustomerQuoteID WHERE (((B.CustomerQuoteID)=[Forms].[Order_Details_Subform].[CustomerQuoteID])) ORDER BY A.ProductID, A.Manufacturer, A.CustomerPartNumber, A.Qty, A.UnitPrice, B.QuoteDate;
PROBLEM is that after I enter the value in [CustomerQuoteID] it asks to Enter Parameter Value "Forms.Order_Details_Subform.CustomerQuoteID".
If I enter the Value the dependent Combo works fine. What have I missed, so that I do not need to enter the parameter value?
THANKS!!!!!!!