Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update - Replace
Message
 
À
08/03/2006 12:36:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01102507
Message ID:
01102522
Vues:
15
Hi Fabio

thanks for the reply. I am only interested in the multiple record update situation on large files.

I'm not quite sure what you mean by "because you can use a variable" for ODBC. Could you elaborate?

Thanks in advance
Geoff

>>Hi
>>
>>If I have two fields being changed in an update or replace statement is it valid to rely on a the changed value of the first field in the statement when setting the second or should I always do two passes?
>>
>>eg.
UPDATE mytable SET ;
>>	field1 = CalcForwardTime(), ;
>>	field2 = OtherCalc(field1)
>>
>>Regards
>>Geoff Scott
>
>In VFP yes ( field1 get the new value ), in MSSQL no ( because you can use a variable )
>
>The VFP choice is not good.
May all your weeds be wildflowers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform