CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Datareport

  1. #1
    Join Date
    Mar 1999
    Posts
    7

    Datareport

    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


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Datareport

    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





Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured