Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query Excel
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01361454
Message ID:
01361455
Views:
18
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform