>I want the report to call a procedure that will create the cursor that the entire report will use for every field. Is there a way to have a report call a procedure? The only way I could think of is to create a Report Variable and have the myfunc() as the Initial Value. This seems to work but I am not sure if there will be a problem down the road.
>
>Brenda
You report can use Dataenvironment and create cursors there. Right Click on your report and you will use the standard DE (the same as for the form).
But I personally never used DE for report and always create a cursor in calling procedure. YMMV.
If it's not broken, fix it until it is.
My Blog