Results 1 to 2 of 2
  1. #1
    degras is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Nov 2010
    Posts
    72

    Open a form with record the same as that on subform, is it possible?

    I have a projects form with a task subform. I want to add a button to the projects form (or even on the task subform) that opens another task form with the record the same as that on the task subform. Is this even possible?

  2. #2
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    Yes. it's possible.
    does you subform link to your task form? if not, just put one line of code in the click event of the button. if yes, put a "where condition" when open the form
    private sub command0_click()
    docmd.openform subformname,,, where condition
    end sub

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

Similar Threads

  1. Replies: 0
    Last Post: 10-12-2010, 06:08 AM
  2. Open form which creates new record
    By mjhopler in forum Forms
    Replies: 7
    Last Post: 02-09-2010, 01:37 PM
  3. Open form to current record
    By rbpd5015 in forum Access
    Replies: 1
    Last Post: 08-28-2009, 01:53 AM
  4. Replies: 4
    Last Post: 03-24-2009, 09:07 PM
  5. Open form based on Subform criteria
    By Suzan in forum Programming
    Replies: 0
    Last Post: 04-25-2006, 02:28 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