Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running a VFP Report using OLE Automation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00793735
Message ID:
00793981
Vues:
19
Report command is allowed in VFP out-of-process server (EXE). It sounds like VFP cannot find the table(s) for report. Where do you open them?

>I created a VCX in VFP and made the class OLE Public. I then created a PRG to CREATEOBJECT the class and call the method to run the report. I ran the PRG from the Command Window. When I did that, VFP froze. An "open" task appeared the task bar. Clicking on "open" would never pull up anything, but when I closed it, VFP was freed up again. The report never ran. After doing some debugging, it looks like the "open" task occurs on the REPORT statement.
>
>If a copy the code from the VCX into the PRG and make it a PROCEDURE (no class), it works fine. Am I allowed to run REPORT in an OLE EXE?
>
>Thanks for your help!
>Tim
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform