Results 1 to 2 of 2
  1. #1
    BrittKnee is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2020
    Posts
    17

    Autopopulate field in pop-up form


    I currently have a form (edit_client_data) that contains client data. I created a button that opens a pop-up form (client_notes) where the user can create notes for the client they are viewing. I am having issues autofilling the client_IDfield in the pop up form. This field should be based on the edit_client_data form. The client_notes form updates a client_notes_tbl and refreshed a subform on the main form (Edit_client_data). Thanks for your help!

  2. #2
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,737
    Not sure that you need to worry about populating a field on the popup form with the clientID if you're using code to write the record or open the notes form. You can simply pass the client id of the current record to the notes form using the OpenArgs property. See https://docs.microsoft.com/en-us/off....form.openargs
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 2
    Last Post: 09-06-2017, 07:41 AM
  2. Replies: 8
    Last Post: 10-03-2014, 01:34 PM
  3. Replies: 2
    Last Post: 05-22-2014, 06:11 PM
  4. Replies: 7
    Last Post: 10-03-2012, 03:06 PM
  5. Autopopulate field
    By lynnmc26 in forum Access
    Replies: 10
    Last Post: 01-28-2012, 11:45 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