J
Jack Peyton
I use Access 2000 and I am trying to use a delete query to delete records
from Table "TParkLot" based on criteria from form "FParkLot" and Table
"TGrpUser" (I do not want to delete any of the records in Table "TGrpUser").
The SQL view of the query is:
DELETE TParkLot.*, TParkLot.SiteNo, TParkLot.ParkLotSpac,
TGrpUser.ParkLotID
FROM TParkLot LEFT JOIN TGrpUser ON TParkLot.ParkLotID = TGrpUser.ParkLotID
WHERE (((TParkLot.SiteNo)=[Forms]![FParkLot]![SiteNoB]) AND
((TParkLot.ParkLotSpac) Between [Forms]![FParkLot]![FromA] And
[Forms]![FParkLot]![ToA]) AND ((TGrpUser.ParkLotID) Is Null));
Any advise will be appreciated.
Jack Peyton
from Table "TParkLot" based on criteria from form "FParkLot" and Table
"TGrpUser" (I do not want to delete any of the records in Table "TGrpUser").
The SQL view of the query is:
DELETE TParkLot.*, TParkLot.SiteNo, TParkLot.ParkLotSpac,
TGrpUser.ParkLotID
FROM TParkLot LEFT JOIN TGrpUser ON TParkLot.ParkLotID = TGrpUser.ParkLotID
WHERE (((TParkLot.SiteNo)=[Forms]![FParkLot]![SiteNoB]) AND
((TParkLot.ParkLotSpac) Between [Forms]![FParkLot]![FromA] And
[Forms]![FParkLot]![ToA]) AND ((TGrpUser.ParkLotID) Is Null));
Any advise will be appreciated.
Jack Peyton