Getting data from one form to another

  • Thread starter Thread starter Nathon Dalton
  • Start date Start date
N

Nathon Dalton

I have two forms, one has a listbox on it and the other I pop up (modal) in
order to add items. The poped up window has two listboxes with >> > < <<
arrows to add all, remove all, add one or remove one. The resulting items
need to be populated in the first form's listbox.

For example:

frmIncidents - Contains a listbox with nothing initially.
frmAddIncidents - Contains two listboxes that allow you to add/remove all or
some of the Incident codes.

When you click on OK on frmAddIncidents, the items in the selected listbox
on that form, need to be transferred to frmIncidents.
 
Sorry, another important piece of info. The frmIncidents page is an
MDIChild, however, the modal form is not.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top