Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASCAN to be precise
Message
From
30/07/2001 07:26:20
 
 
To
29/07/2001 12:50:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00536993
Message ID:
00537112
Views:
13
Hi Michel.

>> In an array, I have a definition of the fields of my table. So, the first row contains all the field names. When I use ASCAN to find a specific field name, it will locate the proper row. However, assuming I want to search for field name NOM and that I have another field NOMEMBER which is placed before NOM in the array, NOMEMBER will be found before NOM. How can I force ASCAN to be precise? <<

ASCAN has been enhanced in VFP 7 to allow you to do this:
*** case insensitive search searching on column 1 with EXACT set on and return the row number
lnAtPos = ASCAN( laMyArray, lcMyValue, 1, ALEN( laMyArray, 1 ), 1, 15 )
Marcia
Previous
Reply
Map
View

Click here to load this message in the networking platform