Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Commonly misused and abused VFP features
Message
De
01/01/2000 13:00:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00310951
Message ID:
00311182
Vues:
159
Now I'm confused. What is the link between EVAL(), CURVAL(), and OLDVAL()

On a totally unrelated topic, I had to write goofy SQL code for a view with a concatanated foreign key that I couldn't believe worked. The WHERE clause was like:

WHERE x = LEFT(?table.field,5) AND y = RIGHT(?table.field,4)

Strange, huh? In the past, I've seen problems with WHERE clauses using two parameterized statements in the same query.

>>There is great confusion in the land between the uses of (), &, and EVAL().
>
>The only time I routinely use EVAL(), for what it's worth, is as a partner to CURVAL() and OLDVAL(). Makes a handy mnemonic device...
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform