Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Differences Between VFP6 y VFP7+???
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Differences Between VFP6 y VFP7+???
Divers
Thread ID:
00746347
Message ID:
00746347
Vues:
50
I'm cheking a code I use to know some features of MS-SQL Server 2000:
SQLEXEC(lnConnHandle,"SELECT @@VERSION as cData","cSQL")
?cSQL.cData
It works fine in VFP6 SP5, but in VFP7 SP1 & VFP8b I have to use the STRCONV() function:
SQLEXEC(lnConnHandle,"SELECT @@VERSION as cData")
?STRCONV(cSQL.cData,6)
Of course I can use casting in SQLServer & finally works in all versions:
SQLEXEC(lnConnHandle,"SELECT CAST(@@VERSION as TEXT) as cData","cSQL")
?cSQL.cData
The Question is: Why this change between versions?, Or how can I avoid casting?
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform