Results 1 to 4 of 4
  1. #1
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496

    New form from same form

    Rather than duplicating a form as another form, is there a way to use VBA to duplicate the current form and then open it without adding another form?




    So open another instance of the same form but with some changes...

  2. #2
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Allen Browne has a tutorial with a demo database on this subject:

    http://allenbrowne.com/ser-35.html

    Linq ;0)>

  3. #3
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by Missinglinq View Post
    Allen Browne has a tutorial with a demo database on this subject:

    http://allenbrowne.com/ser-35.html

    Linq ;0)>
    It's funny - I actually had a quick look at that before today and I wondered if that was what I needed to do the task but I wasn't sure because it seemed like a lot of code just to create a duplicate of what I already have (without actually creating and saving a whole new form - I just want it to "disappear" after it is closed).

  4. #4
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    The one thing you can always be sure of is that Allen's code is as compact as it can be in order to do the job at hand!

    And Allen, like yourself, uses that 'funny' date format, like yourself!

    Linq ;0)>

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

Similar Threads

  1. Replies: 5
    Last Post: 11-13-2013, 10:02 AM
  2. Replies: 2
    Last Post: 04-01-2013, 04:23 PM
  3. Replies: 2
    Last Post: 11-13-2012, 02:11 PM
  4. Replies: 6
    Last Post: 09-02-2012, 04:30 PM
  5. Replies: 9
    Last Post: 02-15-2011, 03:05 PM

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