Results 1 to 3 of 3
  1. #1
    melsquared is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Aug 2016
    Posts
    2

    Question Creating a linked form on Access 2003

    Hi, I'm new to Access, but I am doing this for a work project. We are linking Customers to their Orders, so a one-to-many relationship. I made a table for Customer, including a primary key automatically created by Access (Customer ID), and various fields for their contact information, address, email, phone, etc. Then I made an Order table, with an automated primary key (Order ID), with fields for the product details. Then I linked the CustomerID to the order form by linking SELECT Customer.CustomerID FROM Customer.



    All of this works perfectly on a table, but when I try to make a linked form, it shows it working perfectly for all previous entries, but not for new entries. Every new entry I put in is not linked to the customer, but just goes straight to the general order form, which is not what I want.

    Any help, or words of advice?

    Thank you.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    what is a linked form?
    if you mean parent/child, then you CANNOT enter orders until you save the parent master record.
    if you enter a new client and dont save the data, you cant enter the orders. Once you save the master record, it creates the auto ID.
    once the ID is created THEN you can enter orders.

  3. #3
    melsquared is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Aug 2016
    Posts
    2
    Yes, I believe I mean parent/child, because the Customers is the main form and the Orders is linked to that.
    Do I need to save the master record separately? It works perfectly when I add data to the table, it shows it as previous entries on the form form. But when I add a new on the form, then it doesn't save it as a child of the customer it should be attached to. It just saves it directly to Orders, unconnected.

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

Similar Threads

  1. Convert linked access 2003 file to access 2010
    By abhijeetkadam in forum Access
    Replies: 1
    Last Post: 11-13-2013, 12:44 PM
  2. Replies: 3
    Last Post: 08-06-2012, 10:38 AM
  3. Replies: 25
    Last Post: 06-19-2012, 03:35 PM
  4. Replies: 0
    Last Post: 03-08-2012, 03:12 AM
  5. Access 2003 - Creating Buttons from a Table
    By Speedy in forum Programming
    Replies: 2
    Last Post: 02-28-2009, 05:32 PM

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