Results 1 to 6 of 6

Thread: Help in report generation

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2004
    Location
    Mumbai, INDIA
    Posts
    21

    Help in report generation

    Hi,

    We are new to VB Report generation.

    What we have at our end is a form that shall have some input fields. Say Age, gender, Active from and Active to (dates)

    Now, based on the input from the user, I would like to build a dynamic query and set it to the "CommandText" property of Command in the Data Environment .

    This query should be used to generate the report.

    What ever be the query generated, the output fields on the report shall always remain the same. As in our case, we would be displaying the ID, Name, Age

    We do not want to set the parameters from the text box in the "CommandText" property of Command in the Data Environment.

    Please guide us.

    Thank you.
    http://services.eliteral.com

  2. #2
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    Re: Help in report generation

    like if you put the id no, you will generate a report with the id, or if it's name then it will produce a report?

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2004
    Location
    Mumbai, INDIA
    Posts
    21

    Re: Help in report generation

    Oh no. I am sorry, but, thats not what I am expecting.

    Well, let me try to explain it again.

    We would like to set the "CommandTEXT" property of the Command in the Data Environment through VB code.

    Thats it. IS it possible?

    Any sample code would be apppreciated.

    Thank you.
    http://services.eliteral.com

  4. #4
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    Re: Help in report generation

    i hope it will help
    Attached Files Attached Files

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Mar 2004
    Location
    Mumbai, INDIA
    Posts
    21

    Re: Help in report generation

    Thank you. It helped :-)
    http://services.eliteral.com

  6. #6
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    Re: Help in report generation

    walang problema!

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