Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Method call from report
Message
 
 
To
18/06/2002 16:50:11
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00669903
Message ID:
00670406
Views:
28
>I have a report which is part of a suite of reports. The suite contains common selection dialogues and is compiled as a COM object so that other components can generate and deliver reports as required. Methods in the COM object execute the SQL commands and result in a cursor that is delivered to the report. My problem is that within the report I need to call a method in the COM object to perform actions when each record in the cursor is processed. Since the report is not an object that is "contained" in the COM object This.Parent.MyMethod won't work. I can call an external program from the report, but then I cannot use methods and properties of the COM object. Can anyone give me an idea how to do this?
>

Hi Rick,

It's not clear what you're trying to do. If you have cursor already, why do you've to call COM object for every record? If you don't have cursor than report wouldn't work because cursor/table is required for it to run.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform