Name

Rashid

Member
Local time
Today, 15:01
Joined
Sep 6, 2019
Messages
36
I have a database. In a Table "Orders" i have create two fields general customer & Regular customer. If a new customer comes i enter name manually in general customer field .when a registered regular customer comes i select from regular customer field which is a combo box whose rowsource is "customers"
In a query i create a field Dcustomer where i want if general customer enterd dcustomer name is of general customer else if i select regular customer then Dcustomer must be of Regular customer .
I use iif([general customer ]="",[Regular customer ],[general customer ])
But it is not working Please help .
 
use:

Customer: Iif(IsNull([general customer ]),[Regular customer ],[general customer ])

or

Customer: [regular customer] & [general customer]
 
I concur with theDBguy--What tables and relationships do you have?
 

Users who are viewing this thread

Back
Top Bottom