Results 1 to 3 of 3
  1. #1
    koncreat is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    May 2015
    Location
    U.S.
    Posts
    43

    Using After update and getting error


    In the form invoices I am using a field, bill_to_name that is supposed to update the three fields directly beneath it. I have this setup in the after update property of the bill_to_name comb box. When I try to select a record in the box i am getting a VB error. I have attached a copy of the database.
    Attached Files Attached Files

  2. #2
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,407
    Should be like this:

    Code:
    Option Compare Database
    Option Explicit
    
    
    Private Sub bill_to_name_AfterUpdate()
    bill_to_street = bill_to_name.Column(1)
    bill_to_city = bill_to_name.Column(2)
    bill_to_state = bill_to_name.Column(3)
    End Sub

  3. #3
    koncreat is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    May 2015
    Location
    U.S.
    Posts
    43
    Thank you that did it!

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

Similar Threads

  1. Replies: 5
    Last Post: 07-15-2019, 10:20 AM
  2. UPDATE 3073 error trying to update a table field
    By GraeagleBill in forum Programming
    Replies: 2
    Last Post: 10-11-2018, 05:11 PM
  3. Replies: 6
    Last Post: 03-17-2016, 02:10 PM
  4. Replies: 5
    Last Post: 06-12-2015, 02:15 PM
  5. Replies: 2
    Last Post: 03-19-2015, 01:33 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