hello, i'm trying to update dbgrid with coding... say if they tried to add a new record, then i get a name and the age with inputbox and then i do it with a code
like

datexample.addnew ...' add and then refresh
datexample.refresh
however, it does not show on the dbgrid. but if i exit the program and start it back, it shows... i know it's kinda confusing but help... i want it to show the newly added record without exiting and restarting the prog