RAMESH_R
Dec 26th, 1999, 07:05 PM
I am using the DataReports for the first time. and I am finding it difficult to create Reports dynamically at runtime ,
i.e.: I am not able to pass a parameter to the report at run time.
Could you please help me out.
by giving me some details about using the param1.
This is what i have Done.
**I Checked for the datatype of parameter with the name
"param1" in command properties.It is same type as of variablename or the value i am passing.
***I Checked for sql statement there.It is
something like this....
select * from table where fieldname=? <-- space is must after ?
In the DataReport initilization event i have this line of code
" Dataenvironment1.Commands("Command1").Parameters.Item("Param1").Value= form1.text1.Text "
I am not getting any errors , I am getting a Blank Report.
Plz help me out.
Thanking You
Ramesh
------------------
NA
i.e.: I am not able to pass a parameter to the report at run time.
Could you please help me out.
by giving me some details about using the param1.
This is what i have Done.
**I Checked for the datatype of parameter with the name
"param1" in command properties.It is same type as of variablename or the value i am passing.
***I Checked for sql statement there.It is
something like this....
select * from table where fieldname=? <-- space is must after ?
In the DataReport initilization event i have this line of code
" Dataenvironment1.Commands("Command1").Parameters.Item("Param1").Value= form1.text1.Text "
I am not getting any errors , I am getting a Blank Report.
Plz help me out.
Thanking You
Ramesh
------------------
NA