General discussion

Locked

UnBound DBGrid Problem

By VenkatS ·
We use UnBound DBGrid connected to variant array in one of our VB5 projects. Occasionally, we encounter a strange behaviour in the DBGrid, which is as follows -
When the data in the last row of the DBGrid is edited, the edited data seems to appear in the first row, while the last row remains unchanged. Though actually checked through the code, the data in the last row is the one that is changed, and not the first row, what appears changed on the display is the first row. This problem does not always appear under similar cicumstances. When checked with 2 DBGrids with similar number of rows, visible rows and same data, one worked fine while the other had the problem.

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

UnBound DBGrid Problem

by JuanDeMarco In reply to UnBound DBGrid Problem

I have had simuler problems with this. The problem lies in the programing. The screen is not refreshing properly and the curser is told to go to point x. If this statement is not preceded by a clear screen statement, you will have the information appearing twice.
Solution: if you know the programer call them and tell them this; download any upgrades for the program; or lastly, if the program has a refresh key or function, use it to refresh the screen.
Hope this works.
-Juan

Collapse -

UnBound DBGrid Problem

by VenkatS In reply to UnBound DBGrid Problem

The question was auto-closed by TechRepublic

Collapse -

UnBound DBGrid Problem

by JimBb In reply to UnBound DBGrid Problem

Not the screen, the form needs to be refreshed to display things properly.

Jim

Collapse -

UnBound DBGrid Problem

by VenkatS In reply to UnBound DBGrid Problem

The question was auto-closed by TechRepublic

Collapse -

UnBound DBGrid Problem

by VenkatS In reply to UnBound DBGrid Problem

This question was auto closed due to inactivity

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums