Thanks, Its working fine.

when I Insert data in the table first time it shows from starting but next time it append from the last.

Can it possible that current data will always show from the starting of the table.

Like :-


Qt Code:
  1. when I send data 1,2,3
  2.  
  3. it shows
  4. 1
  5. 2
  6. 3
  7.  
  8. and when I send data second time 4,5 it shows
  9.  
  10. 1
  11. 2
  12. 3
  13. 4
  14. 5
  15.  
  16. But I need to show in this format where 5 is the latest data
  17.  
  18. 5
  19. 4
  20. 3
  21. 2
  22. 1
To copy to clipboard, switch view to plain text mode