473,770 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Copying data from multiple fields on one form, to another form.

I've seen this subject here in a similar fashion, but not in a fashion
that can easily be accomplished for my purpose.

Simply put, I have a form, I have about 2 dozen fields on this form,
that I may need to move to the next record. For example:

first_name
last_name
address
address_2
city
state
zip
phone_home

etc. I will have specific information to track - like how many items
I have loaned out to a particular person. So, if they have 6 items, I
don't want to have to retype the same information six times.

For some reason, I have been asked to duplicate that information,
rather than have six options for items. Hence, all this data will
need to be duplicated to another record, like the table example below

john smith 35 main street anytown ma 55555 camera nikon
D90
john smith 35 main street anytown ma 55555 flash generic
john smith 35 main street anytown ma 55555 tripod Bogen
john smith 35 main street anytown ma 55555 battery Duracell
lithium

Hope I didn't give too much information, but enough for any help.

Thanx in advance for all those that help me with this project. I'm
volunteering my time for a non-profit organization, so I don't have
the budget to look outside the web.

Cheers,

Jonathan
Nov 12 '05 #1
1 2073
jo***********@l ycos.com (Jonathan) wrote in message news:<32******* *************** ****@posting.go ogle.com>...
I've seen this subject here in a similar fashion, but not in a fashion
that can easily be accomplished for my purpose.

Simply put, I have a form, I have about 2 dozen fields on this form,
that I may need to move to the next record. For example:

first_name
last_name
address
address_2
city
state
zip
phone_home

etc. I will have specific information to track - like how many items
I have loaned out to a particular person. So, if they have 6 items, I
don't want to have to retype the same information six times.

For some reason, I have been asked to duplicate that information,
rather than have six options for items. Hence, all this data will
need to be duplicated to another record, like the table example below

john smith 35 main street anytown ma 55555 camera nikon
D90
john smith 35 main street anytown ma 55555 flash generic
john smith 35 main street anytown ma 55555 tripod Bogen
john smith 35 main street anytown ma 55555 battery Duracell
lithium

Hope I didn't give too much information, but enough for any help.

Thanx in advance for all those that help me with this project. I'm
volunteering my time for a non-profit organization, so I don't have
the budget to look outside the web.

Cheers,

Jonathan

Normalize, and this is a cake walk.
CREATE TABLE Person(
PersonID AutoIncrement,
Firstname Text(25) Not Null,
LastName Text(25) Not Null,
Address Text(50) Not Null,
City Text(25) Not Null,
State Text(2) Not Null,
ZipCode Text(5) Not null)

CREATE TABLE Borrows(
PersonID Long,
ItemID Long,
IssueDate Date,
ReturnDate Date)

CREATE TABLE Item(
ItemID AutoIncrement,
Description Text(50) NOT NULL)

Then it's just
Person---(1,M)--Borrows--(M,1)--Item
Nov 12 '05 #2

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

Similar topics

32
3228
by: Neil Ginsberg | last post by:
We're using SQL Server 7 with an Access 2000 MDB as a front end with ODBC linked tables. I recently created a new set of tables for the app, and users are complaining that unsaved data is being lost when they move to a new record. This seems to be the case when there are multiple users. When there is a single user using it, we don't seem to have that problem. It seems that we had this problem when we first converted from an MDB back end...
2
4721
by: Jeremy | last post by:
I have a pretty straightforward database that is designed to record free-form information about products (date, source and a memo field). This is searched and updated via a form. For new records, the memo field is usually filled by cutting and pasting from e-mails, web content and spreadsheets. The only problem is that some of the memos can be just a few words, and some can be tens or hundreds of lines, and I've realised that zooming...
5
3513
by: Lyn | last post by:
I am trying to copy selected fields from one table to another, by reading the source table record into a recordset (ADO) and then copying the relevant fields to an SQL statement "INSERT INTO...". The numeric and text fields copy without a problem, but it all falls in a heap when I try to copy a picture object field (data type OLE Object in both tables). I seem to be missing something ??? Reduced to its simplest form, this is the code...
6
1403
by: Jeff Brooks | last post by:
I need to copy a record one access record into the same table. I just need to modify a couple fields that the user will change. Im sure there is an easy way to do it. I have started just reading the data and writing a SQL insert command, but there are a ton of fields. It would take forever to get the datatypes correct and the SQL formatted properly. Anyone know how to just copy a record and make a couple changes to it? Thanks Jeff
17
3554
by: Timothy.Rybak | last post by:
Hello all, This is my first attempt at an application, so kid gloves are appreciated. I need to make a very simple form that only has a few elements. One is TraceCode - a text field that is populated when a user scans a label. The other is ScanDate - a date/time field that should equal the date/time of the scan (e.g. 7/31/2006 5:00:00 AM).
8
3359
by: daD | last post by:
I'm trying to write a small database that tracks people coming and going from a small campground. I need to have the current guests in the "current" table" and then have the ability to check them out to the "archive" table when they leave, by pushing the "check-out" button. I see the steps as follows: 1. When the check-out button is pressed, the computer should automatically add the current date into the "date checked-out" field. ...
3
4417
by: colleen1980 | last post by:
Hi: Can any one please help me when user select 2 dates from DDLDate1 10/09/2006 and DDLDate2 10/12/06 and the name and it close the form. I need to create multiple records in the another table on the basis of two dates like that. Data in continous form table1 ----------------------------- Data entered in continous form 10/09/2006 10/12/2006 John
5
1897
by: mark_aok | last post by:
Hi all, I have a situation where I have a split database. At the back end, I need to - create a new table (I will call it newTable) with the exact fields, and relationships as another table (let's call it oldTable, and I need to copy everything EXCEPT the data). - Then I need to delete oldTable, and rename newTable 'oldTable'
2
2089
kcdoell
by: kcdoell | last post by:
Hello: I have four tables: tblDivision tblWorking_Region tblCredit_Region tblForecast (This is the main data entry table for all forecasting records) tblDivision has the following fields:
0
9619
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10260
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10038
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,...
0
8933
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, 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...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
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...

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.