Jump to content


Photo

Insert into a table linked to a DB Grid


  • Please log in to reply
No replies to this topic

#1 golfbrad

golfbrad
  • Members
  • 15 posts

Posted 08 October 2015 - 11:07 PM

I am using DBGrid version 5 (latest) and Delphi XE 8.

I have a native SQL command performing an Insert into a table that is displayed in a DB Grid.  

When I execute the SQL command it performs the Insert with no problem, but the DB Grid goes blank!

 

Do I need to re-query to populate the grid or is there some sort of trick I don't know for simply displaying the new record in the grid?

 

Thanks.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users