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

Access Relationships, etc

I am new to Access, trying to figure it out on my own.

I am trying to create a form to input the same information in 3
different tables. The 3 tables each have a different number as the
primary key, although they each do contain the other 2 numbers in
their tables.

I have been unsuccessful and am wondering if perhaps my relationships
are inaccurate.

Do I need a many to many relationship or a one to one or do I need to
do something else?

Also, I tried to create a form from a select query to use for the 3
table input but the form is blank in the form view and empty in the
datasheet view (new records can not be inserted). Clicking on
the ...build doesn't seem to have any effect.

Aug 17 '07 #1
1 1632
For your situation I will guess that the problem is probably in the
Query Joins. Try creating a query with only one table and add that to
your form. If the form opens correctly, then try joining a table to the
query and see if the form still works. If not, then you need to modify
your join.

Access is a Desktop / File based Relational Database system (RDBMS for
workstation computers). Access can perform several of the operations
that a server based RDBMS (like Oracle or MS Sql Server) can perform
with the main limitation that Access can only hold 1 gig of useable data
(2gigs if you count unicode - but that extra gig is not useable data) --
where a server based RDBMS can hold at least 1 terabyte of data. So
Access is basically a mini RDBMS.

So -- relationships in Access function the same as they do in a server
based RDBMS -- which is to control referential Integrity -- controlling
the integrity of data references between tables. Relationships serve to
reduce duplicate data entry or incorrect data entry as follows:

You have a master table that contains client information --ClientID,
Name, address, phone, ... Then you have a detail table. The
relationship would be master:one detail:many. You relate the tables by
ClientID. The restriction is that you cannot enter data into the detail
data unless the new record you are entering contains a valid clientID --
that would be a ClientID which is first entered into/contained by the
Master table.

Then, say you also have a Products table which lists 10 different
products. You relate the Products table to the Detail table as
products:one Detail:many.

You can only enter a product name in the Detail table if that Product
Name is contained in the Products table.

Relationships are not part of a query join. Query Joins deal with data
that is already contained in your tables. Relationships server to
restrict what data can be entered or removed from the tables.


*** Sent via Developersdex http://www.developersdex.com ***
Aug 17 '07 #2

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

Similar topics

by: cvchen | last post by:
Hello, I'm implementing a data dictionary (catalogging system) that can be searched in several ways. I finished the first version without using any databases, I just had pickled dictionaries to...
by: crispy | last post by:
This is something that I am never completely sure about: When building an Access db to be accessed by ASP, do I need to worry about setting the Relationships between the tables and the Join Types...
by: E. Zorn | last post by:
Hi, i use Access as a frontend via ODBC to an Linux-based postgresql. I have a problem in a form where I use a lot of subforms. In some cases ( i couldn't detect when - but I really try to) the...
by: Jelmer | last post by:
Hi, I am mildly familiar with ms access developement and I have been asked to port and document a ms access app. I expect the porting (97 to XP) to be fairly straightforward. However documenting...
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The...
by: Ruben Baumann | last post by:
Just wondered if anyone has had occasion to use, or does use, FileMaker, or Raining Data's Omnis, or Alpha5's software, and how they compare with Access? Ruben
by: Mark Lubratt | last post by:
Hello, I'm trying to convert an Access application to have its backend be PostgreSQL. I've created the schema and imported the data without a problem. My problem is that the Access...
by: MightyAC | last post by:
Corrupt data in an access database seems to occur far too often. What's worse is that compacting an access 2000 or later db with corrupt data can result in the destruction of relationships. It...
by: Richard | last post by:
Hi folks, thanks for taking the time to read this (and hopefully point our where I'm going wrong). The scenario: I have a local Access2007 database which links in several read only mySql...
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.