General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only