Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INDEXSEEK()
Message
 
To
04/06/2001 12:52:54
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00514675
Message ID:
00514680
Views:
12
This message has been marked as the solution to the initial question of the thread.
The syntax for indexseek() is:
INDEXSEEK(eExpression [, lMovePointer [, nWorkArea | cTableAlias
[, nIndexNumber | cIDXIndexFileName | cTagName]]])

So, in case you have a valid tag name "authtype" it should be:
IF NOT INDEXSEEK(This.Value,.f.,"authtype", "authtype")...

Yuri


>>>>>>>>>>>>>>>>>> your message bnelow>>>>>>>>>>>>>>>>>

I get error message of "Function argument value, type, or count is invalid"

I have a Combobox (This.Value) with the following:
ContorlSource: auth.authtype
RowSource: authtype.authtype
RowSourceType: 6 - Fields

and I want to check to see if the data (This.Value) matches the table (authtype.authtype) because the other person could do something that I have no idea how he did it (spaces or leaving the field and then come back and do something), so I want to do something like the following:

IF NOT INDEXSEEK(This.Value,authtype.authtype)
RETURN .F.
ENDIF
Yet, does not work (checked the debug and both are the same field type as well), any advices?

Chuck
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform