Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hm.. I always question on Grid..
Message
From
27/09/2001 07:48:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
27/09/2001 01:12:23
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00561330
Message ID:
00561346
Views:
22
>Hi all!
>
>One field of my table stores 1,2,3...etc.
>
>To make it simpler for my coding, I made them char and stored as 0001, 0002...
>
>But when I display them in a Grid, I dont want the zeros to be shown..
>
>Where in the grid should I configure, to make is display "1" when the value is actually "0001"? or should I not save them in this way?
>
>Thanks,
>Jimi

In what way does char make your coding easier?

Anyway, you can set the ControlSource to int(val(MyCharExpression)).

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform