Home » Developer & Programmer » Reports & Discoverer » Problem in sending parameter in web.show_document
Problem in sending parameter in web.show_document [message #257736] Thu, 09 August 2007 01:52
emadbsb
Messages: 334
Registered: May 2005
Location: egypt
Senior Member

Hii all

I am using cgicmd.dat to set a value for my form to run the report

in the cgicmd.dat file i added a line

rega:   usedid=scglt/scglt@xe report=d:\slo.rdf destype=cache desformat=htmlcss


in the form when running the report
i use this syntax
web.show_document('http://regasoft:8890/reports/rwservlet?rega&d='||:M);


if you saw that there is a parameter send to the report but it has no effect as the parameter is not sent
and when check on "d" in the report i see it null


n.b
my old syntax is working fine and i can send parameters from it as i was not using the cgicmd.dat
see the syntax
web.show_document('http://regasoft:8890/reports/rwservlet?report=D:\slo.rdf&destype=cache&desformat=htmlcss&userid=scglt/scglt@xe&d='||:M);

from the previous syntax i can send parameter to the report
but by setting the value in the cgicmd.dat and execute the form by the value set i cannot send parameters

Thanks for everyone helped and helping me
Previous Topic: Printing a report in Landscape
Next Topic: Problem regarding page protect
Goto Forum:
  


Current Time: Fri Jul 05 10:31:19 CDT 2024