Query error

ptquan

Registered User.
Local time
Today, 20:41
Joined
May 9, 2013
Messages
12
Hi there,

I have 2 table:
tblJobInfo include: JobNumber, SHPPR, CNEE, AGENT
tblSupplier: SuppCode, SuppName

SHPPR, CNEE, AGENT look-up a SuppName in tblSupplier
In the query the tblJobInfo, I want to exract a value as:
Iif(SHPPER=Null, CNEE, SHPPR), the output is not SuppName as my expect but the ID. How can I extract the SuppName?

Many thanks,
Quan
 
Hi Paul,

Thanks for your advice. I will make a change then.

Thanks again.

Quan
 

Users who are viewing this thread

Back
Top Bottom