ListBox and Save Changes...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Greetings to you all

I have a listbox with some data loaded from the database...

When I select each record, it will fill a form that I have in the same
window...

What I wanted is that when I change something on the form, the var bNeedSave
= true and if I change the record without saving it would ask if I want to
save Changes...

The problem is that when I do that is changing the data to the currently
clicked item...

How can I mantain the last selected index to make the save properly

Thanks a lot
 
It Reference problem looks like, are you using DataSets? Can you give a
outline code.. if possible?

VJ

"Diogo Alves - Software Developer"
 
I alread solved the problem...
I used a var to hold the last index selected and then on the save use that
value :D

Thanks anyway!
 

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