Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLExec and Select...
Message
De
11/03/2004 06:26:24
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
 
À
10/03/2004 22:36:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00885079
Message ID:
00885125
Vues:
18
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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform