Error 8140 when finish report without performing any OUTPUT REPORT

Started by francesco f., March 20, 2023, 06:19:27 PM

Previous topic - Next topic

francesco f.

Hi,
we are porting sources from bdl 2.5 to 4.01 and are experiencing this error that never showed with 2.50.
Issue happens just when the report was assigned to pipe and the output instruction was never call.
Review the logic is almost impossible due to time and budget.

Probably we can resolve surrounding the finish between WHENEVER  ERROR or a TRY CATCH, but maybe there is a better approach.
Anyone knows?

As a sidenote anyone knows what kind of isssues we can stumble upon passing from 2.50 to 4? As a matter of fact is a big leap!

Thankyou.

Sebastien F.

Hello,

Please send a code sample to the support channel so we can investigate and properly identify the issue.

About changes since Genero BDL 2.50, you should read the new features pages:

https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_nf.html

and the upgrade guides:

https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_upgrade_guides.html

Seb

francesco f.

Hi,
the istructions can be as simple as that:

START REPORT rptLis TO PIPE "lp -dpsinfo"
FINISH REPORT rptLis

Finish report with no output between start and fiinish.

Thankyou


francesco f.

Hi Seb,
thanks for your reply.
so we must modify our code wrapping the instructions or mimicking a zero exit status from the pipe?