Results 1 to 4 of 4
  1. #1
    myjlmacy is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2011
    Posts
    2

    Duplicating Database Forms

    Our databases are set up annually for the different types of contracts. I need to duplicate the database (table and form) for 2012. The table is simple to duplicate without data, but I get errors every time I try to duplicate the forms for 2011 to 2012 forms. Help!

  2. #2
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    Welcome to the forum!

    Our databases are set up annually for the different types of contracts.
    Why would you do that?

    You should have all contracts for all years in 1 database. What do you do if you have to find details of an old contract, and you do not remember the year?

  3. #3
    myjlmacy is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2011
    Posts
    2
    We use the database as the number generator and every year those numbers change based on the last two digits of the year. If there is a way to create a data base that will do differently I am open to it. Thanks for responding! I have been out for the holidays.

  4. #4
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    You can always record a date and extract the last two digits of the year. One way is with the following expression.

    right(cstr(year(date()),2)

    The date() function just returns the current date, the year function pulls the year from the date the cstr() function converts the year to a number and the right function pulls the last two characters.

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

Similar Threads

  1. duplicating backend
    By ls9bg in forum Database Design
    Replies: 1
    Last Post: 03-30-2011, 03:16 PM
  2. Duplicating Database
    By Franco27 in forum Database Design
    Replies: 1
    Last Post: 03-21-2011, 07:22 PM
  3. De-duplicating new data
    By BassettProvidentia in forum Queries
    Replies: 7
    Last Post: 03-03-2011, 02:40 PM
  4. Duplicating numbers....why??
    By jgelpi16 in forum Programming
    Replies: 2
    Last Post: 01-21-2011, 01:32 PM
  5. labels duplicating themselves
    By RedGoneWILD in forum Forms
    Replies: 2
    Last Post: 08-17-2010, 07:42 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