Results 1 to 2 of 2

Thread: Field Auto Fill

  1. #1
    Join Date
    Jan 2002
    Location
    Nottingham - UK
    Posts
    113

    Unhappy Field Auto Fill

    Hello !

    I have a list box on a form field and when one of the list items is selected I need to two other fields to auto fill automatically with the respective data related to the item seleted from the list box.

    Does that make sense ?

    Thanks

  2. #2
    Join Date
    Apr 2002
    Location
    Portugal
    Posts
    146
    With the AfterUpdate event procedure of your listbox type the following code.

    [control name that you want the data from listbox enters]= [listbox name].Column(0)

    [other control that you want]=[listbox name].Column(1)

    and so on!

    Note: The number zero represents the first column of you list or combo box and 1 the second and so on.

    Hope this helps!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •