Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Query Excel
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01361454
Message ID:
01361455
Vues:
17
>I have a valid connection handle to a Excel 2007 file. I execute the following: SQLEXEC( lnHandle, "SELECT * FROM [Sheet1$]", "myCursor" ) and get no return. I run AERROR() and it tells me that, " "Sheet1$" is not a valid name. Make sure it does not contain invalid characters or punctuations and that it it is not too long".
>
>
>Is my string wrong? I had this working at one time.

See message #1354708
lnResult = SQLEXEC( lnHandle, [SELECT * FROM "Sheet1$"], "myCursor" )
IF lnResult < 0
  * Error
ENDIF
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform