Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL challenge
Message
From
09/03/1998 17:07:36
 
 
To
09/03/1998 12:58:36
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00083158
Message ID:
00083500
Views:
20
You get the dummy entry because SELECT SQL evaluates once all field expressions before any record selection only to establish the output structure. So, if you use a UDF function in the SELECT SQL, the UDF will be evaluated once at the beginning to get the structure. You can deal with this case inside the function.

Vlad

>This is close to what you want. If you include record 1 and record 2 has the same staffid, you will get a double entry. So I put a dummy record for record 1. I didn't have time to figure a better sloution.
>
>Hope this helps
Previous
Reply
Map
View

Click here to load this message in the networking platform