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")
It looks like it starts to work, then I get the error:
Function argument value, type, or count is invalid
in the wwwdrv8.prg, line:
Local lnOLD_ASCIIRows, lnOLD_ASCIICols
Anyone have ideas to why this is failing? I also tried using the program wrapper: =GenRepoX("REPORT FORM ClosingRatio.FRX TO FILE CLOSING.HTM HTML") and it gives me the same error.