Hello...
i want to update two fields of a table when user tries to change the code from the grid..i have given in the leavecell event of grid to update the fields..but i am getting the error such as recordset not opened..
what i have given is, recordset.open"UPDATE mytablename SET fieldname='value' AND trim(mid(fieldname,4,6))='value'",myconnection
it is coming that the "operation is not allowed when the object is closed"..how to do? please help me...
thanx in advance..
i want to update two fields of a table when user tries to change the code from the grid..i have given in the leavecell event of grid to update the fields..but i am getting the error such as recordset not opened..
what i have given is, recordset.open"UPDATE mytablename SET fieldname='value' AND trim(mid(fieldname,4,6))='value'",myconnection
it is coming that the "operation is not allowed when the object is closed"..how to do? please help me...
thanx in advance..