Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anybody ca help mecall a function to evaluate cell in g
Message
From
22/06/1999 13:57:11
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
21/06/1999 16:15:31
Dovi Gilberd
Dovtware Consulting Inc
Miami, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Visual ProMatrix
Miscellaneous
Thread ID:
00232180
Message ID:
00232606
Views:
21
>i created a function in my main program called function result()
>how, where and it what way i call the function in my grid to show the results of the function.
>the function is suposed to calculate time lapsed between two times..
>can any body please help me

Just a tip over what Erik said: a slightly better way is to create a custom method in the form which holds the grid, and then have thisform.result() as controlsource of the column where it should appear. This way the function is kept there where its used, and you don't have to worry if tomorrow you can't remember where's the function. If this function is used at various places around the app, then you may be better off having a separate file called result.prg (and don't put "Function Result" or "Procedure Result" in the first line - it's slower) and then just do as Erik said.

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