Results 1 to 2 of 2
  1. #1
    dipzta is offline Novice
    Windows 10 Access 2016
    Join Date
    Sep 2019
    Posts
    3

    Question Add new customer to table from another form/(table)

    Hi




    I want end user to open a new RepairOrder (form), start typing the customer name in the "Customer" field (related to CustomerTable).
    IF name does NOT exist in CustomerTable, then add this to the table (either directly in form, or open a "AddNewCustomerForm", whichever is easiest)
    IF it DOES exist (by a autosearch in field maybe?) , then put this customers first and last name in that field (in RepairOrder Form Customer field)


    Can someone please help, or give me directions to where I can learn this?






    Thank you
    (I have search hi and lo about this, but am still wondering)
    Last edited by dipzta; 09-28-2019 at 02:32 PM. Reason: add spaces

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,544
    I would suggest you use a combo box to enter the customer name.
    If the customer does not appear in the list you can use code in its Not In List event to enter the name.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

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

Similar Threads

  1. Replies: 16
    Last Post: 03-15-2019, 04:31 PM
  2. Create New Table with unique customer rows
    By jstopper in forum Access
    Replies: 2
    Last Post: 03-06-2014, 03:13 PM
  3. Replies: 3
    Last Post: 02-07-2014, 10:37 AM
  4. Replies: 6
    Last Post: 12-11-2013, 09:27 PM
  5. customer form with notes from a linked table
    By dcorleto in forum Database Design
    Replies: 7
    Last Post: 01-05-2013, 03:20 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