473,413 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

MS Access : Copy and Paste record by using Button command

Hi,
Really need help. I have a form. I want to copy a record and paste it to another field by using button command. (In the same record id).

please refer to the attachment.
Thank you.

Attached Images
File Type: jpg photo_2017-11-21_00-05-12.jpg (66.9 KB, 1290 views)
Nov 20 '17 #1
4 3796
NeoPa
32,556 Expert Mod 16PB
I suspect your main problem is you don't really understand what you're working with. I can't help with that but I can say if you have controls on a form then you can assign the value of one control to another in VBA code quite easily.

I strongly suggest you work out what you want to do before trying to get it to work. Until you get that far you won't even recognise a correct answer even if you were to see one. FYI You can't use the clipboard to copy/paste information across multiple controls.
Nov 21 '17 #2
Thank you. Sorry can't explain correctly. I am not good in VBA.

I have OLD data (3K employees) which the ADDRESS has been updated/corrected.

and Now, I received NEW same data with additional new records (total about 8K employees). Can say additional 5K new employees. This new data come with incomplete ADDRESS that need to be corrected (as what has been done to the OLD data).

So, I have combined OLD(3K) and NEW(8K) data by using Query function which is about 3K records are same. Only the ADDRESS not the same.

Instead of using Ctrl+C and Ctrl+V, i prefer using BUTTON that easier/fast to copy ADDRESS to new address field. This NewADDRESSField should be the best/latest address for the employees.


So, I have created NewADDRESSField for the latest address.
BUTTON function is to COPY from OLD/NEW employee's ADDRESS record and PASTE it to NewADDRESSField record.

Thank you.
Nov 21 '17 #3
PhilOfWalton
1,430 Expert 1GB
Do you have any exactly matching data in the Old & new tables (EmployeeID would be perfect, or First name, Last Name & Email would be nearly perfect as would a Mobile phone number?

If so you can do an update query and save a lot of work.

Phil
Nov 21 '17 #4
NeoPa
32,556 Expert Mod 16PB
I suspect Phil is on the right lines. The closer attention you pay to him and work with him the better help you will get.

I appreciate English can be a struggle but so will Phil so let him guide you.
Nov 23 '17 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Sean Howard | last post by:
Dear All, As is my want I need to do something in Access that seems simple but cannot fathom out. I have main form with two subforms, both datasheets with an almost identical table structure....
1
by: PalJoey | last post by:
I am having a problem copying and pasting records into the same table. When I copy a record that has a zero length string for a field Access seems to convert it to NULL when pasted. One of the...
7
by: lgbjr | last post by:
Hello All, I¡¯m using a context menu associated with some pictureboxes to provide copy/paste functionality. Copying the image to the clipboard was easy. But pasting an image from the clipboard...
1
by: AA Arens | last post by:
I my form I have put record navigation buttons. When I choose just before the last record, the "Go to next record" button, access automatically start with a new record instead of a message that...
6
by: roopashree | last post by:
hi, currently I am able to cut,copy and paste images for only one image. Suppose I have 4 images-then I should group all the images so that I can cut/copy all 4 images and paste them. How...
1
by: CoolFactor | last post by:
MY CODE IS NEAR THE BOTTOM I want to export this Access query into Excel using a command button on an Access form in the following way I describe below. Below you will find the simple query I am...
1
by: Invicta | last post by:
There are two fields I need to copy preferably using a command button. If possible I would also like to stipulate how many new records I want. I've made a start using the in built Duplicate Record...
1
by: alarock | last post by:
anyone please reply me ..how do i do cut copy paste operation using graphics path and clipboard with c#........... please reply to my mailto:: deleted
5
by: Jock | last post by:
My purchase order system sequentially added the next number to the new order when I clicked the macro button set up with copy/paste functions and it worked well. I cannot do this now as 2007 does...
17
by: RachelleB | last post by:
I'm trying to find the best way to do the following 1. From a main form (my own switchboard) press a command button to open a form 2. Before the form opens a Input Box appears asking for the ID...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.