W
wftech
I want to query 2 tables from 1 form.
the query
SELECT [SignedOutEquipment].[IDNUM], [STUDLIST].[LNAME], [STUDLIST].[FNAME],
[STUDLIST].[PHONE], [STUDLIST].[E-Mail]
FROM STUDLIST INNER JOIN SignedOutEquipment ON
[STUDLIST].[IDNUM]=[SignedOutEquipment].[IDNUM];
Works fine and the query
SELECT [SignedOutEquipment].[BARCODE], [EQUIPINV].[TYPE], [EQUIPINV].[DESCR]
FROM EQUIPINV INNER JOIN SignedOutEquipment ON
[EQUIPINV].[BARCODE]=[SignedOutEquipment].[BARCODE];
Works fine but I cant get the combo
SELECT [SignedOutEquipment].[IDNUM], [SignedOutEquipment].[LNAME],
[SignedOutEquipment].[FNAME],
[SignedOutEquipment].[PHONE], [SignedOutEquipment].[E-MAIL],
[SignedOutEquipment].[BARCODE],
[SignedOutEquipment].[TYPE], [SignedOutEquipment].[DESCR]
FROM STUDLIST INNER JOIN SignedOutEquipment ON
STUDLIST.IDNUM=SignedOutEquipment.IDNUM
AND FROM EQUIPINV INNER JOIN SignedOutEquipment ON
EQUIPINV.BARCODE=SignedOutEquipment.BARCODE;
to work
Help.
the query
SELECT [SignedOutEquipment].[IDNUM], [STUDLIST].[LNAME], [STUDLIST].[FNAME],
[STUDLIST].[PHONE], [STUDLIST].[E-Mail]
FROM STUDLIST INNER JOIN SignedOutEquipment ON
[STUDLIST].[IDNUM]=[SignedOutEquipment].[IDNUM];
Works fine and the query
SELECT [SignedOutEquipment].[BARCODE], [EQUIPINV].[TYPE], [EQUIPINV].[DESCR]
FROM EQUIPINV INNER JOIN SignedOutEquipment ON
[EQUIPINV].[BARCODE]=[SignedOutEquipment].[BARCODE];
Works fine but I cant get the combo
SELECT [SignedOutEquipment].[IDNUM], [SignedOutEquipment].[LNAME],
[SignedOutEquipment].[FNAME],
[SignedOutEquipment].[PHONE], [SignedOutEquipment].[E-MAIL],
[SignedOutEquipment].[BARCODE],
[SignedOutEquipment].[TYPE], [SignedOutEquipment].[DESCR]
FROM STUDLIST INNER JOIN SignedOutEquipment ON
STUDLIST.IDNUM=SignedOutEquipment.IDNUM
AND FROM EQUIPINV INNER JOIN SignedOutEquipment ON
EQUIPINV.BARCODE=SignedOutEquipment.BARCODE;
to work
Help.