Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locate??
Message
 
À
17/03/1998 09:29:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00084986
Message ID:
00085001
Vues:
44
Like I said, I'm not sure...
This means the WHILE clause changes the default scope from ALL to REST..

Take care,
Joe

>Why? WHILE clause will serve this purpose.
>
>>I'm not sure, because I always include the REST clause in this situation, but you may have to include the REST clause in this locate...
>>
>>Joe
>>
>>
>>
>>>>I have a pageframe used for browsing a record that is based on
>>>>a job number and a check digit 8797-01. I need to locate the job number and then continue to locate the appropriate check digit, 01, 02 03 etc.
>>>>
>>>>Locate works well to find job number, but I cannot get it to search
>>>>for the check digit. How can I have it find the job no. and then contine on to find correct ck digit?
>>>>
>>>>Thanks and have a good day.
>>>
>>>
>>>Select table1
>>>set order to tag jobnumber
>>>Seek myjobnumber
>>>If found()
>>> Locate for table1.checkdigit=mycheckdigit while table1.jobnumber=myjobnumber
>>>Endif
>>>
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform