Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan
Message
 
 
À
28/03/2010 16:26:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Re: Scan
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01457705
Message ID:
01457721
Vues:
82
This message has been marked as the solution to the initial question of the thread.
>hi all,
>
>i need help to get next value from table1 via this code below
>
>
>USE table1 
>   m.tot=inctax+addtax
>   m.penttot=penttot
>
>USE test
>Select test
>SCAN
>   replace y2010 with m.tot
>   replace column6 with m.penttot 
>   
>**USE table1&&not work
>
>ENDSCAN
>
>thanks

How these two tables (Test and Table1) are related?

May be you can do just one update command, e.g.
UPDATE Test Set y2010 = T.incTax + T.AddTax, ;
                  Column6 = T.PentTot 
                  from Test inner join Table1 T on Test.ID = T.ID
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform