Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP60- NOT EMPTY
Message
 
À
13/11/2000 17:12:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00441253
Message ID:
00441313
Vues:
13
>I just tried that and it doesn't work, any other suggestions?
>
>>>I have a table.
>>>I have a character field.
>>>I want to SEEK for the first NOT EMPTY record.
>>>Any suggestions?
>>>
>>>Thank you in advance.
>>
>>To use seek you need to index the table on the field in question. Then I believe you can do:
>>
>>seek !empty(myfield)
>>
>>you can also use locate in which case you don't need an index:
>>
>>locate for !empty(myfield)


Apparently the seek !empty(myfield) won't work. Seek is a tricky command because the expression your seeking for needs to match your index expression exactly.

Instead of seek I would use locate.

Locate for !emtpy(myfield)
Rip Ryness
International Falls, MN
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform