Results 1 to 5 of 5

Thread: Generating a report in VB?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Posts
    344

    Question Generating a report in VB?

    How do I create a report which can show all the information which are inside the access database? I have alreadt set up the database and have all the necessary fields. All I need now is just to generate a report in vb with all the fields. Pls advice.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Posts
    344

    Re: Generating a report in VB?

    What if I want to selected a report to be generated?
    eg. the field in my report has index, name and age, then the user can either choose from maybe index 1 to index 5 to be shown only, or in another case, user may want to choose age = 15 to 20 to be shown.

    How can I be able to do this? I will need to create a combobox right?

  3. #3
    Member
    Join Date
    Jan 2006
    Posts
    62

    Re: Generating a report in VB?

    In the dataenvironment and in command... code like this

    where index between ? and ? means that u are having two parameters Index from and Index to.

    create one parameter form and put two text items.. one for Index1 and index 2.
    datareport.show text1.text,text2.text

    hope this solve your problem

    regards
    Hiran

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Posts
    344

    Re: Generating a report in VB?

    Quote Originally Posted by hiran3727
    In the dataenvironment and in command... code like this

    where index between ? and ? means that u are having two parameters Index from and Index to.

    create one parameter form and put two text items.. one for Index1 and index 2.
    datareport.show text1.text,text2.text

    hope this solve your problem

    regards
    Hiran
    Thanks for the reply! Mind if you explain further? Thanks in advance!


  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Posts
    344

    Re: Generating a report in VB?

    Please Advice...

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