Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object reference lost in SQL SELECT ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Divers
Thread ID:
01120146
Message ID:
01120341
Vues:
13
Sergei,

I think that what is happening is exactly as you described it:

"the problem is that '.' (dot) is used for 'object.property' and for 'workarea.field'. It leads to ambiguity which VFP doesn't handle very well in SQL commands."

The TEXT TO cannot be used in our particular scenario because all these expressions are supplied by the user and we do not know in advance whether expression has object reference(s) and and/or references to other columns. However, I agree with you and Naomi that the TEXT TO could be used in other circumstances. The workaround we will use eventually would be using SQL SELECT to create empty columns and then use REPLACE against each column with the expression.

Thank you,
Igor.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform