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

Create A New Record From Same Data

My data entry form has thirty one fields. After I go to a new record and enter
all the fields, how can I create another new record out of the same data?
Sometimes when I am entering new records, only two or three fields change from
one new record to another. If I could create a new record out of the same data
and then edit the two or three fields, it would save a lot of data entry time.

Thanks!

Cassandra
Nov 12 '05 #1
2 1453
"Cassandra" <cv********@bellsouth.net> wrote in message
news:xT****************@newsread3.news.atl.earthli nk.net
My data entry form has thirty one fields. After I go to a new record
and enter all the fields, how can I create another new record out of
the same data? Sometimes when I am entering new records, only two or
three fields change from one new record to another. If I could create
a new record out of the same data and then edit the two or three
fields, it would save a lot of data entry time.

Thanks!

Cassandra


If you want this to happen automatically, you can use the form's
AfterUpdate or AfterInsert event to set the Default Value property of
each bound control to the value it has for the record that was just
saved. For example:

Private Sub Form_AfterInsert()

With Me!Control1
.DefaultValue = Chr(34) & .Value & Chr(34)
End With

With Me!Control2
.DefaultValue = Chr(34) & .Value & Chr(34)
End With

With Me!Control3
.DefaultValue = Chr(34) & .Value & Chr(34)
End With

' and so on ...

End Sub

There are ways to condense this code so as not to have to name each
control individually, but this is the basic idea.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)
Nov 12 '05 #2
Jen
"Cassandra" <cv********@bellsouth.net> wrote in message
news:xT****************@newsread3.news.atl.earthli nk.net...
My data entry form has thirty one fields. After I go to a new record and enter all the fields, how can I create another new record out of the same data?
Sometimes when I am entering new records, only two or three fields change from one new record to another. If I could create a new record out of the same data and then edit the two or three fields, it would save a lot of data entry time.
Thanks!

Cassandra

You could choose to show "Record Selectors" in the form (a narrow column to
the left of the form with a right pointing arrow at the top), right click
this column, choose copy, go to a new blank entry, right click the same
column and choose paste.
Nov 12 '05 #3

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

Similar topics

1
by: Tom Cusick | last post by:
We have a Job Shop database. When I get an order in I put all the line item information into the database. Some orders have multiple lines and most of the information is the same. (eg. Customer...
10
by: Mark | last post by:
I have a table about people containing 25 fields. The table contains the usual fields - first, last, address, city, state and zip. There is no primary key. These fields all have data with the...
2
by: Cassandra | last post by:
My data entry form has thirty one fields. After I go to a new record and enter all the fields, how can I create another new record out of the same data? Sometimes when I am entering new records,...
15
by: Steve | last post by:
I have a form with about 25 fields. In the BeforeUpdate event of the form, I have code that sets the default value of each field to its current value. For a new record, I can put the focus in any...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
6
by: skgolden | last post by:
My husband and I own a small temporary labor company and deal with 4 major clients (A,B,C & D), each of which has about 2 dozen units in our tristate area that we deal with (ie, Company A, units...
24
by: flkeyman | last post by:
Work in legal office. Trying to create solid designed database structure. This is list of tables w/fields and primary keys. Any comments/advice greatly appreciated. tbl-Defendants CaseNumber...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
12
by: tekctrl | last post by:
Environment; Win2K PC with 1Gb of RAM and plenty of HD space running Access 2002 Issue; Access presents a blank data entry form in the Forms view when the New Record icon is used. However, it...
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: 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: 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
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...

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.