Is there a way to automatically, or by using say a function key,
call/paste into a current table or query's field the same value entered
for the same field in the immediately preceeding record, when values
for a
given field are often repetitive? I have a record with 7 fields that
will be the same of all the records, only 2 fields (id number & amount)
will differ. I am trying to save the client unnecessary keystrokes.
Thanks,
Sherry 5 2909
It sounds to me that you would want to create a form based on the
constant information. Create a subform on that form that has only the
two fields that are changing. However, if you are entering the same 7
fields for every record into one table, you have a larger issue with
normalization and I would rethink the structure of the database.
I really hope my two cents helps.
Sherry wrote:
Is there a way to automatically, or by using say a function key,
call/paste into a current table or query's field the same value entered
for the same field in the immediately preceeding record, when values
for a
given field are often repetitive? I have a record with 7 fields that
will be the same of all the records, only 2 fields (id number & amount)
will differ. I am trying to save the client unnecessary keystrokes.
Thanks,
Sherry
Sounds like you may have some normalization issues here, as Tim
mentioned, above. If data is ALWAYS, or in some cases, OFTEN, the same
in multiple fields then those fields are not truly unique to the record
you are creating. Depending on the structure of your tables, you may
want to further normalize your data by storing some of the fields in a
table further up the relational structure.
For example:
If you have an Order table that lists the OrderID and the OrderDate
with a subordinate OrderItem table containing each item ordered by
OrderItemID and OrderItemQuantity, you wouldn't want to store Order
specific information like DeliveryAddress, RequestedDeliveryDate,
BillingAddress, and VendorID in the OrderItem table.
However, if each OrderItem can have a different DeliveryAddress or
RequestedDeliveryDate, you may need the structure you seem to infer.
You would have to ensure that you don't have data that belongs to an
Order entity in your OrderItem table to properly normalize such a
structure. If everyone of your repetitive fields may or will have
different data for different order types, then you will need to follow
Tim's advice and either reset the default values for consecutive
records or provide values via coded variables.
This seems like a request to emulate the "Set Carry On" feature of the old
XBase programs.
I saw a subroutine to do this where I believe the current values of the form
fields were stored to variables when those records were committed. The
variables were then used to initialize the fields on the next iteration of
the form. It could carry 1, 2,3...or all the values of the form.
"Sherry" <db****@comcast.netwrote in message
news:11*********************@m73g2000cwd.googlegro ups.com...
Is there a way to automatically, or by using say a function key,
call/paste into a current table or query's field the same value entered
for the same field in the immediately preceeding record, when values
for a
given field are often repetitive? I have a record with 7 fields that
will be the same of all the records, only 2 fields (id number & amount)
will differ. I am trying to save the client unnecessary keystrokes.
Thanks,
Sherry
Hm; you don't need variables for that. I usually do, in the afterupdate
event of a control named ctlField:
ctlfield.defaultvalue = ctlfield.value
if the control is a text, that must read
ctlfield.defaultvalue = "'" & ctlfield.value & "'"
Kc-Mass schreef:
This seems like a request to emulate the "Set Carry On" feature of the old
XBase programs.
I saw a subroutine to do this where I believe the current values of the form
fields were stored to variables when those records were committed. The
variables were then used to initialize the fields on the next iteration of
the form. It could carry 1, 2,3...or all the values of the form.
"Sherry" <db****@comcast.netwrote in message
news:11*********************@m73g2000cwd.googlegro ups.com...
>Is there a way to automatically, or by using say a function key, call/paste into a current table or query's field the same value entered
for the same field in the immediately preceeding record, when values for a given field are often repetitive? I have a record with 7 fields that will be the same of all the records, only 2 fields (id number & amount) will differ. I am trying to save the client unnecessary keystrokes. Thanks, Sherry
--
Bas Cost Budde
Holland www.heuveltop.nl/BasCB/msac_index.html
Thank you all for your advice. I'm not sure I was very clear in what I
wanted to accomplish. I need to create a file of transactions for a
college class. Each student in the class shares similar information
(class name, class day, class time, number of hours, etc) What is
unique about each record is the student's id & the student's phone
number. The end result of the data base file is my transaction file
which will be uploaded to the mainframe and will be an input file to an
existing process. The existing process expects all the records to have
all the necessary values. I was hoping the client would enter ALL the
data on line one and from line 2 to the last line, she would only have
to put in the student's id & phone number. However, each record when
written would contain ALL the data (the two unique data items plus the
data which is the same for each student.
Sherry
Bas Cost Budde wrote:
Hm; you don't need variables for that. I usually do, in the afterupdate
event of a control named ctlField:
ctlfield.defaultvalue = ctlfield.value
if the control is a text, that must read
ctlfield.defaultvalue = "'" & ctlfield.value & "'"
Kc-Mass schreef:
This seems like a request to emulate the "Set Carry On" feature of the old
XBase programs.
I saw a subroutine to do this where I believe the current values of the form
fields were stored to variables when those records were committed. The
variables were then used to initialize the fields on the next iteration of
the form. It could carry 1, 2,3...or all the values of the form.
"Sherry" <db****@comcast.netwrote in message
news:11*********************@m73g2000cwd.googlegro ups.com...
Is there a way to automatically, or by using say a function key,
call/paste into a current table or query's field the same value entered
for the same field in the immediately preceeding record, when values
for a
given field are often repetitive? I have a record with 7 fields that
will be the same of all the records, only 2 fields (id number & amount)
will differ. I am trying to save the client unnecessary keystrokes.
Thanks,
Sherry
--
Bas Cost Budde
Holland www.heuveltop.nl/BasCB/msac_index.html This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Chris Sharman |
last post by:
I'd like to design my pages to work cooperatively with browser autofill
features.
I've loked around, but can't find any good documentation on
supported/unsupported field names...
|
by: shortbackandsides.no |
last post by:
I'm having a lot of difficulty trying to persuade the Google toolbar
autofill to act consistently, for example
=======================
<html><head>
<title>autofill test</title>
</head><body>...
|
by: David Portabella |
last post by:
Hello,
I am a doing a survey about Autofill Web Forms softwares.
Usually, they all collect information of the user once during the
set-up phase (user knowledge base).
Then, when the user...
|
by: Nick J |
last post by:
Hi,
I remember at one point access would autofill a text box when filtering by
form, Like for example as I would type it would come up with matching
records, similar to AutoComplete in Internet...
|
by: LCalaway |
last post by:
Happy 4th, all
How do you turn off the following type of autofill:
Example: I have created a table with four text fields. When entering
numeric data in these fields, by the third field, a...
|
by: Andre Ranieri |
last post by:
I'm retouching our corporate web site that, among other things, allows
customers to log in and pay their invoices online. I noticed that on the
checkout page, the credit card number textbox...
|
by: Rissoman |
last post by:
Hello,
I have an issue were I have a zipcode textbox in an atlas ajax
updatepanel. When you tab out of the zip textbox and the shipping is
calculated. I know this works perfect! Then a user...
|
by: jcoleshill |
last post by:
Hello,
I am new to Access, I'm trying to make the switch from Excel to Access as the databases I'm working with have over 200,000 records.
In excel, when you want a field to autofill...
|
by: berlich |
last post by:
Can I use visual basic.net to access the DOM in a web page so that I can autofill the text boxes? If so, can you point me in the right direction as to where to begin?
I need to fill in a lengthy...
|
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
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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: 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: 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...
|
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...
|
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...
| |