Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculated column in grid
Message
From
28/02/2001 03:41:06
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/02/2001 03:28:18
Sammy Derban
Ghana Telecom
Accra, Ghana
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00480429
Message ID:
00480430
Views:
6
>Hello all
>I have a grid with recordsource = cursour
>When will be the best time to do the calculation?
>eg duration = time1 - time2
>I tried the on lost focus of time1 & time 2 and it works but i get the calaculated column repeating
>on the next line(s) when a move down with the arrow key.
>Any help?
>thanks in advance.

Sammy,
Sounds like duration is a memvar. If your table/cursor has fields Time1,Time2 then just having another column with controlsource 'myTable.Time1-myTable.Time2' is sufficient.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform