Sharkman1885
Registered User.
- Local time
- Yesterday, 19:12
- Joined
- Dec 5, 2017
- Messages
- 85
Title should say NON sequential numbers
Hey all,
I am trying to figure out how to get my query to search for numbers that are not in sequential order and are separated by a "/".
A little background: The database I am working with is for searching crocodiles that are marked with an external tag, an internal tag, and a clipping of dorsal scutes (The ridges on the dorsal (top) side of the crocodiles) that give the animal unique, searchable characteristics. It is these characteristics that are giving me issues. To do the search for the pattern I use 3 areas on the animal but for simplicity sake I will just say single (S).
The pattern is S:7/8/10/12 The query is only searching for 7/8/10/12. Unfortunately sometimes the animal doesnt cooperate and in the field you can only see some of the clippings eg S:7/10. This is the root of my issue. Is there a way to run a query for 7/10 that will also return 7/8/10/12? I use a form for the query and my code is in SQL. below is the current code that works perfect as long as only one number is entered or the numbers are sequential
((Crocodile_ID.) Like "*" & Forms![Search Crocodiles]!S & "*" Or Forms![Search Crocodiles]!S Is Null)
any suggestions would be greatly appreciated
NOTE: wasn't sure if this should be posted in Queries or Forms
Hey all,
I am trying to figure out how to get my query to search for numbers that are not in sequential order and are separated by a "/".
A little background: The database I am working with is for searching crocodiles that are marked with an external tag, an internal tag, and a clipping of dorsal scutes (The ridges on the dorsal (top) side of the crocodiles) that give the animal unique, searchable characteristics. It is these characteristics that are giving me issues. To do the search for the pattern I use 3 areas on the animal but for simplicity sake I will just say single (S).
The pattern is S:7/8/10/12 The query is only searching for 7/8/10/12. Unfortunately sometimes the animal doesnt cooperate and in the field you can only see some of the clippings eg S:7/10. This is the root of my issue. Is there a way to run a query for 7/10 that will also return 7/8/10/12? I use a form for the query and my code is in SQL. below is the current code that works perfect as long as only one number is entered or the numbers are sequential
((Crocodile_ID.
any suggestions would be greatly appreciated
NOTE: wasn't sure if this should be posted in Queries or Forms
Last edited: