Results 1 to 2 of 2
  1. #1
    byteme67 is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    2

    Adding a field from one tbl to another tbl


    I don't know if I am asking this correctly or accurately. I currently have one table called tblTicketData and one of the fields in this table is called StName (Street Name). I want to send the StName to another table maybe we call it tblStreetName. Here's the kicker. I want to be able to recall the tblStreetName into the tblTicketData and if the StName doesn't exist it will be added and update the table tblStreetName. But if it does exist obviously it doesn't update but it will allow me to not misspell the street name.

    So I don't know if this would be easy but any suggestion would be helpful. Also I somewhat new to this.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    If you want to add new records to tblStreetName 'on-the-fly' during data entry, use a combox to select StName and use code in its NotInList event. Common topic.

    Review:

    https://blueclawdatabase.com/notinlist-event-code/

    http://www.fontstuff.com/access/acctut20.htm
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 4
    Last Post: 02-09-2019, 10:22 PM
  2. Replies: 7
    Last Post: 10-19-2016, 11:11 AM
  3. Replies: 3
    Last Post: 07-01-2016, 08:11 AM
  4. Replies: 4
    Last Post: 02-03-2016, 09:23 PM
  5. Replies: 2
    Last Post: 03-30-2012, 07:39 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