I have been trying to create a purchase order database in Access, and I have been successful in creating all the tables, queries and reports that I need. I have only one issue: I need to copy the PO - which has a relationship set up as one-to-many with a subform that includes the PO items (Qty, Desc & Price). I want to be able to create a duplicate record using a simple command button, that not only duplicates the main record, but includes all the PO items in the subform in the new duplicated record. Not sure how to proceed.
3 2374
I have been trying to create a purchase order database in Access, and I have been successful in creating all the tables, queries and reports that I need. I have only one issue: I need to copy the PO - which has a relationship set up as one-to-many with a subform that includes the PO items (Qty, Desc & Price). I want to be able to create a duplicate record using a simple command button, that not only duplicates the main record, but includes all the PO items in the subform in the new duplicated record. Not sure how to proceed.
Why are you duplicating??? Surely that is against DB protocol?
what is the reason ? there may be other ways to give that same functionality
Why are you duplicating??? Surely that is against DB protocol?
what is the reason ? there may be other ways to give that same functionality
I need to copy the PO, then edit - so that PO's with many entries in the ITEM ENTRY subform will be copied as well, the new PO# will be assigned and then I can edit the required date, Vendor, etc. Will save data entry time with a new similar PO.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Ben Kial |
last post by:
I need to write a program to "copy" files and preserved the files'
atime, mtime, ctime, file permissions. I also need to have this
program working in Unix and Windows, where the "Archive"
attribute on the file also has to be preserved (any more
Windows idiosyncrasies?).
Any help will be very much appreciated. Thanks in advance.
Ben
|
by: Kevin Schneider |
last post by:
Please forgive me if this is a bit off topic, but I haven't had any
takers in other forums.
With ASP.NET projects, is it possible to have VS.NET automatically
change the configuration options of the "Copy Project" dialog box
based on the value selected in the "Solution Configurations" drop down
list?
I'd like to set up the project that when Release is selected and I
select "Copy Project", my production server's values are filled in.
|
by: Shagy |
last post by:
Greetings,
I've been trying to find an equivant c funtion to the c++ copy function.
Description:
copy(char *cstring, size_t count, size_t offset);
Copies "count" characters from a C-style string starting at offset.
|
by: Alfonso Morra |
last post by:
Hi,
I have the ff data types :
typedef enum {
VAL_LONG ,
VAL_DOUBLE ,
VAL_STRING ,
VAL_DATASET
}ValueTypeEnum ;
|
by: :-) |
last post by:
What is the easiest way to make a copy of a WebForm with a different
name? If you just copy/paste, the class info gets mangled. If you
create a new WebForm and copy everything over, it is exceedingly
tedious and manual for a large site. There has to be an easy way I'm
missing....
| |
by: Swinky |
last post by:
I hope someone can help me...I haven't got a clue how to do this.
I have a table with several one-to-many relationships. One of the
related tables has it's own one-to many relationships as well.
I would like to copy a record when I am in a form and append it to the
last record. To make it more complicated, I have an auto-number
(primary key) on the main table and some of the related tables also.
I can't do what I want to do using...
|
by: Swinky |
last post by:
I hope someone can help...I feel like I'm walking in the dark without a
flashlight (I'm NOT a programmer but have been called to task to do
some work in Access that is above my head).
I have code that will successfully copy a record and append the
information to a new record in the same table (parent table) within a
form. However, there are related child tables with primary keys (set
to Autonumber) stored in sub-forms. That information...
|
by: Jess |
last post by:
Hello,
The C++ reference says the return result of "copy" is an output
iterator. I'm wondering how I can assign the returned iterator to
some other iterator. I tried
int main(){
string s("abcdefg");
vector<charv;
vector<char>::iterator k = copy(s.begin(),s.end(),back_inserter(v));
|
by: hartattack72 |
last post by:
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |