Results 1 to 4 of 4

Thread: [Resolved] Listboxes and arrays

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    66

    Resolved [Resolved] Listboxes and arrays

    I am working in Access XP and I am creating a form that contains more than one listbox. I have generated 4 individual listboxes via the toolbar, but I have now decided it is more efficient to use an array of listboxes.

    However, I can't seem to figure out how to dynamically create a listbox array and place those list boxes on the form. I'm thinking it's not possible.

    Am I right?
    Last edited by whiteWay; Jun 14th, 2006 at 09:48 AM.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Listboxes and arrays

    I think this is more of an Access VBA question than a database question, so I believe the folks the "prowl" around this section would be in the best position to offer suggestions/advice.

    Moved to Office Development.

  3. #3
    Frenzied Member DKenny's Avatar
    Join Date
    Sep 2005
    Location
    on the good ship oblivion..
    Posts
    1,171

    Re: Listboxes and arrays

    Unfortunately you cannot use control arrays in VBA, so you will need to add each one indivually, sorry.
    Declan

    Don't forget to mark your Thread as resolved.
    Take a moment to rate posts that you think are helpful

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    66

    Re: Listboxes and arrays

    Thanks, I was pretty sure that you can't.

Posting Permissions

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



Click Here to Expand Forum to Full Width