CaiSupport
Technical User
I am looking for a price, but the Price file could match on Item Number and Price Level or on Item Number and Customer Number. I can get each one to work, but I do not know how to combine them.
Works for Price Level Lookup
=DLookUp("[DiscountMarkupPriceRate1]","All Prices Query","[ItemNumber] = """ & [Forms]![Customers for Service]![CustomerService Subform]!Combo30 & """ AND [ItemCustomerPriceLevel] = """ & [Forms]![Customers for Service]![CustomerService Subform]!Combo42 & """")
Works for Customer Number Lookup
=DLookUp("[DiscountMarkupPriceRate1]","All Prices Query","[ItemNumber] = """ & [Forms]![Customers for Service]![CustomerService Subform]![Combo30] & """ AND [IMB_PriceCode]![CustomerNumber] = """ & [Forms]![Customers for Service]![CustomerNumber] & """")
Thank you
Works for Price Level Lookup
=DLookUp("[DiscountMarkupPriceRate1]","All Prices Query","[ItemNumber] = """ & [Forms]![Customers for Service]![CustomerService Subform]!Combo30 & """ AND [ItemCustomerPriceLevel] = """ & [Forms]![Customers for Service]![CustomerService Subform]!Combo42 & """")
Works for Customer Number Lookup
=DLookUp("[DiscountMarkupPriceRate1]","All Prices Query","[ItemNumber] = """ & [Forms]![Customers for Service]![CustomerService Subform]![Combo30] & """ AND [IMB_PriceCode]![CustomerNumber] = """ & [Forms]![Customers for Service]![CustomerNumber] & """")
Thank you