where did you receive the error 91???
unless I miss something, the do until can be removed, too...
this line
Code:
Set frmppdsame.grdvalues.DataSource = Adodc1
bind the grid to the recordset... also do a refresh in the grid...
also: do you have key preview in true?? to catch every key stroke, but it a bad idea to fill the grid that way, you will requery the table in every key stroke!
HTH
Gonzalo