A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

move selection from list1 to list2



 
 
Thread Tools Display Modes
  #1  
Old January 26th, 2006, 07:27 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default move selection from list1 to list2

I'm curious as to how i would move a selection from one list box to another
on the same form.

My first list box displays a complete list of 'units'. I would like to set
up a dblclick code to move the selection to a 2nd list box below. Also, i
would like the list in the 2nd box to accumulate, so that every new 'unit' i
dblclick, it adds it on to the list below. I just dont know the code...

Any suggestions??

  #2  
Old January 26th, 2006, 10:27 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default move selection from list1 to list2

Never Mind everybody, I figured it out....If anybody else has a similar
problem, the solution is (forgive me for bad programming or small errors) to
open a dbl_click event code, declare a variable as a string, set the string =
the name of your first list box, then nameofsecondlist.Additem
Item:=stringname, then your off to the races...



"polisci grad" wrote:

I'm curious as to how i would move a selection from one list box to another
on the same form.

My first list box displays a complete list of 'units'. I would like to set
up a dblclick code to move the selection to a 2nd list box below. Also, i
would like the list in the 2nd box to accumulate, so that every new 'unit' i
dblclick, it adds it on to the list below. I just dont know the code...

Any suggestions??

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I have a list1 and a list2, I want to remove list2 from list1 snow Worksheet Functions 4 January 19th, 2006 05:51 PM
Can't move or delete messages from OL2000 inbox - can anyone help? Anthony Travis Installation & Setup 1 October 24th, 2005 01:01 AM
Outlook 2000 Rules -- Move Mail From Multiple Senders With One Rul Kevin O General Discussion 0 September 19th, 2005 05:28 PM
Move data from one column to another Frank Kabel Worksheet Functions 5 March 17th, 2004 01:21 AM


All times are GMT +1. The time now is 10:22 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.