>I have to edit a report that has one field with expression created by a function. Since function is in a procedure file, report runs very slowly.
>How can I embed this function in the report?
>
>Thank you
>
>Ed
In the Init event of the report (found by double clicking the Data Enavironment window) do a SQL Select statement to a cursor. In the cursor perform the IIF() statements. Then in the body of the report reference the cursor instead of the original table(s).
Greg Reichert