Rick,
I don't get it. Where do you put the function? In report designer, I can see where you can assign a varaible, but no place to add a method like you can in form design.
Thanks again.
>Alan,
>instead of the code I mention you would just put the function, which would have that code in one place. That makes it easier to maintain, especially if you've got numerous fields that need the same functionality.
>Rick
>----------------------------
>>John,
>>
>>I didn't know you could add a function to a report. That will solve a lot of problems for me. How is this accomplished?
>>
>>>>I need to print a total Hours and Minutes on a group break of a report. The table I am reporting from has a "Total minutes" field. What's the best way to do this from within the report?
>>>>
>>>>TIA
>>>
>>>Alan,
>>> You will probably get a few different answers but personally I like to call a function when doing anything like this in a report. In your report group band, or wherever, just put a function such as fnHourMin(
). I always start my programs from a main prg with all the functions in it.
Alan Trosky
MIS Director
Pennsylvania Bar Association
Harrisburg PA 17108