Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculated field in a grid
Message
From
15/01/1999 15:03:04
 
 
To
15/01/1999 15:00:04
Jaime Vila
Miami Children's Hosp. - Radiology
Miami, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00176639
Message ID:
00176645
Views:
29
>I have a simple 1-table grid on a form and I want to add a column that calculates an elapsed time from time values in two other fields from the table. I wrote a function that does the calculation, but I can't assign it as Record Source for the column. I also tried the Value property . . no luck. Please help !!!
>
>TIA

Put it to Column.Controlsource, the safest way is to do it programmatically, e.g.
***grid.init event
This.Column3.ControlSource="0+Thisform.GetNumofSeconds()"
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform