Results 1 to 2 of 2
  1. #1
    IdleJack is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2011
    Location
    Leeds, West Yorkshire England
    Posts
    15

    Lining a pop form to parent form

    I've done this sort of thing in the past but I can't remember how I did it; must be an age thing!

    What I am wanting is to achieve is the following:

    The set up at the moment is:

    1: parent form: Manage existing customer records
    Contains the following fields: CustomerID, Surname, Address etc and a button to open the Remedial Management form
    2: pop up form: Remedial Management form
    Contains the following fields: Surname, Issue, Date reported, Appointment Date etc

    I have linked the fields using CustomerID = Surname and what I want is that the pop up form opens and shows the related fields to the specific customer record.



    What is happening at the moment is the form opens showing nothing, unless there is already data existing in the table/query related to the customer record linked to the pop up, and to join the tables to show information I have to select the customer surname from the Surname drop down box.

    Hope that makes sense? Any help is appreciated

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,900
    Far as I know, 'popup' forms cannot link to a calling form, not in the way that a form and subform are linked. What you can do is use the WHERE argument of DoCmd.OpenForm to open the popup filtered to desired record(s).
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 2
    Last Post: 09-16-2011, 06:11 PM
  2. Problem using Parent/Child Form/Subform
    By EvanRosenlieb in forum Forms
    Replies: 4
    Last Post: 06-27-2011, 05:25 PM
  3. Replies: 5
    Last Post: 03-17-2011, 06:21 AM
  4. Replies: 2
    Last Post: 10-19-2010, 11:05 AM
  5. run button on parent form
    By Mclaren in forum Programming
    Replies: 4
    Last Post: 04-28-2010, 01:20 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