Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange char in column name
Message
De
14/09/2014 10:06:56
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
14/09/2014 05:49:04
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01607500
Message ID:
01607504
Vues:
65
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform