Results 1 to 4 of 4
  1. #1
    craig1988 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2014
    Posts
    82

    Move records from listbox to listbox (like a wizard)

    Hi all

    I have found a couple of different examples of what I am looking for but none have has everything I need. Hopefully someone can point me in the right direction.

    I have a form with 2 listboxes (lstOne, lstTwo) & 4 cmdbuttons (cmdMoveSingleOneToTwo, cmdMoveAllOneToTwo, cmdMoveSingleTwoToOne, cmdMoveAllTwoToOne). I have a table with the records I want to pick and chose from (tblFields which has fldID, fldVal, fldDesc)The database will be used by multiple users so adding a bolean (Yes/No) is not an option. I presume I need to load the records up into a dynamic recordset as any user opens the form???

    Anybody got any ideas?



    Thanks

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722

  3. #3
    craig1988 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2014
    Posts
    82
    I don't think that is a suitable approach? the data in the table cannot be edited as there may be multiple users editing the list boxes. The records in the list boxes must be unique record sets created by each user as they open the form.

    The record set will be a copy of the records within the table but the actual records within the table should not by used in the list boxes.

    This is why I assume I have to use recordsets??

  4. #4
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    You have not said what you are trying to do with the form/list boxes/buttons. Yes, I know - move records between list boxes. but not really move them.

    Is the dB split?
    How static are the records in the table? If the dB is split, you could use a temp table in the FE.
    How long do you need to keep the records in the list boxes separate?
    And, WHY are you doing this?

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

Similar Threads

  1. Transfer records from listbox 1 to listbox 2 gone wrong
    By Pommetje77 in forum Programming
    Replies: 6
    Last Post: 11-08-2016, 04:36 AM
  2. Replies: 2
    Last Post: 05-21-2014, 01:16 PM
  3. Listbox Scrollbar - Can I move it to the left?
    By mantooth29 in forum Forms
    Replies: 4
    Last Post: 04-11-2014, 02:29 PM
  4. Move Data from one listbox to another
    By WickidWe in forum Access
    Replies: 15
    Last Post: 12-16-2013, 08:25 PM
  5. Replies: 1
    Last Post: 09-10-2012, 11:21 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