Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datagrid out of sync after minimizing

Status
Not open for further replies.

Corinne

Programmer
May 15, 2001
146
US
Has anyone come across this before?

I have a datagrid on a form. The datagrid is populated from an ADO control. Everything works great so far. The AllowUpdate property of the datagrid is set to false. I have one user out of 75 that based on the security level she is view only. When she populates the datagrid with an account number, the grid pops with the correct data. If she then clicks in a cell (the datagrid is enabled so the users can scroll) of the datagrid and leaves her cursor there and minimizes the form, when she brings it back up, the grid is cleared except for the cell that she left the cursor in. If she then goes and keys in another account number the grid will populate with all of the data correct EXCEPT for the cell where she had left the cursor before. When she exits the application with the incorrect data in that field, the database becomes updated with the incorrect data. So I have 2 questions: 1. Why does that happen on the minimize of the form, why would only one cell remain populated? Is there someing left in the buffer? 2. How can she be updating the database when the datagrid is set to AllowUpdate to false? If anyone has come across this, please respond. I'm at a loss as to why this would be happening.

Thanks,
Corinne
 
No one has ever experienced this before? I looked on the microsoft site and reviewed everything I could find on known bugs & fixes, but was unable to find anything that deals with this situation. Any ideas?

Thanks,
Corinne
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top