Results 1 to 7 of 7
  1. #1
    Vusi is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2011
    Location
    Cape Town
    Posts
    4

    Tape Schedule

    Good day

    My name is Vusi and I'm new in this forum. I'm currently learning access and can't wait to start using it effectively.

    Members I need your help please. I need a form that would auto generate a schedule. The schedule will be for our backup tapes.

    I have attached an excel spreed sheet to demostrate what I require.

    The only thing that should be entered on the database is the back up date. The rest should auto generate and increament on the records that are on the fields.

    We have three sets of five tapes to be used for the period of three week, for example week one would be set a monday - friday, week two would be set B and week 3 would be set C. This means that todays tape would only return in three weeks on a moday (19 september).



    I hope I'm clear in what I've asked and it can be done. please look at the attachment to gett an idea of what I'm talking about.

    This should be on one table, the return date and the send date should be on the righthand side of the table.

    Thank you all in advance for your assistance.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    What about the Bag number and form number, do you have a starting number and you just want to increment them by 1 for every value and 1 for every third value respectively? Are those user defined or are you starting from a value of x and y and just incrementing them or labeling them as they leave your system with whatever the application generates?

  3. #3
    Vusi is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2011
    Location
    Cape Town
    Posts
    4
    I start from the value of x and y and keep incrementing.

  4. #4
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    You actually do not need to do any data entry at all for your database if you are using this strictly for scheduling your backups. Here is an example.

    The only thing you have to do when you open the database is

    1. Open the tblBAGS and put in your current maximum bag number
    2. Open the tblFORMNUMBER and put in your current maximum form number

    THESE ARE A 1 TIME SETUP ONLY

    Both of these will be incremented by 1 for the next record processed.

    The way I have set this up it is starting with no data, and when it starts with no data it takes the FIRST server name, (I set them up to have the same order as your example) and applies the bag number you entered +1, the form number you entered +1. Regardless of what day you start it figures out the start of the current week and the end of the current week. If the day you open the form is a saturday or sunday it will go to NEXT week's days, if it's a monday through friday it will apply THIS week's days. Then it will create a record in the tblBackupSchedule for each server for each day. Then you can choose which period you want to print from the list box and click the button and presto, you have your report.

    Any time you open the form from then on, if the current date is greater than the maximum date in the tblBackupSchedule table a new set of dates is added and are immediately available to print.

  5. #5
    Vusi is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2011
    Location
    Cape Town
    Posts
    4
    Thank you very much I will have to look at this further tomorrow.

  6. #6
    Vusi is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2011
    Location
    Cape Town
    Posts
    4
    Sorry I've tried to implement as you have explained but can't. the numbers do not increment. Please help.

  7. #7
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    All of the numbers increment correctly in my testing. Are you putting the database in a trusted location? It's running code that may not run if you aren't.

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

Similar Threads

  1. Schedule Report... maybe?
    By BusDriver3 in forum Reports
    Replies: 18
    Last Post: 01-08-2017, 04:05 PM
  2. Schedule Conflict Coding
    By mann2x in forum Programming
    Replies: 5
    Last Post: 10-08-2010, 09:52 AM
  3. Flight schedule
    By t_g2 in forum Database Design
    Replies: 1
    Last Post: 01-20-2010, 01:13 PM
  4. any way to schedule a compress/repaor task?
    By Coolpapabell in forum Access
    Replies: 7
    Last Post: 10-07-2009, 02:08 PM
  5. Schedule Preparation
    By crapmind in forum Programming
    Replies: 0
    Last Post: 03-08-2009, 09:05 AM

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