peterfarouk
23rd June 2003, 11:59
I am trying to get the report name that the user selects between many other option so that I can call specific function in my script according to the user selection.(I just need the function to get the user selection)
Thanks in advance for your help I apprecaite it.
Juergen
23rd June 2003, 12:44
the variable spool.report stores the selected report like for example
spool.report = "rtdsls990812000"
rgds,
Juergen
peterfarouk
23rd June 2003, 13:02
It worked just fine.YOU ARE THE MAN :p
thankx alot.
NPRao
23rd June 2003, 20:29
You can also use the other predefined variables-
string report$ 4
Current report code.
long reportgrp 4
Current report group.
long reportno R
Reports are numbered (1..n) within a report group. This number indicates the sequence number within the report group.
Note: The numbers (labeled "No.") in the session "Reports by Session" only match with reportno if these numbers are consecutive.
peterfarouk
24th June 2003, 08:33
hello NPRao.Could you please provide a sample code cause it is not clear.:confused:
jaapzwaan
24th June 2003, 09:40
Hi,
NPRao just copied it from the online programmers manual. That's where the 4 and R come from. Look here (http://www.baanboard.com/programmers_manual_baanerp_help_misc_predefined_variables) and search for "report"
Regards,
Jaap Zwaan
peterfarouk
24th June 2003, 10:21
I also checked this out (report$) thank you japp and thankx to u all guies .:)