>>>>use the seek() function. it does what you are looking for.
>>>
>>>
>>>Mark,
>>>
>>>I tried! It uses 3 parms, right? No matter what I tried, VFP gave me an error stating I was missing a ")". I was not to my knowledge. It's only:
>>>
>>>SEEK(eExpression [, nWorkArea | cTableAlias
>>> [, nIndexNumber | cIDXIndexFileName | cTagName]])
>>>
>>>So I used:
>>>
>>>SEEK(myvalue, mytable, mytable)
>>>
>>>My table in this situation, mytable, has the same name for both the DBF and CDX file.
>>>
>>>Any ideas?
>>>
>>>Mark
>>
>>Mark,
>>
>>SEEK (myvaue, "mytable", mytable) should work. Try the quotes around the alias and/or the index key.
>>
>>BW
>
>
>Binoy,
>
>I tried the quotes. Mark McCasland said the parameters for the SEEK() function are (myvalue, mytable, tagname). Where his tagname is, I used to have mytable again.
>
>Thanks,
>
>Mark
Mark,
I am sorry. I intended to say mytag instead of mytable as the third parameter.
Regards,
BW
Previous
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