Click to See Complete Forum and Search --> : Datareport


Eddie
August 24th, 1999, 01:39 PM
How can I pass a parameter to a Datareport in VB6?. I made a command with a parameter, but I donīt know the way to pass a value when I show the datareport.
Thanks

Lothar Haensler
August 25th, 1999, 02:39 AM
you don't pass the parameter "to the Data report" but rather to the Command.
Base your datareport on the command by setting the DataSource and DataMember properties of the datareport accordingly.

DataEnvironment1.yourcommand yourparameter
datareport1.show