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

copy/paste a recordset

What is my best option for enabling users to copy and paste an entire
recordset, but allowing them to change the value of the "one" record in a
series of one-to-many relationships?

For example:
EstimateID in tblEstimate is on the one side of a relationship with records
in tblItem...
which is on the one side of a relationship with records in tblItemDetail.

What I'd like to enable users to do is (maybe via form?):
Select EstimateID "2", then users could enter a new value, such as "5", and
it would generate a complete new set of records associated with EstimateID 5
that matches EstimateID 2.

Why? I have an estimating database, and we often are asked to rebid projects,
and working off a previous estimate is substantially faster that re-entering
the entire project. We want to leave, in the example given, EstimateID 2, in
tact, but the recordset may be almost a 100% match. I hope this all makes
sense.

Any suggestions are appreciated?

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200611/1

Nov 17 '06 #1
1 3306
On Fri, 17 Nov 2006 16:15:51 GMT, "Slez via AccessMonster.com"
<u23064@uwewrote:

Provide a Copy Estimate button on the Estimate form. The user would
click it when she's on the From-Estimate. Then prompt to enter a new
EstimateID (or have one system-generated), and then you do the work
behind the scenes with parameterized append queries that look back to
this form for their parameters.

-Tom.

>What is my best option for enabling users to copy and paste an entire
recordset, but allowing them to change the value of the "one" record in a
series of one-to-many relationships?

For example:
EstimateID in tblEstimate is on the one side of a relationship with records
in tblItem...
which is on the one side of a relationship with records in tblItemDetail.

What I'd like to enable users to do is (maybe via form?):
Select EstimateID "2", then users could enter a new value, such as "5", and
it would generate a complete new set of records associated with EstimateID 5
that matches EstimateID 2.

Why? I have an estimating database, and we often are asked to rebid projects,
and working off a previous estimate is substantially faster that re-entering
the entire project. We want to leave, in the example given, EstimateID 2, in
tact, but the recordset may be almost a 100% match. I hope this all makes
sense.

Any suggestions are appreciated?
Nov 17 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tlm | last post by:
Hello All, I have a form (FrmA) with a subform (SubFrmB) embedded in it. SubFrmB also has a subform embedded in it (SubFrmC) The form's recordsource is based on a table (TblA). SubFrmB's...
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....
6
by: Geir Baardsen | last post by:
Hi! This is a routine for copying a recordset into a new order. It has worked fine under Win98. However, my client has changed to Win XP, and suddenly it doesn't work anymore. I keep getting the...
4
by: Legendary Pansy | last post by:
I was checking out the 101 C# Samples, specifically Windows Forms - Use the Clipboard. I took a look at the code for a while, and I understand what the program is doing with the cut, copy, pasting...
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...
5
by: Kaur | last post by:
Hi, I have been successful copying a vba code from one of your posts on how to copy and paste a record by declaring the desired fields that needs to be copied in form's declaration and creating two...
17
by: Steve | last post by:
I'm trying to code cut, copy, and paste in vb 2005 so that when the user clicks on a toolbar button, the cut/copy/paste will work with whatever textbox the cursor is current located in (I have...
5
by: phill86 | last post by:
Hi I have a main form that holds records for scheduled meetings, date time location etc... in that form i have a sub form that has a list of equipment resources that you can assign to the meeting in...
8
by: jh | last post by:
I'd like to copy/paste into a listbox during runtime. I can do this for a textbox but can't figure out how to accomplish this for a listbox. Any help? Thanks.
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...

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.