Access report in Autocad?

Discussion in 'AutoCAD' started by media, Apr 26, 2004.

  1. media

    media Guest

    Hi,
    I have a vba program linked with a ms access database file.
    I have not ms access in my pc, and i want to create reports like access
    reports. It is possible? if yes how can i do this?

    thanks
     
    media, Apr 26, 2004
    #1
  2. media

    Ed Jobe Guest

    Sounds like a lot of work, I've never tried it. But...Access reports consist of two parts, an unerlying query and a graphical display of the data. The query part is easy using ADO. For the display part, you might try iterating through the records and formatting the text for Word.

    --
    ----
    Ed
    ----
    Hi,
    I have a vba program linked with a ms access database file.
    I have not ms access in my pc, and i want to create reports like access
    reports. It is possible? if yes how can i do this?

    thanks
     
    Ed Jobe, Apr 26, 2004
    #2
  3. media

    Ed Jobe Guest

    On second thought, I think I would use Excel. You could start with a template spreadsheet that had some formatting applied and it would be easier to do grouping by keeping track of the size of the range.

    --
    ----
    Ed
    ----
    Sounds like a lot of work, I've never tried it. But...Access reports consist of two parts, an unerlying query and a graphical display of the data. The query part is easy using ADO. For the display part, you might try iterating through the records and formatting the text for Word.

    --
    ----
    Ed
    ----
    Hi,
    I have a vba program linked with a ms access database file.
    I have not ms access in my pc, and i want to create reports like access
    reports. It is possible? if yes how can i do this?

    thanks
     
    Ed Jobe, Apr 26, 2004
    #3
  4. Push it to a HTML file - easier than Excel.
     
    Mike Tuersley, Apr 27, 2004
    #4
  5. media

    media Guest

    do you have a code example?
     
    media, Apr 27, 2004
    #5
  6. media

    media Guest

    do you have a code example?
     
    media, Apr 27, 2004
    #6
  7. yes, hang loose - its at the office
     
    Mike Tuersley, Apr 28, 2004
    #7
  8. yes, hang loose - its at the office

    Actually my example is in full vb. However, there are two ways you could
    accomplish it. Here is an example that appends the HTML tags automatically
    http://www.thescarms.com/vbasic/Webreport.asp which would be the longer
    method. The shorter method woulld be to add a reference to the Microsoft
    Data Report Designer [C:\WINDOWS\System32\msdbrpt.dll] if you have it. It
    has a report.export opttion that can be set to html.

    Mike
     
    Mike Tuersley, Apr 28, 2004
    #8
  9. media

    Perion Guest

    That web report class is pretty nice - thanx for the link!

    Perion

     
    Perion, Apr 29, 2004
    #9
  10. Any time :)
     
    Mike Tuersley, Apr 30, 2004
    #10
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.