Results 1 to 5 of 5

Thread: Exporting reports from Access?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Location
    London UK
    Posts
    89

    Unhappy Exporting reports from Access?

    Hi,

    Is there a way to export reports from access database within vb app so that they later can be imported to a different DB? or is there a way to create reports from vb app?

    Thanks

  2. #2
    Fanatic Member
    Join Date
    Nov 2000
    Location
    Sydney Australia
    Posts
    804

    Is there a way to export reports from access database within vb app so that they later can be imported to a different DB?
    You can transfer reports between Access databases using the transferdatabase method of the DoCmd object:

    Code:
     
    
    DoCmd.TransferDatabase acImport, "Microsoft Access", _
        "C:\DBS\Test.mdb", acReport, "Sales for April", _
        "Corporate Sales for April"

  3. #3
    New Member
    Join Date
    Mar 2000
    Location
    Santa Cruz. Ca,UAS
    Posts
    9

    Re: Exporting reports from Access?

    I have successfully use the DoCmd.Transferdatabase for Tables and Queries, but Reports and Macros I get an error msg ""MS access can't save the design changes ... because an other user has the file open. To save your changes .... You must have exclusive access." on the destination database. I have tried making the destination database exclusive and it didn't make any difference.

    Both the Source and Destination database are on the same PC, no external users. Any body have any ideas? Thanks

    Gene

  4. #4
    Hyperactive Member
    Join Date
    Nov 2010
    Location
    Pakistan
    Posts
    289

    Re: Exporting reports from Access?

    or is there a way to create reports from vb app?
    Yes, you can create reports through DataReport which is included in vb 6, or you can also create reports through CrystalReport, you can install it and can use with vb

  5. #5
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Exporting reports from Access?

    Moving to the Reports Forum.

    Thanks for the report mcsmba1

    Gary

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