Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force Calculated Field to Type Integer in View?
Message
From
27/11/2002 16:57:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00727704
Message ID:
00727777
Views:
9
>Hi Everyone,
>
>Does anyone know of a way to force the a calculated field in a view to be of type Integer? I've tried the INT() function but the resulting view alwasy makes this column Numeric w/ 2 decimals.

I've tried several tricks (like DBSetProp('view.calcfld', 'Field', 'DataType', "I") or adding 00000 to the expression for the field), to no avail. VFP decides the structure by its internal rules, seems to be the structure can't be modified.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform