I am selecting records in an Access 2000 db based on a numeric column called 'id'.
sql = "SELECT * FROM tables WHERE id=1 OR id=2 OR id=3..." etc, etc.
Is there a way of shortening this OR selection? Such as id=1,2,3 (i know this doesn't work)...
Thanks in advance!
sql = "SELECT * FROM tables WHERE id=1 OR id=2 OR id=3..." etc, etc.
Is there a way of shortening this OR selection? Such as id=1,2,3 (i know this doesn't work)...
Thanks in advance!