Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Embedding function in report
Message
From
13/07/2007 11:52:01
 
 
To
12/07/2007 13:41:28
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01239800
Message ID:
01240251
Views:
7
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform