I've searched the forum and this must be so easy that no one has ever had to ask ....
I'm importing a text file as part of a macro and want to delete the first two rows (records) in the new table. The first row contains text and the second row is all blank. My "cleanup" query has no problem deleting the text record, but I can't seem to delete the blank rows. Any ideas ?
Here's the SQL for the cleanup query...
DELETE APWorklistTable.*, APWorklistTable.CASE, APWorklistTable.PATIENT, *
FROM APWorklistTable
WHERE (((APWorklistTable.CASE)="ACCESSION")) OR (((APWorklistTable.PATIENT)=IsNull([PATIENT])));
I'm importing a text file as part of a macro and want to delete the first two rows (records) in the new table. The first row contains text and the second row is all blank. My "cleanup" query has no problem deleting the text record, but I can't seem to delete the blank rows. Any ideas ?
Here's the SQL for the cleanup query...
DELETE APWorklistTable.*, APWorklistTable.CASE, APWorklistTable.PATIENT, *
FROM APWorklistTable
WHERE (((APWorklistTable.CASE)="ACCESSION")) OR (((APWorklistTable.PATIENT)=IsNull([PATIENT])));