Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLExec and Select...
Message
From
11/03/2004 06:26:24
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
 
To
10/03/2004 22:36:59
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00885079
Message ID:
00885125
Views:
17
Hi João!

>Hi all,
>After i retrieve a cursor with SQLEXEC from SQL Server, with
>lcAliasTmp=LOWER(SYS(2015))
>=SQLEXEC(.cSQLEXECCon,.oDocFac.cSQLQuery,lcAliasTmp)
>and then try to do that,
>lcAliasMapa=LOWER(SYS(2015))			
>SELECT * FROM &lcAliasTmp INTO TABLE '.\tmp\'+lcAliasMapa
>ALTER TABLE &lcAliasMapa ADD COLUMN DataI d(8)
>VFP gives the error 1491-No update tables are specified. Use the tables property of the cursor.
>Any help here...
>João Batista

I don't know what is the problem, but you can to try this. When you to create the table create also the new field, thus:
lcAliasMapa=LOWER(SYS(2015))			
SELECT *, {} DataI FROM &lcAliasTmp INTO TABLE '.\tmp\'+lcAliasMapa
I hope this help you.
Bye!
Erick
Força Sempre!
Strength Always!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform