Results 1 to 4 of 4
  1. #1
    ShostyFan is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2013
    Posts
    76

    comboBox

    I have a combo lookup box that has 6 columns. On my form I have 6 fields that the combo box is to populate. For some reason only the first 3 fields are populating, the other fields remain blank. Here is my AfterUpdate:


    Me.SerialNumber = Me.cmboSerialNumber.Column(0)
    Me.Instrument = Me.cmboSerialNumber.Column(1)
    Me.Size = Me.cmboSerialNumber.Column(2)
    Me.Description = Me.cmboSerialNumber.Column(3)
    Me.Replacement_Cost = Me.cmboSerialNumber.Column(4)
    Me.RentalRate = Me.cmboSerialNumber.Column(5)

    SerialNumber, Instrusment, and Size populate as expected.
    I can't figure out what I am missing? the data types are also the same between the two tables, if that matters.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Can you post a zipped copy of your database?

  3. #3
    ShostyFan is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2013
    Posts
    76
    Very strange, I took out the relevant forms and tables and tried it out and Access gave me a compile error (didn't happen on my main database). From the compiler error i learned that the description field (3) was set to be only 10 char long....very strange because i have no reason to ever change that from the default 50. Anyway, that cleared it up, all is good.
    still strange to me that it would no fill the 4th and 5th column.
    sorry for the waste of time.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726

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

Similar Threads

  1. Replies: 1
    Last Post: 09-06-2011, 01:47 PM
  2. Replies: 29
    Last Post: 08-16-2011, 05:52 PM
  3. Replies: 6
    Last Post: 07-28-2011, 04:07 AM
  4. Replies: 0
    Last Post: 08-24-2010, 06:38 PM
  5. Replies: 0
    Last Post: 12-16-2009, 01:14 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