Link to home
Start Free TrialLog in
Avatar of khaled salem
khaled salemFlag for United States of America

asked on

query Syntax

Hi all:
I've one table consists of 6 column (xdate, trno, servtype, vendor, customer, usersign).

User generated image
and 3 vendors table (tktvendor, bookingvendor, insuranceVendor).

i would like to join between the first table and the three vendors table according to field "servtype" value
if  servtype=1 i would like to join tktvendor
if  servtype=2 i would like to join bookingvendor
if  servtype=3 i would like to join insuranceVendor
Avatar of Ashok
Ashok
Flag of United States of America image

It looks like all fields in the Grid come from the first table.

Is that correct?
Avatar of khaled salem

ASKER

No. I would like to join with vendorName in each table .
VendorName is not in the Grid, but you would like to include it, right?

and

Is join field vendor (Vendor #)?
ASKER CERTIFIED SOLUTION
Avatar of PortletPaul
PortletPaul
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial