How to Pass the Parameter in datareport from VBgreenspun.com : LUSENET : MW Software's Visual BASIC Descusion System : One Thread |
How to Pass the Parameter in datareport from VB
-- PL.Lakshmanan (laksh72@yahoo.com), August 07, 2001
in command add a query "select * from emp where empno=?say apply
in parameter tab select parameter set its data type.
add the command object to data report
set data report properties to command and dataenvironment
return to form add a text box and command button
on button click write the following code
dataenvironment1.command1(text1.text) datareport1.show
-- mayur chudnaik (mayurchudnaik@hotmail.com), March 14, 2002.