Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2009
    Location
    Gatineau, Quebec Canada
    Posts
    147
    Provided Answers: 1

    Unanswered: Listboxes and Add Item

    Greetings All,

    I want to use list boxes to assign teachers to individual examinations, The first box would list examinations, the second teachers and the third an examination with a teacher. I have tried loading the third on the afterupdate event -- without success.

    Does "additem" and "removeItem" work in Access 2003(it doesn't appear to from my experiments).

    Can anyone suggest a useful tutorial?

    Regards

    John S.
    Guangxi University (currently)
    China

  2. #2
    Join Date
    Jun 2005
    Location
    Richmond, Virginia USA
    Posts
    2,763
    Provided Answers: 19
    Additem and RemoveItem works in 2003, but it only works if the Listbox is based on a Value List. They cannot be used on Listboxes based on tables or queries, which sounds as if it might be the case here. In 2003, adding/removing data from Listboxes has to be done by doing thru the underlying table or query.
    Hope this helps!

    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

Posting Permissions

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