>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 put result(timefield1, timefield2) in the column's controlsource property.
You'll have to make sure that the program that defines the funcion is in scope with SET PROCEDURE TO Myrogram
Erik Moore
Clientelligence