Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL challenge
Message
De
09/03/1998 17:07:36
 
 
À
09/03/1998 12:58:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00083158
Message ID:
00083500
Vues:
19
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform