![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Newbie
Join Date: Apr 2005
Posts: 18
Rep Power: 0
![]() |
Copying fields between two records
Hi guys,
I'm working with Access at the minute and have run into a problem. Basically, what I'm trying to do is create an 'add new record' button that will copy certain field values from the old record into the new record. For example Quote:
I'm trying to do this using and ADO recordset but not having much success. Any suggestions would be a help. Thanks! |
|
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Nov 2006
Location: 163H
Posts: 213
Rep Power: 2
![]() |
If you have an database application do it using MsAccess. About the ADO arent you using querys to add values? Because ado.net is pretty straight forward and i would strongly reccomend switching to .net.
__________________
You never test the depth of a river with both feet. The believer is happy. The doubter is wise. Free speech carries with it some freedom to listen. The next generation will always surpass the previous one. It`s one of the never ending cycles of life. |
|
|
|
|
|
#3 | |
|
Newbie
Join Date: Apr 2005
Posts: 18
Rep Power: 0
![]() |
Thanks for the reply, pegasus. I'm using MSAccess 2000 and VB 6. At present my code for the 'add new record' button looks like this:
Quote:
As always, suggestions are much appreciated. |
|
|
|
|
|
|
#4 | |
|
Newbie
Join Date: Apr 2005
Posts: 18
Rep Power: 0
![]() |
Found a way to code this copy function. It's not so pretty but it works. If you're interested here's how I did it
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DNS SRV Records | Dameon | C# | 0 | Mar 17th, 2007 4:59 PM |
| Question about analyzing 6 million records | Arla | C# | 11 | Jun 22nd, 2006 3:02 PM |
| Multiple Units and Records | Liens | Delphi | 4 | Jan 22nd, 2006 7:07 AM |
| Type Mismatch - Deleting Records | raikkonen | ASP | 1 | Nov 16th, 2005 6:00 AM |
| How to force all form fields to be submitted | aznluvsmc | Perl | 4 | Oct 28th, 2005 6:30 PM |