Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro help
Message
 
To
11/09/2006 13:27:07
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01152804
Message ID:
01152851
Views:
13
macro expansion works on character vars only. your var is numeric, try this instead ...
FOR lnCnt = 1 TO 10
   lcCnt = TRANSFORM(lnCnt)

   SQL_Text = "INSERT INTO testtable( empno,Solde ) SELECT empno,solde&lcCnt from mytable"

ENDFOR
Previous
Reply
Map
View

Click here to load this message in the networking platform