Try this code: The parameter prompt is quite long but we need the user to understand the format that is necessary when entering the ID's. It should be each ID bracketed by a comma including the first and last ID:
DELETE *
FROM TableA
WHERE Instr(1,[Enter paramIDs Format(,x,xx,xxx,x,x,)],PKEY) > 0;
Post back with any questions or comments.
Bob Scriver
Want the best answers? See FAQ181-2886
Nobody believes the official spokesman... but everybody trusts an unidentified source.
Author, Bagdad Bob???