473,761 Members | 9,284 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating a form for 4 tables linked with one-to-one relationships?

2 New Member
Forgive me if this is a foolish question. I "play" in Access and have only created a few rather simple relational databases. My knowledge and experience is limited. I have no formal training, just picked up a few books and have gone from there... I'm not sure how to relate my question using the accepted shorthand, so I'm afraid this will be a narrative description.

I am using Access 2003. The database is for property management. I have about 12 tables. I know one-to-one relationsips are not normally recommended. In my case I "thought" it made sense to break down the information for organization purposes. And because not every record in what I consider the parent table will have a matching record in the child table(s).

In layman's language, my first table is general property info (called Property Info). It contains about 40 fields of information about the property such as address, city, state, zip, date available, rental term, pets allowed?, smoking allowed?, and many more similar fields. The actual fields relevant to my question are: PropertyID (pk), a lookup to an Owners table, and street address.

My second table contains information about any utilities and services included in the rent. There are about 70 fields in this table. Basically, each field is a different utility/service (yes/no .. there are about 35 fields each with different possible utilities and services that may be associated with any given property), service/utility provider (if yes), Service Contract? (y/n), Contract Expires When? (date), and other relevant information. The actual fields relevant to my question are: ID (PK - autonumber), PropertyID ( FK - used to creat the one-to-one relationship with my first table), all other fields pertain to the 35 service possibilities.

My third table is similar to the second but contains information about the included furniture, appliances and systems, and related warranty and service contract information. This table has close to 70 fields. Again, the possible list of included items are Y/N fields, then if set to yes the warranty and service contract information is entered. The fields relevant to my questions are: ID (PK -autonumber), PropertyId (FK- used to create the one-to-one relationship with the first table), and all other fields pertain to the various inclusions.

My fourth table is similar to the second and third, but contains special clause information such as legal info, deed restrictions, condo restictions, assoc. restrictions, and homeowner imposed restrictions. There are about 80 fields in this table. The relevant fields are: ID (PK-autonumber), Property ID (FK- used to create the one-to-one relationship), and all other fields identify each special clause and related information.

Ultimately the 4 tables together contain all relevant property information we need. Some properties may include several utilites, appliances, etc while others may include nothing extra. Soem may have several restictions, others may only have one or two. That is why I set up the tables this way.

What I am tring to do: I want to create a data entry form that combines several fields from all these table to mirror the format of paper forms in use. I tried to create a main form with 3 sub forms, but could not get it to tab properly through the main form (about half the fields), then jump to and through the first sub form, then to and through the second subform, etc ending with the remaining fields in the main form. I could set tab orders in each individual form, but the user would have to stop and click on each subform to activate it so they could enter the appropriate information. Additionally, this layout created a long entry form where scrolling could be necessary.

So I thought a tabbed form would work better. I could organize relevant information on each tab. But I can only get the fields from my first table to be available in the field list when in design view. I have not tried creating a form from a query, because one of the books discouraged that (can't remember why now). However, is that what I should be doing??? Or is it possible to do a subform using the tabbed pages format? Or am I going about this whole thing the wrong way?? I've spent days working on this in my spare time (not!) trying to figure out how to do this one form. I just can't figure out the best way to do it, so I am turning to the Experts here!

This newbie really appreciates any help or suggestions you can offer and thanks you in advance for your patience with my questions and posting style!
Jun 24 '08 #1
2 2325
MMcCarthy
14,534 Recognized Expert Moderator MVP
My advice would be to use the tab Pages object. Bind the main form to the first property table an put the PropertyID Control on the form (You can hide it). Then create a subform for all four tables and put each subform on one page of the tab object.
Jun 25 '08 #2
adwest
2 New Member
My advice would be to use the tab Pages object. Bind the main form to the first property table an put the PropertyID Control on the form (You can hide it). Then create a subform for all four tables and put each subform on one page of the tab object.
I'll give this a try. Thank you!
Jun 26 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
7957
by: Jeffrey Silverman | last post by:
Hi, all. I have a linked list. I need an algorithm to create a tree structure from that list. Basically, I want to turn this: $list = array( array( 'id' => 'A', 'parent_id' => null, 'value' => 'aaa') , array( 'id' => 'B', 'parent_id' => 'A', 'value' => 'bbb') , array( 'id' => 'C', 'parent_id' => 'B', 'value' => 'ccc') , array( 'id' => 'D', 'parent_id' => 'A', 'value' => 'ddd')
2
2984
by: David Bradbury | last post by:
I currently have an iframe on a webpage into which users can insert content. They can further customise the text as I've included buttons such as Bold, Italic, Bullet point etc. This is done along the lines of <td><div class="cbtn" onClick="cmdExec('bold',idContent)" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);"> <img hspace="1" vspace=1 align=absmiddle...
4
1868
by: tlaker10 | last post by:
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!
7
11833
by: Joe | last post by:
I am using Access 2003 and are linking to an Oracle 9i ODBC datasource (using Oracle ODBC drivers). After linking the tables in Access, I inspect the data contained in the linked tables. For tables that involve a number field as the primary key, the data is returned successfully. For tables that involve a character field (e.g. CHAR(3) or VARCHAR(10)) as the primary key, I have the correct number of rows returned, but the data displayed...
8
7755
by: ZRexRider | last post by:
Hi, I am working on an Access application where the author used SQL back end via linked tables. I wrote some general functions that would execute pass through queries and was going to call them for all new DB interaction. They work fine as long as I go into SQL Server and give the User Select, Update, Insert and Delete privileges. However this Access
1
1668
by: sunrisewinesalon | last post by:
New here--I posted this to another group called 'ms access problems,' but it only had one member... Access says you can choose fields from more than one table or query to create a form--but can you use fields from one of each? Thanks
7
3427
by: smd | last post by:
Hello and thanks for taking the time to read this. I've looked all over the web and newsgroups and can't find a solution to my problem. I've posted this question to the Access 2000 group as well - sorry for cross posting. Back ground: User at remote site has Access 2000 running on XP (don't know SP of either). Linked tables are DB2 v8 running on AIX. All of the linked tables are in the same database and schema.
1
1065
by: David Reynolds | last post by:
What is the best way of creating new SQL tables using VB.Net? I took a look at inserting new records but it was really time consuming on large number of records. Does anyone have any examples of creating new SQL tables with large recordsets?
9
2361
by: jilppe | last post by:
I am having trouble setting up a filter on my form. I have two tables that are linked through a text field (contact_id). This field is a combination of two other text fields (first_name and last_name). When information is entered into my forms it is entered based on the two firled first_name and last_name. (which are already entered). It would be nice if second field on the form (first_name) was filtered by the selection made in...
7
2539
by: EManning | last post by:
I have an A2003 database linked to SQL Server 2005. My problem is with a popup form with a filtered table as a recordsource. I set the filter with an SQL statement like this: SELECT * FROM tblMedicalTraits WHERE SystemID = " & CLng(Me.OpenArgs) Me.RecordSource = strSQL This opens the popup form just fine when there are records that meet the filter. If there are no records, then the popup displays 2 "blank" records. What I expect...
0
9554
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
9376
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
10136
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...
0
9811
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8813
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...
1
7358
isladogs
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5266
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
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3509
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.