General discussion

  • Creator
    Topic
  • #2084680

    UnBound DBGrid Problem

    Locked

    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.

All Comments

  • Author
    Replies
    • #3750472

      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: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

    • #3806968

      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

    • #3805958

      UnBound DBGrid Problem

      by venkats ·

      In reply to UnBound DBGrid Problem

      This question was auto closed due to inactivity

Viewing 2 reply threads