Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLEXEC results
Message
De
20/06/2007 13:54:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01234527
Message ID:
01234545
Vues:
8
>>>>I am selecting firstname + ' ' + lastname from SQL using SQLEXEC. The result column on Fox side is a memo field. Can it be a "C" type?
>>>>
>>>>Thanks
>>>
>>>Even if you get it as Memo, you can still show it in VFP grid (is this your purpose?) as Character.
>>Yes, I know, but I think I need to use an Edit box for that.
>
>PMFJI, but if this for display purpose only, you can just use left(myMemo,254) as a controlsource.
>
>But anyway, the point is mute, since Sergey's solution should work.

This point is not mute (and it's not even moot). As long as you need to show it only why should you burden SQL-Server with unnecessary datatype conversion? To be precise the most consistent way would be bringing real fields only (w/out concatenation) and then show them in a grid in the most suitable way.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform