Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual GenRepoX3 - I just can't make it work.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00115287
Message ID:
00115428
Vues:
14
>>I added GenRepoX3 (Visual) to my current CBMM project. In a method I added the following code:
>>
>>oReport = CreateObject("cReport")
>>oReport.LayoutFile = "ClosingRatio.frx"
>>oReport.Output = THIS.HTMLFile
>>oReport.OutputFormat = "HTML"
>>oReport.Print()
>>
>>RepoStrng = "REPORT FORM ClosingRatio.frx TO FILE " + THIS.HTMLFile + " HTML"
>>
>>=GenRepoX("&RepoStrng")
>
>Doesn't oReport.Print() work?

No. The line with "RepoStrng, and =GenRepoX" were another way I tried to get this to work. They gave me the same error as oReport.Print()


>
>Do the steps from the command line... you can get feedback one at a time that way. Did you add the .PRG and the class library then do main while you were in debug mode so that the metadata would be rebuilt?
>

Everything works OK up to the oReport.Print() line. Then GenRepoX starts up (I can see the message in the upper right hand side of the screen) and a half a second later it fails with the error. I originally just did:

CD \APPS\MANAGE
DO STARTCB

(add library and progs)

then added my code and then did a:

DO MAIN
(suspend)
(run report w/GenRepoX)

I just tried:

DO MAIN
(suspend)
(add library and progs)
I can't run DO MAIN again in the middle of DEBUG w/o getting a lot of errors so I exited and tried it again. Same error:
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform