[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 672
  • Last Modified:

how to copy 1 record in ADODB.Recordset

Hi,
How can I do to copy 1 record in a ADODB.recordset?
Thanks!
0
bobdylan75
Asked:
bobdylan75
  • 2
2 Solutions
 
RamanaChoudaryCommented:
what do you mean by copy?
0
 
bobdylan75Author Commented:
I've a recordset that have 3 records.
A,B,C
I want to copy A in D.
so it will have 4 records: A,B,C,D.
and the values of fields of D are like A ones.
I ask if there are a command or a metods to use to make these,
a metods as "update","delete","addnew", I think somethink like "copy"
0
 
bobdylan75Author Commented:
If nobody else have an idea.
I you the
For each f in recordset1.fields
next
structure to update one field at a time.
and so update the current new record.
there aren't a more elegant way?
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now