r1gga
asked on
Simple AODC Data Question
Hi
I wish to edit an item of data from a recordset using code, so far I have the following
dbOrders.Recordset.Fields( "Prepared" ).Value = Username.Text
dbOrders.Recordset.Update
I get the error "Operation must use an updateable query", even though dbOrders.EditMode is set to "write".
Please Help
Thankyou r1gga
I wish to edit an item of data from a recordset using code, so far I have the following
dbOrders.Recordset.Fields(
dbOrders.Recordset.Update
I get the error "Operation must use an updateable query", even though dbOrders.EditMode is set to "write".
Please Help
Thankyou r1gga
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Your query is not updatable, probably becouse of some JOIN in it. Post quesry here, or rethink why recordset can not be updated. Maybe records are not uniquely identified...
ASKER
ok thanks angell, u prompted me in the right direction, the problem was the editmode settings for the adodc have no bearing on the recordset as it is defined by an SQL query so i defined write access in the SQL and it works thanks!