[u]
Pgtips</u>
the reason I was after this particular solution was to be able to use the command settings to satisfy almost all connection requirements rather than a different style of connection for different programs. Iwas trying to make it easier for me to remember how to code.
I agree I could use the text method without a recordset using direct text SQL statements. It does seem to me that your earlier suggestion about SQL stored procedures is a wise one. If you were setting up any kind of database maintenance ( eg interactive order entry and maintenance ) I guess you would use stored procedures? In fact as a general rule, would you agree
VB is to provide a frame work for file updates that occur as close to the database as possible?
[u]
gbianchi</u>
I tried adding the line. I now get a different error:-
'Current Recordset does not support updating. This may be a limitation of the providor or the selected locktype.'
The recordset is locked for updates by the fact that I have specified lockoptimistic but something is still wrong.
I have a feeling I am missing something fundemental about the way I should code this.
The actual link it is failing on is the first line I try to and update something in the recordset:-
objRS01("Qty") = objRS01("Qty") + 1
Dazed And Confused