Results 1 to 13 of 13
  1. #1
    mikejames is offline Novice
    Windows Vista Access 2003
    Join Date
    Sep 2011
    Location
    Southern Michigan
    Posts
    16

    Unhappy Auto Populating a new form

    Hello, I am entering data into the "New Client Information" form (which is stored in the Client Information table). Once a user completes this form I would like to click on a button, open the "Scheduling" form (which store data in the Scheduling Table) to begin scheduling this client's appointment with fields auto populated from the "New Client Information" form.


    Thank you.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Maybe this is what you want to use: http://www.baldyweb.com/Bookmark.htm

  3. #3
    mikejames is offline Novice
    Windows Vista Access 2003
    Join Date
    Sep 2011
    Location
    Southern Michigan
    Posts
    16
    Thanks RuralGuy, Its close. What I am looking for opens a new form (with auto-populated fields) saving to a new table.
    I greatly appreciate your help- I will use your suggestion for something else I am working on.
    MikeJames

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Didn't you join the Scheduling Table with the Client Information table on the ClientID field and use it as the RecordSource of the Scheduling Form?

  5. #5
    mikejames is offline Novice
    Windows Vista Access 2003
    Join Date
    Sep 2011
    Location
    Southern Michigan
    Posts
    16
    I joined them as Queries. Is that what I should do? Join those fields as Tables?

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Joining as queries is fine. Can you see *all* the fields of both tables and can you update them in the query?

  7. #7
    mikejames is offline Novice
    Windows Vista Access 2003
    Join Date
    Sep 2011
    Location
    Southern Michigan
    Posts
    16
    Yes I can see all the fields of both tables. In my attempt, I was joining Client Last Name. When I returned the the forms to test the work a new record didn't open with the field populated.

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Do you have ClientID in both tables?

  9. #9
    mikejames is offline Novice
    Windows Vista Access 2003
    Join Date
    Sep 2011
    Location
    Southern Michigan
    Posts
    16
    I have the field "LastName" from the Client Information Table/Query joined to the field "Last_Name" to the Scheduling Table/Query.

  10. #10
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    What happens when you get another Client with the same last name?

  11. #11
    mikejames is offline Novice
    Windows Vista Access 2003
    Join Date
    Sep 2011
    Location
    Southern Michigan
    Posts
    16
    I have the first name fields joined together as well. Should I create a ClientID field with a number?

  12. #12
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by mikejames View Post
    I have the first name fields joined together as well. Should I create a ClientID field with a number?
    That would be the best approach. Then you could have more than one Client with the same first and last name. It should be an Autonumber field and the ForeignKey field in the other table would be a LongInteger field. Be sure and remove the indexes from the name fields to speed up the system.

  13. #13
    mikejames is offline Novice
    Windows Vista Access 2003
    Join Date
    Sep 2011
    Location
    Southern Michigan
    Posts
    16
    I will work that out and let you know the outcome. Thank you very much for taking the time to answer my questions and providing your expertise.

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

Similar Threads

  1. Replies: 1
    Last Post: 09-08-2011, 06:36 PM
  2. Auto populating Form controls
    By eww in forum Forms
    Replies: 1
    Last Post: 08-09-2010, 12:49 PM
  3. new guy with a question on auto populating
    By zdiver07 in forum Forms
    Replies: 2
    Last Post: 05-03-2010, 11:06 PM
  4. Auto Populating a field in a table
    By softspoken in forum Access
    Replies: 11
    Last Post: 04-05-2010, 02:52 PM
  5. Auto populating date.
    By emccalment in forum Access
    Replies: 3
    Last Post: 02-19-2010, 11:00 AM

Tags for this Thread

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