edit or not edit !!! ;-) 
Author Message
 edit or not edit !!! ;-)
Hi,

Some problems here...

I've ADODB.Recordset objet and I can't access the Edit method, why? Where is
the edit method?

I see some example with the ADO who used the edit method... Hum...

TIA

Baker



Wed, 29 Jan 2003 03:00:00 GMT
 edit or not edit !!! ;-)



How are you opening your recordset, keyset?
Quote:
>Hi,

>Some problems here...

>I've ADODB.Recordset objet and I can't access the Edit method, why? Where is
>the edit method?

>I see some example with the ADO who used the edit method... Hum...

>TIA

>Baker



Wed, 29 Jan 2003 03:00:00 GMT
 edit or not edit !!! ;-)
There is no Edit method that can be used with the ado recordset. To update a
record you just have to assign new values to fields and call the update
method.

Example:

adors!Field1Name=1
adors!Field2Name="some text"
adors.Update

Where FieldXName is the actual name of the field in the recordset. You don't
have to follow any specific order in which you'll assign values to fields.

GAZ!!!


Quote:
> Hi,

> Some problems here...

> I've ADODB.Recordset objet and I can't access the Edit method, why? Where
is
> the edit method?

> I see some example with the ADO who used the edit method... Hum...

> TIA

> Baker



Wed, 29 Jan 2003 03:00:00 GMT
 edit or not edit !!! ;-)
There's no Edit method in ADO. If you want to use it to control locks, you
can simulate an Edit method using rsRecordset(0) = rsRecordset(0). It's the
same.

Salvador Acosta



Quote:
> Hi,

> Some problems here...

> I've ADODB.Recordset objet and I can't access the Edit method, why? Where
is
> the edit method?

> I see some example with the ADO who used the edit method... Hum...

> TIA

> Baker



Fri, 31 Jan 2003 03:00:00 GMT
 
 [ 4 post ] 

 Relevant Pages 

1. D1-Oracle-Tquery-Dbgrid edit gives 'couldnt perform edit cos another user changed record

2. editing drop down edit list

3. VFP5 - How to edit an edit box

4. Displaying edited articles by latest edited date

5. VFP5 - Can I Edit an Edit Box?

6. CAN NOT ENTER EDIT (DESIGN) FOR REPORTS AND FORMS

7. could not edit the column of datagrid where this column is being binded to an alias

8. editing DTS packages on server, then not avail to clients

9. dataset not in edit or insert mode

10. DBGrid, how to edit but not insert?

11. Error: ...not in Edit or Insert mode!

12. Not in edit or insert mode===> HELP


 
Powered by phpBB® Forum Software