We help IT Professionals succeed at work.

how to copy 1 record in ADODB.Recordset

bobdylan75
bobdylan75 asked
on
Medium Priority
684 Views
Last Modified: 2012-05-06
Hi,
How can I do to copy 1 record in a ADODB.recordset?
Thanks!
Comment
Watch Question

what do you mean by copy?

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

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"
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?
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.