Unanswered: Pb with calling report from forms developer
I put the following code in a When-Button-Pressed where 'Report' is the name of a report object added in the forms object navigator.
v_rep VARCHAR2(100) ;
v_rep := RUN_REPORT_OBJECT('Report');
my problem is that when I put the full path 'C:\work\reports\report.rep' of the rep file in the file name property of this object, the report is created and it runs very well. but by puting the relative path '.\reports\report.rep' ( my fmx form is under c:\work) I have error message
REP-0110: Impossible d'ouvrir le fichier '.\report\report.rep'.
REP-1070: Erreur lors de l'ouverture ou de l'enregistrement d'un document
can someone help me
I don't want to use absolute paths. I need to use relative paths