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

How do I use one record to describe a table

I have a table which pertains to an assembly and the individual records of
the table pertain to the components of the assembly. I need one record to
contain information pertaining to the assembly only (Job Number,
Description, etc.). I want this information to appear in the header and
footer of a report. How do I accomplish this?

Thanks in advance.
Nov 19 '07 #1
6 1347
"Rick Brandt" <ri*********@hotmail.comwrote in
news:Iw*****************@newssvr11.news.prodigy.ne t:
You indicated you wanted to do this with a single table. You need two
tables. One for assemblies and one for components.
How do I link the two together? I still have to have a unique record in the
components table to link to the assemblies table.
Nov 19 '07 #2
Bob Sanderson wrote:
"Rick Brandt" <ri*********@hotmail.comwrote in
news:Iw*****************@newssvr11.news.prodigy.ne t:
You indicated you wanted to do this with a single table. You need
two tables. One for assemblies and one for components.

How do I link the two together? I still have to have a unique record
in the components table to link to the assemblies table.
The components table needs to include a field for the assembly identifier. It
will be a foriegn key in the components table and you relate it to the primary
key in the assemblies table.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Nov 19 '07 #3
"Rick Brandt" <ri*********@hotmail.comwrote in
news:wC******************@newssvr11.news.prodigy.n et:
The components table needs to include a field for the assembly
identifier. It will be a foriegn key in the components table and you
relate it to the primary key in the assemblies table.
That's pretty much the problem I have now. Where do I put the foreign key?
Does it have to be attached to every record?
Nov 19 '07 #4
Bob Sanderson wrote:
"Rick Brandt" <ri*********@hotmail.comwrote in
news:wC******************@newssvr11.news.prodigy.n et:
The components table needs to include a field for the assembly
identifier. It will be a foriegn key in the components table and
you relate it to the primary key in the assemblies table.

That's pretty much the problem I have now. Where do I put the foreign
key? Does it have to be attached to every record?
Yep, but if you use a form with a subform Access will do that for you
automatically.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Nov 19 '07 #5
"Rick Brandt" <ri*********@hotmail.comwrote in news:yQk0j.60246$RX.23714
@newssvr11.news.prodigy.net:
Bob Sanderson wrote:
That's pretty much the problem I have now. Where do I put the foreign
>key? Does it have to be attached to every record?

Yep, but if you use a form with a subform Access will do that for you
automatically.
Thanks, I'll give that a try

Nov 19 '07 #6
"Rick Brandt" <ri*********@hotmail.comwrote in news:yQk0j.60246$RX.23714
@newssvr11.news.prodigy.net:
Bob Sanderson wrote:
That's pretty much the problem I have now. Where do I put the foreign
>key? Does it have to be attached to every record?

Yep, but if you use a form with a subform Access will do that for you
automatically.
Thanks, I'll give that a try

Nov 19 '07 #7

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

Similar topics

5
by: Dan | last post by:
How can i find out what record number in the return set I am at? Example select *,recnum() from foo I would like to see recnum() be 1 then 2,3,4,5 and so on for each record returned.
3
by: MUHAMAMD SALIM SHAHZAD | last post by:
dear respected sir, i would like to ask you following problem to anyone can give me hints - i have database of insurance company, where policy table is link to customer table and each policy...
2
by: windandwaves | last post by:
Hi Guys I have a dilemma: I want to add a record to a table with the following situation: - table has an ID field that is an autonumber - I want to set the ID number to a specific number...
6
by: ApexData | last post by:
I have 2 tables: Table1 and Table2. Neither one has a primary key because each table will only have 1-record. My form is a SingleForm unbound with tabs (my desire here). Using this form, in...
18
by: Jen | last post by:
Is it possible (how) to display a new record every week (or day) from a recordset?
11
by: scsTiger | last post by:
I am using Access 2000 as the front end and MS SQL 2000 as the backend. I have a one record form that I set using something like: strSQL = "SELECT * FROM dbo_WBACCT WHERE...
7
by: john | last post by:
In my form I have a master table and a details table linked 1xM. I can search through the whole parent table but I also like to be able to search through the child table fields to find parent...
25
by: tekctrl | last post by:
Anyone: I have a simple MSAccess DB which was created from an old ASCII flatfile. It works fine except for something that just started happening. I'll enter info in a record, save the record,...
1
geolemon
by: geolemon | last post by:
I have a form/subform used for inventory management. It is a bound form. The error: I don't understand what this means. How the form is intended to work: When you select a part number in...
9
by: weirdguy | last post by:
Hello all, I almost complete my mini project - Stock Inventory: To track goods/products enter and exit from warehouse or simply known as Stock Transaction (IN/OUT). This also include a Inventory...
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: 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...
0
jinu1996
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...
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
tracyyun
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...
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.