Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange char in column name
Message
From
14/09/2014 10:06:56
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
14/09/2014 05:49:04
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01607500
Message ID:
01607504
Views:
66
>Hi ALL,
>
>I need to read / write to an ACCESS database.
>
>I run into follwing:
>
>A column is named, as reported by SQLCOLUMNS(...,'Native'), Field "C".
>
>How do I adress this in a CA?
>SELCTCMD is like 'SELECT Table.[Field "C"] FROM Table'
>I get SQL error 1526
>Error in expression Table.[Field [C]]
>
>
>So something maps "" to [] but obviously it's not in the acces table.

Catch the select statement and set it manually in the CA object, with quotation marks. That should work around the automatic translation of Access crap names.

>Please don't argue about the field names. It's not a design of mine ...

If you ever created anything in Access, the secret will remain buried in the annals of UT, don't worry.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform