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

    data environment and parameters tab

    hi.

    i need serieous help with regards to using the parameters tab in data environment. right now i have a form that calls the datareport once i press a commandbutton.

    the data report is populated using data environment. the source of my data is a sql statement with parameterized query (because i need to know the month and year entered on the form to generate the report). i created parameters on the commandbutton that has the value of the month and year. my problem is this: how do i pass that parameter which i created on the form to the data environment?

    on my sql statement i used the question mark on my where condition, example:

    where table.year = ?
    and table.month = ?

    but i don't know how to use the parameters tab. please help. also, is my where condition ok?

    please help.

    thanks in advance






  2. #2
    Join Date
    May 2001
    Posts
    40

    Re: data environment and parameters tab

    there's a couple of datareport projects your can download here http://www.zarr.net/vb/download/sourcecode.asp

    good luck


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