Results 1 to 2 of 2
  1. #1
    Gary is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    14

    Angry Add Page to undound report

    Hello All,



    I am new to the forum and totally stuck!

    I am creating a database at work, and am still relatively new to ms access.

    basically what the database does is allows maintenance employees to log equipment breakdowns, then at the end of the day print out a report listing the breakdowns, the down time, etc. as well as a calculated value for the operational availability of the shop. it is important to point out here that the shop is broken into 5 separate zones.

    The issue lies in that my employer wants to keep the existing report format (which is an excel spreadsheet). I managed to accomidate this by creating an unbound report and using a VB macro to access the table that stores the logged data and sorts it into text boxes placed over top of an OLE of the spread sheet file. This method works fine, but it limits the number of breakdowns featured on the report to 8 break downs per zone.

    I have tried to convince my employer to allow me to change the format, but they are extremely resistant.

    is it possible to do something like this:


    if #breakdowns in zone (i) >8 then

    add page

    end if

    and then continue logging breakdowns 9 and greater on page 2?

    I know it's overly complicated, but it wouldn't be horrible if there were a simple command to add a page and then refer to the controls on the second page independant of those on the first.

    thanks in advance,

    Gary

  2. #2
    Gary is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    14

    Possible Solution

    Hey all

    I see that some people have had a quick look at my issue here. I think I may have found a solution.

    what about when the button that opens the report is clicked I use a VB script to open the record set, and quickly check the number of breakdowns in each zone.

    if any of the zones have more than 8 breakdowns use a createreportcontrol function to create all the additional controls to generate the form.

    if otherwise then set the form back to its default.

    the main problem I am running into is the OLE object that I have used to hide the excel spreadsheet format in the background. I don't know how to use the create report control to generate this


    is this do able?

    -gary

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Page break on report inserts empty page between
    By Galadrielle in forum Reports
    Replies: 0
    Last Post: 07-07-2010, 04:18 AM
  2. Replies: 1
    Last Post: 05-22-2010, 08:30 PM
  3. report does not display in 1 page
    By ngeng4 in forum Reports
    Replies: 4
    Last Post: 03-18-2010, 08:26 AM
  4. Report Page Setup
    By DaniC818 in forum Reports
    Replies: 1
    Last Post: 03-30-2009, 07:33 PM
  5. report prints blank page at end of report
    By darrellx in forum Forms
    Replies: 0
    Last Post: 03-14-2006, 08:51 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums