D
Dimitris Nikolakakis
I have a form named 'FOrders' and fields ClientID, FactoryID
I have a Combo box named Discount that takes values from table
Clientdiscounts (fields are ClientID, FactoryID, Discount)
The data of ComboBox is
SELECT Discount FROM Clientdiscounts WHERE ClientID = Forms!FOrders.ClientID
AND FactoryID = Forms!FOrders.FactoryID
My problem is that I cannot requery ther data of Discount if I change the
value of ClientID or FactoryID on the form.
I have tried in AfterUpdate of ClientID and FactoryID :
DoCmd.Requery([Combo]) but I get debug error.
thanks in advance
Dimitris
I have a Combo box named Discount that takes values from table
Clientdiscounts (fields are ClientID, FactoryID, Discount)
The data of ComboBox is
SELECT Discount FROM Clientdiscounts WHERE ClientID = Forms!FOrders.ClientID
AND FactoryID = Forms!FOrders.FactoryID
My problem is that I cannot requery ther data of Discount if I change the
value of ClientID or FactoryID on the form.
I have tried in AfterUpdate of ClientID and FactoryID :
DoCmd.Requery([Combo]) but I get debug error.
thanks in advance
Dimitris