PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Run External Report Element was not found
Run External Report Element was not found
Iniciado por guest, 10,ago. 2016 16:55 - 1 respuesta
Publicado el 10,agosto 2016 - 16:55
Hi All

I have reporting problem I though was working, but seems not to be.
Getting error The '' element was not found

Is it possible to run a report that does not exist by name in the application? I can modify an existing report and have a customers version.

What I need is to be able to add a number of "External" reports to the application.

Code sets Reports and Queries folder to the path of the report.
I set the variables and run the following code.
Basic version of code run as below

sOK is string = FReportsAndQueries(dirShared,gsPath)
sOK1is string = FReportsAndQueries(dirUser,gsPath)
iPreview(ipvZoom100)
IInitReportQuery,sRpt,SParam1)
IprintReport(sRpt,sParam2)

The query is in the project and compiled to be visible in R&Q

Am I missing the obvious?
Any comments appreciated
thanks Mark
Publicado el 11,agosto 2016 - 00:08
Hi Folks

I created a test project, and it seems to be working.
Please ignore