Results 1 to 4 of 4
  1. #1
    ictcrystal is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Mar 2015
    Posts
    21

    Customer ID link

    hello
    ive posted this question on a different forum but had no replies so i was hoping i would have some luck here


    ive created a form that views appointments for today and alongside it has a subform that enables a dentist to enter details about a customer...

    so the main form (apt today) displays customer ID
    However in the subform it doesnt...


    can someone tell me how i can make the form have both customerIDs appear automatically.

    ive attached what i hope is relevant.

    Any help would be wonderful

    Attached Images
    Attached Thumbnails Attached Thumbnails customerID1.png   customerID2.png  

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    Why did you blackout field names?

    Customer should be selected from combobox list.

    The form recordsource should not include customer and employee tables with INNER JOIN.

    A form can do data entry/edit for only one table.
    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.

  3. #3
    ictcrystal is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Mar 2015
    Posts
    21
    Heya,

    sorry its because it was part of my project and i didnt want my teacher to identify me hah.

    I dont understand. i dont want it to be a drop down i just want it to automatically have the customers ID in the second form because the 2 are linked ( the left shows the customer who has the apppointment and the right is me entering details about them)

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    That won't work because of the way tables are related. CustomerID needs to be saved into Appointment record. This is accomplished by selected CustomerID from a combobox list of customers. If you need to edit customer record or add a new customer, that must be done in a form that is not linked to the appointment form.
    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: 0
    Last Post: 12-15-2014, 08:18 AM
  2. Replies: 6
    Last Post: 12-11-2013, 09:27 PM
  3. Replies: 7
    Last Post: 08-28-2013, 02:30 AM
  4. Replies: 1
    Last Post: 12-24-2011, 08:48 AM
  5. Replies: 1
    Last Post: 07-26-2011, 05:18 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