M
Michelle
I have the following code....
DELETE inmtinfo.IN_INMNUM, inmtinfo.IN_NAME, inmtinfo.IN_RACE,
inmtinfo.IN_BLDING, inmtinfo.IN_SECTION, inmtinfo.IN_CELLDRM,
inmtinfo.IN_BEDNUM, inmtinfo1.IN_INMNUM
FROM inmtinfo LEFT JOIN inmtinfo1 ON inmtinfo.IN_INMNUM = inmtinfo1.IN_INMNUM
WHERE (((inmtinfo1.IN_INMNUM) Is Null));
What i want is to delete the datat in the inmtinfo table if the IN_INMNUM
field is null in the inmtinfo1 table.
DELETE inmtinfo.IN_INMNUM, inmtinfo.IN_NAME, inmtinfo.IN_RACE,
inmtinfo.IN_BLDING, inmtinfo.IN_SECTION, inmtinfo.IN_CELLDRM,
inmtinfo.IN_BEDNUM, inmtinfo1.IN_INMNUM
FROM inmtinfo LEFT JOIN inmtinfo1 ON inmtinfo.IN_INMNUM = inmtinfo1.IN_INMNUM
WHERE (((inmtinfo1.IN_INMNUM) Is Null));
What i want is to delete the datat in the inmtinfo table if the IN_INMNUM
field is null in the inmtinfo1 table.