Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display value different format from stored value
Message
From
16/03/1999 15:53:23
 
 
To
16/03/1999 14:30:46
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00198149
Message ID:
00198315
Views:
14
>>Hi all!
>>
>>What's a good way to display a value differently then it's stored?
>>
>>For example: a time value
>>
>>Stored in the table as seconds: 4500
>>Displayed/entered as: HH:MM 01:15
>>
>>How would I bind the data to a control to accomplish this? Do I need two controls in a container, one to bind the value to a table and one to display/enter the value?
>>
>>TIA
>
>You need in one unbound textbox with Value property populated from/stored to data programmatically.

That's the way I'm doing it now. I was just wondering if there was a better way to do this.

The problem I have with this method, is that you have to remember to add the code to handle the programmatic update of the value. That's why I would like to use a bound control.

Thanks.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform