Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP60- NOT EMPTY
Message
 
To
13/11/2000 17:12:17
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00441253
Message ID:
00441313
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform