473,796 Members | 2,720 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

One to many relationship "disappears " in frontend

When I define relations in the Backend of my Database, everything works
fine. I get these funny lines (with 1 and "OO") between the fields of
the different table that indicate a one to many relationship.

Then, when I try to build a query in the frontend, these signs
disappear in the query design window, and as a consequence, the form
wizzard based on such a query won´t let me construct a subform in the
main form.

I could make my queries and forms in the backend, and then import them,
but I just don´t like to do that (yet). I want to know what is going
wrong here....
Hope I could make my case clear....

Thanks for any reaction

Nov 13 '05 #1
2 2364
You can only create meanginful relations in the mdb file that contains the
actual tables. If you try to do so in the front end, you are doing no more
than drawing lines. Referential integrity is not available.

What we do for developing is to build the entire database: tables,
relations, forms, queries, reports, and code. Then when everything is in
place, split the database. If there are any structural changes after this,
open the back end, and change the tables/relations/indexes there. The
changes in the back end are reflected in the front end.

One other factor that can cause considerable frustration is Name
AutoCorrect. It tries to track changes to the table/field names, but it can
get thoroughly confused and mess up the display of relations as well as
other more significant problems such as corrupting your database. Make sure
the Name AutoCorrect boxes are unchecked in both the back end and the front
end under:
Tools | Options | General
More info:
http://members.iinet.net.au/~allenbrowne/bug-03.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Sukkel" <am**********@y ahoo.com> wrote in message
news:11******** **************@ c13g2000cwb.goo glegroups.com.. .
When I define relations in the Backend of my Database, everything works
fine. I get these funny lines (with 1 and "OO") between the fields of
the different table that indicate a one to many relationship.

Then, when I try to build a query in the frontend, these signs
disappear in the query design window, and as a consequence, the form
wizzard based on such a query won´t let me construct a subform in the
main form.

I could make my queries and forms in the backend, and then import them,
but I just don´t like to do that (yet). I want to know what is going
wrong here....
Hope I could make my case clear....

Thanks for any reaction
Nov 13 '05 #2
Thanks Allen, for taking the time to help me out on this one. I kind of
restarted from scratch, following the methodology you pointed out. So
I deleted the links to the backend, imported the tables from the
backend, deleted the backend, made the relations and split the database
again. And guess what? The relations show up nicely in the frontend. I
also unchecked the Name autocorrect boxes in back- and frontend so that
might have played a part.

Once again, I appreciated your help, also in the countless other posts
you have answered that I have benefited from..Guys like you should have
a street named after them..

Nov 13 '05 #3

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

Similar topics

0
2354
by: Anthony Baxter | last post by:
To go along with the 2.4a3 release, here's an updated version of the decorator PEP. It describes the state of decorators as they are in 2.4a3. PEP: 318 Title: Decorators for Functions and Methods Version: $Revision: 1.34 $ Last-Modified: $Date: 2004/09/03 09:32:50 $ Author: Kevin D. Smith, Jim Jewett, Skip Montanaro, Anthony Baxter
5
5876
by: Thomas Hoheneder | last post by:
Hello, I have a web page that contains the following things. 1) Lots of text, so that the page is longer/higher than one browser screen. 2) Within that text there is an input text field. 3) On some place after there, there is a select tag. 4) I have the following div tag absolutely positioned on the page, somewhere between all the text. <div id="fixeddiv" style="position:absolute;left:0px;top:50px;width:300px;height:100px;border:s
0
1382
by: Lauren Wilson | last post by:
The error does not have an error number. It's not even a normal Access error message box. Hope someone has some insight to this problem. I have a form that contains a large (5" x 4") text box bound to a memo field. This field allows users to type in the text of an email to be sent through Outlook (via automation). I ONE user who send me his back end data base where he has inserted several two - three page emails. When scrolling...
388
21937
by: maniac | last post by:
Hey guys, I'm new here, just a simple question. I'm learning to Program in C, and I was recommended a book called, "Mastering C Pointers", just asking if any of you have read it, and if it's worth the $25USD. I'm just looking for a book on Pointers, because from what I've read it's one of the toughest topics to understand. thanks in advanced.
0
959
by: HL | last post by:
Hi, I have a small application that authenticates the user and stores the credentials and other identity info in a session-scope object. After browsing a few pages, that session-scope object would disappear, causing the user to be routed back to the login page. The funny thing is, this phenomenon only happens in IE, but not in Firefox (run on the same machine). I tested again and again, and the problem is predictable and reproducible....
13
5097
by: Bob Day | last post by:
Using vs2003, vb.net I start a thread, giving it a name before start. Code snippet: 'give each thread a unique name (for later identification) Trunk_Thread.Name = "Trunk_0_Thread" ' allow only 1 thread per line Trunk_Thread.ApartmentState = ApartmentState.STA
2
1323
by: HarryMangurian | last post by:
I am really confused ! - Form1 uses an openfiledialoag to get a public strfilename. - Forms 2 and 3 both connect to the database specified in the file name. The connection string is shown below. Intermittently, the connection string disappears from either Form2, Form3, or both. When I get an error, either in debug or running a build, I go back to inspect the source code and, sure enough, one or both connection strings have evaporated !
0
1874
by: Germaris | last post by:
Hi there! On my form I have two ComboBoxes. The first displays a list of countries. The second one, if the country selected in the first ask for, displays a list of states, provinces or republics, etc depending on the country selected. This second ComboBox appears or disappears driven by listeners. At this point, the combination of the two ComboBoxes works perfectly well. My problem is: If the first ComboBox (countries) ask for a...
36
3820
by: James Harris | last post by:
Initial issue: read in an arbitrary-length piece of text. Perceived issue: handle variable-length data The code below is a suggestion for implementing a variable length buffer that could be used to read text or handle arrays of arbitrary length. I don't have the expertise in C of many folks here so I feel like I'm offering a small furry animal for sacrifice to a big armour plated one... but will offer it anyway. Please do suggest...
0
9673
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
10449
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
10217
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10168
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5568
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.