Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote Views
Message
 
À
28/09/2004 10:55:36
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00946321
Message ID:
00946692
Vues:
12
What you could do is in the View designer, Under the Fields tab, select your field and go to Functions and Expressions at the bottom of the designer. In that Expression box your Field should have already been place in the expression. Just space over and type
As Descrip
After pressing ok, Added the expression to your Selected fields and that should work around your issue.


>The remote view is created with the wizard. I can't access the SQL statement that it generates.

>The workaround is to use the AS clause
>select mytable.desc as mydesc, mytable.otherfield
>
>DESC is a reserved word.
>
>regards
>>All,
>>
>> I have an application that will be accessing a remote database. One of the fields has the name "desc". When I create a remote view in Visual FoxPro 7 and browse the data I recieve the following error message: Connectivity error: [Microsoft][ODBC SQL Server Driver][SQL Server] Incorrect syntax near the keyword 'desc'. What work arounds are there for this bug?
What is Wisdom?
Wisdom - The ability to respond to any situation according to God's Plan.
Therefore:
USE Wisdom IN Everything ORDER priority AS Knowledge
SELECT Knowledge
BROWSE FOR Understanding WHERE Wisdom=Guide

LeRoy Jackson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform