ibiubu Posted October 9, 2002 Posted October 9, 2002 When in find mode, can a search be perfomed that is based on alphabet? For example, find all records where the first word in a field begins with "A" LR
CobaltSky Posted October 9, 2002 Posted October 9, 2002 Yes, it can! However typically, a search by a single letter returns records for which any word in the field (not just the first) begin with the supplied letter. One of the most common ways I've seen to search for records where only the first word in a field starts with the character in question is to create a stored calc field with the formula LeftWords(yourField, 1) and search on that. Generally this process is scripted, so the user enters find criteria in the normal way, and clicks on a button for "Find by first word only" and the rest is handled by a script which transfers the criterion to the (hidden) calc field and performs the find.
danjacoby Posted October 9, 2002 Posted October 9, 2002 Even simpler: have the calc field be "Left(yourField, 1)". That way, it only returns the first letter of the first word. "Once you're idiot-proofed something, someone invents a better idiot."
Recommended Posts
This topic is 8459 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now