Results 1 to 3 of 3
  1. #1
    Huddle is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Jun 2010
    Posts
    318

    Combo Box Autofilling with Data from another table

    I created the below formula using the form's table as the base on the combo box. I didn't want to have to scroll through all the table records to get the data even though the autofill would work the way it should.

    I created a lookup table with the same info and have the combo box directed to it. Everything is the same except the combo box is pointed to the look up table. Is there a different syntax I should be using?

    Private Sub Combo29_AfterUpdate()
    Me.LastName = Me.Combo29(2)
    Me.Title = Me.Combo29(3)
    Me.Add1 = Me.Combo29(4)
    Me.Add2 = Me.Combo29(5)
    Me.City = Me.Combo29(6)
    Me.State = Me.Combo29(7)
    Me.Zip = Me.Combo29(8)
    Me.WkPh = Me.Combo29(9)
    Me.Extension = Me.Combo29(10)
    Me.CellPh = Me.Combo29(11)
    Me.Fax = Me.Combo29(12)
    Me.Email = Me.Combo29(13)

  2. #2
    Rawb is offline Expert
    Windows XP Access 2000
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    Try using Me.Combo.Column(x) instead and see if that works.

  3. #3
    Huddle is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Jun 2010
    Posts
    318
    You are so right...you know it's time to eat when you make such a dumb mistake. Thanks for your help.

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

Similar Threads

  1. Replies: 1
    Last Post: 05-25-2010, 02:58 PM
  2. Replies: 10
    Last Post: 04-21-2010, 01:16 PM
  3. Blank Data to Combo
    By dlewicki in forum Access
    Replies: 10
    Last Post: 01-14-2010, 10:07 AM
  4. Replies: 0
    Last Post: 08-01-2009, 12:43 PM
  5. Unmatched data entered with data in table
    By boreda in forum Access
    Replies: 0
    Last Post: 07-28-2006, 09:11 AM

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