Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Differences Between VFP6 y VFP7+???
Message
From
28/01/2003 13:50:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Differences Between VFP6 y VFP7+???
Miscellaneous
Thread ID:
00746347
Message ID:
00746347
Views:
48
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
Next
Reply
Map
View

Click here to load this message in the networking platform