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.comICQ #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.