473,396 Members | 2,108 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,396 software developers and data experts.

Creating a history subform?


Access 2000- my form has fields for “name”, “arrival”, “departure” and
“site nbr”. Can I make a subform under “name” that keeps a history of
all previous entries to arrival/departure/site nbr so that when the main
form is changed, the new information is ADDED to the subform? Thanks
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #1
4 1838
Yes, just base the subform on the same record source as the main form. The
problem you are going to run into is that all new entries on the main form
must be saved before you can see them in the subform.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"tlaker10" <tl******@yahoo.com> wrote in message
news:41**********************@news.newsgroups.ws.. .

Access 2000- my form has fields for "name", "arrival", "departure" and
"site nbr". Can I make a subform under "name" that keeps a history of
all previous entries to arrival/departure/site nbr so that when the main
form is changed, the new information is ADDED to the subform? Thanks
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 13 '05 #2

that's what I tried, but all I get is the last entry, not a complete
list of previous entries made in those fields. I linked both tables
together via primary key, is there something I'm missing?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #3
Don't fill in the LinkMaster and LinkChild fields. You don't want the
subform to track the main form. you only want it to appear on the screen
with the main form.

Also check the recordsource of the subform. You want the subform to get its
records from the same table as the main form but you fon't want any kind of
filter on the records. You may be filtering the main form for some reason
which is OK.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"tlaker10" <tl******@yahoo.com> wrote in message
news:41**********************@news.newsgroups.ws.. .

that's what I tried, but all I get is the last entry, not a complete
list of previous entries made in those fields. I linked both tables
together via primary key, is there something I'm missing?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 13 '05 #4

I have 4200 campers, each with their own subform. By not linking the
form to the subform results in a "History" subform of 4200 entries. By
linking the form to the subform "History" with the primary key, I get
only the subform "History" for that particular camper. Naturally, it
doesn't update to a new entry when a new arrival/departure date is
entered in the main form. What I'm looking for is the ability to have
one subform per camper with all new information that is entered in
"Arrival" and "Departure" in the main form to be recorded as a new entry
in the subform "History" as well. Maybe it can't be done?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #5

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

Similar topics

3
by: Bruno Luis | last post by:
Hello I'm using A97 and i'm having some trouble with creating a recordset with data from two different databases. I connect to a remote database and make this data the default source for my...
5
by: Ilan Sebba | last post by:
When it comes to adding records in related tables, Access is really smart. But when I try to do the same using ADO, I am really stupid. Say I have two parent tables (eg Course, Student) and one...
2
by: Guy_Philly | last post by:
I am trying to add multiple subforms (or subtables?) on an existing form. The underlying table is a very detailed descriptive table for art in a collection. I am already using one subtable to...
4
by: jmarr02s | last post by:
I am using Access 2003 and am having difficulty creating a subform that will save records associated with a particular parent record.... The error message I receive pertains to indexes,...
7
by: ppywong | last post by:
Hi, hopefully people can help: I am creating a rather simple database for a kids holiday camp. I have two main tables: tblLData (Leaders info) and tblKData (kids info). What I have done is...
4
by: aflat362 | last post by:
If you look at this page on relational database design: http://r937.com/relational.html And scroll down to the "Many-to-Many Relationships" Section you will see a common database structure. ...
1
by: Diggar | last post by:
I have a data base with about 4 different tables. 1. Cust info 2. Supplier info 3. Order History 4. Order details. Order history and details are on one form with details being the subform....
3
by: solargovind | last post by:
Hi, I am New to this forum. I need steps that i do in creating subform. In main form, i have one table fields like vendor,account,due amount,balance amount and Requisition_id which is...
4
by: rczuba | last post by:
Problem: Creating a Default Value for a field in a subform when a field in the subform & form match. I'm trying to create a payroll database for a small home business that I have that has had...
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
0
BarryA
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...
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
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...
0
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,...
0
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...
0
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,...

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.