hardhitter06
Registered User.
- Local time
- Today, 09:10
- Joined
- Dec 21, 2006
- Messages
- 600
Hi,
I have a field in every record called UNSPSC which is a 10 digit code.
I want to be able to search by UNSPSC with only the first two digits of my searched number to retreive matching UNSPSCs.
(I have a method to my madness for doing it this way)
I.E. I search the UNSPSC 0123456789...I want to return all records with the UNSPSC of "01" [first two digits].
I know within my UNSPSC field criteria in my query...I need something along the lines of a Like "*" This returns all fields but i can't find anything online that shows me how to limit that to the first two digits.
Also I will be using a form text field to enter the number i want to search by which will be within the criteria as well:
[forms].[frmSplitOrderingSearch].[text4] I need to beef this up to only take the first two digits of the 10 digit number i searched by to return all matching records.
I know this is a mess but thanks
I have a field in every record called UNSPSC which is a 10 digit code.
I want to be able to search by UNSPSC with only the first two digits of my searched number to retreive matching UNSPSCs.
(I have a method to my madness for doing it this way)
I.E. I search the UNSPSC 0123456789...I want to return all records with the UNSPSC of "01" [first two digits].
I know within my UNSPSC field criteria in my query...I need something along the lines of a Like "*" This returns all fields but i can't find anything online that shows me how to limit that to the first two digits.
Also I will be using a form text field to enter the number i want to search by which will be within the criteria as well:
[forms].[frmSplitOrderingSearch].[text4] I need to beef this up to only take the first two digits of the 10 digit number i searched by to return all matching records.
I know this is a mess but thanks