Re: HOW DO I EDIT A RECORD IN ADO
- From: "Brendan Reynolds" <brenreyn@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Jun 2005 10:41:18 +0100
In addition to Val's good advice, make sure you have an editable recordset
to begin with. Unlike DAO, in ADO you get a read-only recordset if you
accept the default values for the CursorLocation, CursorType, and LockType
properties.
On-line documentation is at ...
http://msdn.microsoft.com/library/en-us/ado270/htm/mdmscadoapireference.asp
--
Brendan Reynolds (MVP)
"squiggy" <squiggy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DBB26C25-E621-435E-BAEE-3FDDBD19E131@xxxxxxxxxxxxxxxx
> PREVIOUSLY, IN DAO I USED CODE SIMILAR TO THIS:
>
> With rst
> .Edit
> ![Pro Work] = "Yes"
> ![Work Date] = Date
> ![Status] = "App Not in Work Que"
> .Update
> End with
>
> How do I edit the same record set using ADO? I have read a few manuals,
> but
> found them a little confusing. My time limits my search on the internet.
>
> I have my connection established and I am able to read data in from my
> record set
> but when my program decisions through the logic it doesn't edit the record
> set.
>
.
- Follow-Ups:
- Re: HOW DO I EDIT A RECORD IN ADO
- From: squiggy
- Re: HOW DO I EDIT A RECORD IN ADO
- References:
- HOW DO I EDIT A RECORD IN ADO
- From: squiggy
- HOW DO I EDIT A RECORD IN ADO
- Prev by Date: Re: System.InvalidOperationException when attempting to add a record
- Next by Date: Re: Cached ADO
- Previous by thread: Re: HOW DO I EDIT A RECORD IN ADO
- Next by thread: Re: HOW DO I EDIT A RECORD IN ADO
- Index(es):
Relevant Pages
|
|