Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with spaces in tables names in Access
Message
From
07/12/2005 14:46:10
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01075836
Message ID:
01075843
Views:
12
Thanks, that's it.

P.S. I tried a number of different possibilities, but not that one. sigh

>Try
SQLEXEC(lnHandle, "Select * from [QTYONHAND - Golden]")
>
>>I'm trying to read some tables stored in an Access database.
>>
>>I can connect OK to the database using SQLConnect.
>>
>>However, the names of the tables I need to access contain spaces ... "QTYONHAND - Golden", for example.
>>
>>What does my SQL statement look like to read this table??
>>
SQLEXEC(lnHandle, "Select * from ???")
>>
>>,
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform