Results 1 to 15 of 15

Thread: Report

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Posts
    344

    Report

    What program can be use to edit and read a .rpt file?

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Report

    .rpt files are typically associated with Crystal Reports.

    From windows explorer, if you right click on the file and click properties, does it give you a file type?

  3. #3
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: Report

    FYI: if u ever want to know what an extension is associated with

    http://filext.com/

    it has the largest list ive seen... with all the possibilities...
    RPT:
    Crystal Report
    MicroSim PCBoard Reports Reflecting Autorouting Progress and Statistics
    Sierra Mastercook Cookbook File
    TeamQuest View Report Syntax
    Visual Basic Crystal Reports File
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Report

    Quote Originally Posted by Static
    FYI: if u ever want to know what an extension is associated with

    http://filext.com/

    it has the largest list ive seen... with all the possibilities...
    RPT:
    Crystal Report
    MicroSim PCBoard Reports Reflecting Autorouting Progress and Statistics
    Sierra Mastercook Cookbook File
    TeamQuest View Report Syntax
    Visual Basic Crystal Reports File
    Cool link

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Posts
    344

    Re: Report

    I have used a datareport, how do I adjust the size of the page so when the user wants to print it will be just the same size?
    Last edited by weisi; Mar 2nd, 2006 at 09:35 PM.

  6. #6
    Frenzied Member d3gerald's Avatar
    Join Date
    Jan 2006
    Posts
    1,348

    Re: Report

    as far as i know, datareport only allows you to view a single page at a time. i dont know with other reports but thats how datareport work
    On error goto Trap

    Trap:
    in case of emergency, drop the case...

    ****************************************
    If this post has been resolved. Please mark it as "Resolved" by going through the "Thread Tools" above and clicking on the "Mark Thread Resolved " option.
    if a post is helpful to you, Please Rate it by clicking on the Rate link right below the avatar

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Posts
    344

    Re: Report

    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?

  8. #8
    Frenzied Member d3gerald's Avatar
    Join Date
    Jan 2006
    Posts
    1,348

    Re: Report

    data report displays data from the database and in doing that, i suggest you use ado.

    you can filter those things before they get shown in the report with your recordset. you can query it up to display only those things that meet the condition you specify
    On error goto Trap

    Trap:
    in case of emergency, drop the case...

    ****************************************
    If this post has been resolved. Please mark it as "Resolved" by going through the "Thread Tools" above and clicking on the "Mark Thread Resolved " option.
    if a post is helpful to you, Please Rate it by clicking on the Rate link right below the avatar

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Posts
    344

    Re: Report

    Quote Originally Posted by d3gerald
    data report displays data from the database and in doing that, i suggest you use ado.

    you can filter those things before they get shown in the report with your recordset. you can query it up to display only those things that meet the condition you specify
    Thanks! Any examples of the code?

  10. #10
    Frenzied Member d3gerald's Avatar
    Join Date
    Jan 2006
    Posts
    1,348

    Re: Report

    supposing you have a table named info containing the fields you want to display and one of those fields is Age. your SQL Statement should be like this

    select * from info where age between 15 and 20;
    that displays all fields with age ranging from 15 to 20

    you can replace the * sign with the list of fields in your table if you want your query to be specific
    On error goto Trap

    Trap:
    in case of emergency, drop the case...

    ****************************************
    If this post has been resolved. Please mark it as "Resolved" by going through the "Thread Tools" above and clicking on the "Mark Thread Resolved " option.
    if a post is helpful to you, Please Rate it by clicking on the Rate link right below the avatar

  11. #11

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Posts
    344

    Re: Report

    I have created a form which contains a combobox1 which the user can select the age and combobox2 which the user can select the index and a button to show report. Any codes to be written in here?

  12. #12
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Report

    Moved to reporting section

  13. #13

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Posts
    344

    Re: Report

    How can I made the directory of the database of the datareport fix, so I do not have to change the directory of the database everytime I copied the entire project into another new computer under a new directory. The problem now is that when I copied to a new folder, and when I click on the report, it will prompt me a "Please Enter MS JET OLE DB Initialization Information" asking me for the datasource. Is there any way which I can solve this problem?

  14. #14

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Posts
    344

    Re: Report

    Quote Originally Posted by weisi
    How can I made the directory of the database of the datareport fix, so I do not have to change the directory of the database everytime I copied the entire project into another new computer under a new directory. The problem now is that when I copied to a new folder, and when I click on the report, it will prompt me a "Please Enter MS JET OLE DB Initialization Information" asking me for the datasource. Is there any way which I can solve this problem?
    Please advice... Thank you!

  15. #15

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Posts
    344

    Re: Report

    VB Code:
    1. Private Sub report_Click()
    2. Unload DataEnvironment1
    3. DataEnvironment1.Connection1.ConnectionString
    4. report.Show
    5.  
    6. End Sub

    I have problem with this. Im still trying to solve the path of the database as mention above. 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