jetspin
Programmer
- Mar 5, 2002
- 76
Hi. I've searched without a definitive answer.
How do I query all recs of a table regardless
of whether a FK is empty,blank,null? I've been
trying 'like "*", "or' Like *".
My main table to query is called 'tblorders' and
it has a foreign key from a 'tblphonenumbers' table.
I want to query all 'tblorders' regardless whether
there is a foreign key ordPnrID.
tblOrders Table Name
ordOrdID PK
ordPnrID FK to tblPhoneNumbers.prnPnrID PK
ordDate Data
tblPhoneNumbers Table Name
pnrPnrID PK
pnrNumber Data
THANKS
How do I query all recs of a table regardless
of whether a FK is empty,blank,null? I've been
trying 'like "*", "or' Like *".
My main table to query is called 'tblorders' and
it has a foreign key from a 'tblphonenumbers' table.
I want to query all 'tblorders' regardless whether
there is a foreign key ordPnrID.
tblOrders Table Name
ordOrdID PK
ordPnrID FK to tblPhoneNumbers.prnPnrID PK
ordDate Data
tblPhoneNumbers Table Name
pnrPnrID PK
pnrNumber Data
THANKS