473,395 Members | 1,783 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,395 software developers and data experts.

How do I "Copy" and "Paste" child subform records in details section?

Hello. I am new to access, but have had great success in creating an application. My one user is requesting a function to save time in data entry... and I am stumped being the plebian that I am.

My application is used to enter land owner information by parcel (40 acre lots). For example: for parcel #1 someone owns the land, someone owns the mineral rights, someone owns the water rights, etc, etc... and we inventory about 36 square miles of land (about 600 parcels) for now.

My master on the form is the Parcel ID, and the child subforms are the different categories of ownership (surface, mineral, etc) sorted by their legal descriptions (Parcel ID - which includes Township, Range, Section, QQ).

I want to create a function that works like copying something to the clipboard, but I would be "copying" the current records in the subforms so I could "paste" them into a different Parcel ID record.

Here is my question:
How can I copy all the records on a subform (using a click event), find a different record (parcel), and then "paste" them into the same subforms (using a click event)?

Keep in mind I will need new auto numbers.

Do I store them as a variable? Use an append query? If someone could start me off on the right foot, I would be grateful. If you need more details I will provide.

Thanks,
Adam
Oct 2 '07 #1
1 2252
nico5038
3,080 Expert 2GB
Copying data isn;t the way to go in a normalized database.
You should identify the "corresponding" fields and create another table with an autonumber ID for them.
You can see the Northwind.mdb as a sample. Not every order will hold the Customer Address information, there's a tblCustomer and there's the address. The order just holds the CustomerID.

The same way you need to rethink your tables.

Getting the idea?

Nic;o)
Oct 6 '07 #2

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

Similar topics

5
by: Add and Paste | last post by:
Dear Access developers, I have a lot of cut and pasting to do from Excel to an Access form. But instead of just pasting, I want to "add then paste" the value. Does anybody have a way to do this?...
2
by: Eric Sabine | last post by:
During a process in an app, I have a string created in code that I want automatically saved in the user's cache so he can move to another program and do a CTRL-V (or paste). This is easy I'm sure,...
3
by: Stan Brown | last post by:
Posted by Pierre Blais in the current RISKS Digest: http://catless.ncl.ac.uk/Risks/24.24.html#subj9 -- Stan Brown, Oak Road Systems, Tompkins County, New York, USA http://OakRoadSystems.com/...
2
by: yevron2 | last post by:
Hello, I am tring to write a clipboard spy that catches events from the clipboard. I used the SetClipboardViewer api to get events when data is copied into the clipboard, and also...
1
by: Özden Irmak | last post by:
Hello, Does anybody know a way to get the local equvalents of strings used by explorer such as "Cut","Copy","Paste" ? Thanks in advance... Regards, Özden Irmak
7
kcdoell
by: kcdoell | last post by:
Good morning everyone: I created a form and set the default view as a continuous form. Basically the form is displaying records in which the user can add or edit new ones. The record source for...
1
by: aeconsta | last post by:
I want to add images to my database by copying and pasting the image. I am using MS SQL Server Express 2008 and MS VB Express 2008. I want to create a simple program that displays data including...
3
by: Kappucino XL | last post by:
Hi There.. What is the Macro or Code Builder Event, For Copying And Pasting. i.e: I need to click on a field in a textbox, and it must be copied jus by clicking on it. Then I want to click on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.