Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force Calculated Field to Type Integer in View?
Message
From
28/11/2002 22:06:11
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00727704
Message ID:
00728077
Views:
14
Hello again ..

you could also cast the datatype at the backend (here MS-SQL syntax), this has worked also for me ..

select in the view:
"SELECT o.orderid, o.shipvia, o.freight, CAST(o.shipvia*o.freight AS int) AS NonSense FROM orders o"

after this, datatype of column nonsense was "I"

Regards

Christian
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform