Listview changes are disappearing

  • Thread starter Thread starter jmp23834
  • Start date Start date
J

jmp23834

I have a ListView object built at design time. At runtime I populate
the rows and columns. The application takes data from a textbox box and
updates the ListView. It all seems to work fine unitl I pop up a
MsgBox. When that happens all the changes disappear and the listview
goes back to the original data.

How do I keep the updates?
 
Please post the code you have so I or someone else can take a look.

Without seeing your code its always hard to provide a solution
 
Problem fixed!

The initial build of the listview was in the form activate routine. The
MsgBox causes the form to re-activate, rebuilding the original data. I
moved the code to the frpm_load event and all works fine.
 

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