Gasman
Enthusiastic Amateur
- Local time
- Today, 14:43
- Joined
- Sep 21, 2011
- Messages
- 14,288
Hi everyone,
I have a simple form that supplies an ID value to a query.
How would I go about allowing it to look for one or two addtional ID values at the same time please?
I have a simple form that supplies an ID value to a query.
Code:
SELECT Links.CrewID, Links.RankID, Links.ShipID, Links.DatesID, Crew.Surname, Crew.Initials
FROM Crew INNER JOIN Links ON Crew.CrewID = Links.CrewID
WHERE (((Links.CrewID)=[Forms]![frmServedWith]![txtCrewID]) AND ((Links.ShipID)<>26 And (Links.ShipID)<>27));
How would I go about allowing it to look for one or two addtional ID values at the same time please?