Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Third parameter of LOOKUP(): illegal vfp design?
Message
 
 
À
16/01/2001 16:33:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00464419
Message ID:
00464580
Vues:
13
Hi!

I guess tag name and search field replaces each other. Lookup have ability to search without indexes - that is where SearchField is used. In addition, what about complex search over related tables? We have a main table and related child table. We search record in the main table using field from child table. RetunField in such case will be from main table, SearchField - from child.


>From VFP help:
>
>LOOKUP(ReturnField, eSearchExpression, SearchedField, cTagName)
>
>I cannot understand the meaning of third parameter, if fourth
>parameter is present.
>
>If I specify cTagname, eSearchExpression is searched using tag cTagname
>and there is no any need to use SearchedField.
>
>What in this case I must put to SearchedField ?
>
>If I leave SearchedField empty, error occurs. Is this an illegal
>VFP design ?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform