Results 1 to 2 of 2
  1. #1
    klepac99 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2016
    Posts
    1

    ACCESS: Pass data from user input form to query and back to form


    I have a form that I have created for user to enter data for a possible record to be created. I only want to create this record if the data entered is correct and has a "master record". Example: I ask user for customer number. I take the user input and query the customer_table to return to same form the customer name and address. At this point, I also want to allow user to enter transaction data for this customer to create a record for another table customer_transaction_table. How do I pass information back and forth and add data from the table? If I can only use 1 data source how can I retreive from 1 table and then append a another table with combined data? How do I join forms to queries and tables?
    Thanks in advance for any help you can provide.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    You can have an 'input' table,
    on the form ,pick customer Id,
    lYou have a sub form linked to custID,this shows all customer info.
    change the ID field, the customer info changes too.

    Enter all your data, check validity.
    user clicks a 'save' button, this will execute append queries to pass data to the target tables.

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

Similar Threads

  1. Replies: 5
    Last Post: 04-27-2015, 02:40 PM
  2. Replies: 15
    Last Post: 02-20-2014, 06:40 AM
  3. A query based on user input in form
    By drhassan in forum Queries
    Replies: 17
    Last Post: 01-20-2014, 06:00 PM
  4. User and pass form
    By hitesh_asrani_j in forum Forms
    Replies: 1
    Last Post: 09-30-2011, 06:57 PM
  5. Replies: 9
    Last Post: 10-01-2010, 05:50 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