Have searched the board but have not found this issue.
I have a test button on a detailed view which I am trying to create a pdf report which will be emailed as an attachment. I am using an xbasic callback and it is failing to create the report.
The xbasic callback I have created to test this is:
The error message I am getting is:
If I remove the "@hitrak.alb" reference I then get the following error:
This report works fine when using the report action javascript on another button.
Any help and ideas gratefully received.
Kind regards
I have a test button on a detailed view which I am trying to create a pdf report which will be emailed as an attachment. I am using an xbasic callback and it is failing to create the report.
The xbasic callback I have created to test this is:
Code:
'create temporary pdf report dim filter as C dim order as C dim filename as C dim message as P dim coursekey as N = 4 dim coursecustomer as N = 399 filter = "coursekey = " + coursekey + " .and. customerkey = " + coursecustomer order = "" filename = session.session_folder + "tempbookform.pdf" report.saveas("[email protected]", "pdf", filter, order, filename, .f.)
Code:
Error executing Ajax callback function 'xbTest' Error reported was: Amyuni Low Level Print: Layout name: [email protected] Layout type: report SQLReporting 12 - Could not run layout. Error copying layout definition to local data cache. The system cannot find the file specified. HITRAK.ALB
Code:
Error executing Ajax callback function 'xbTest' Error reported was: Amyuni Low Level Print: Layout name: BookingForm Layout type: report Error loading \: The system cannot find the file specified. \.DBF
Any help and ideas gratefully received.
Kind regards
Comment