Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 375
  • Last Modified:

Copy list box item from from listbox to another

Hi,

I have a table of services (tblServices) which is displayed in a listbox on a main form frmMain.  There is also another listbox on frmMain which is linked to tblCustomerServices.  What I'm trying to do is allow a user to select from the list of services in tblServices listed in the listbox on the form and move selected items to the listbox linked to  tblCustomerServices.  

The tblCustomerServices will have the customerID, and serviceID stored.

Hope I have explained this correctly.
0
anthonytr
Asked:
anthonytr
  • 5
  • 2
1 Solution
 
Jeffrey CoachmanCommented:
0
 
anthonytrAuthor Commented:
what is the attachment you have submitted?
0
 
Jeffrey CoachmanCommented:
it is an Access sample database illustrating what you requested,
Perhaps there was an issue with the upload...here it is again in the .mdb format and the .accdb format
Access-Basic-SampleMoveSelectedItemsList
Access-Basic-SampleMoveSelectedItemsList
0
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
Jeffrey CoachmanCommented:
There seems to be an issue with uploading database files...
Here is a zip file
Access-Basic-SampleMoveSelectedItemsList
0
 
Jeffrey CoachmanCommented:
....or perhaps the filenames are too long?
Sample1.zip
Sample2.accdb
Sample3.mdb
0
 
anthonytrAuthor Commented:
Thank you!  They are very helpful.  My Mac didn't like any of the other files :)  It's all sorted now.

Thanks again.
0
 
Jeffrey CoachmanCommented:
;-)

Glad I could help.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now