>>>>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement