Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Method call from report
Message
 
 
À
18/06/2002 16:50:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00669903
Message ID:
00670406
Vues:
30
>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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform