Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Searching a view
Message
De
04/08/1998 15:18:51
 
 
À
04/08/1998 15:05:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00123887
Message ID:
00123896
Vues:
23
>I was trying to search a view and got an error because the search class I was using couldn't find an 'order'. It was assuming that I had done a SET ORDER TO on a table. That made me realize the view itself didn't have an order, just the underlying tables. I was sort of assuming I could search the view based on the TAGS of those table(s), but since the tables are in different work areas that doesn't seem likely. Is that correct, and do I actually have to create a temporary INDEX ON 'blah' so I can do a search in the view.
>
>Or am I overlooking an easier way to accomplish the same thing?
>
>Thanks in advance for the help.
>
>Sylvia

Hi Sylvia,

If you want to do a SEEK(), you'll have to create a temporary Index on the view. Or, if there aren't too many records, you could do a LOCATE FOR ... to keep it simple.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform