473,883 Members | 1,788 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Relationships Report: how to print additional info about the fields

New article at:
http://allenbrowne.com/AppRelReport.html
describes how to show information about the fields when you print the
Relationships Report in Access 2000 and later: the field type, size,
indexes, properties, and the number of records in the table.

--
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.
Feb 8 '06 #1
2 1727

"Allen Browne" <Al*********@Se eSig.Invalid> schreef in bericht news:43******** **************@ per-qv1-newsreader-01.iinet.net.au ...
New article at:
http://allenbrowne.com/AppRelReport.html
describes how to show information about the fields when you print the
Relationships Report in Access 2000 and later: the field type, size,
indexes, properties, and the number of records in the table.


Very, very nice Allen !!

At my place (Dutch versions of Access) it works with Access 2003 but not with Access2000.
My first guess is that this is due to localizing ussues with the sendkeys command that you have to use with A2k.
Need to invest this more and adapt that code a bit.
No time for that at the moment but it won't be a big problem.

But as I said: This is very nice work!!
Very handy in a new project where I need to document a database.

Thanks.
Arno R
Feb 8 '06 #2
Some follow-up (found some time to check...)
I only need to adapt the Sendkeys command to SendKeys "%BR", True and it works with A2k ..
(In Dutch 'File' is called 'Bestand')

BUT unfortunately there is an issue with the relationships report...
This has *nothing* to do with your code Allen, but it seems to me there is a bug in the Relationships-report Access provides.

I just found out that when we have a 'scrollbar-table' (not all the fields are visible) in the relationships-view, we might have a problem with the relations that are shown in the report.
The problem shows up when there is a relation to the second or third field (in the fieldorder that is) AND we do *not see* the *first* field in this 'scrollbar-table' (e.g. we scrolled down the list). Also: we still have to see the field that is part of the relation.
-- So let us say that we have a relation from a field in table1 to field number5 in table2
this field number5 is visible as the second field in the view ...
-- In that case the report presents a FALSE relation to the second field ....
Or
-- Let us say that we have a relation from a field in table1 to field number2 in table2
this field number2 is visible as the first field in the view ...
-- In that case the report presents a FALSE relation to the first field ....

I don't know if this is a known bug, but I just thought I would mention this here.
Solution: Make sure the *first* fields in the various tables are always visible in the relationships-view.

Arno R
Feb 8 '06 #3

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

Similar topics

3
2127
by: JC Mugs | last post by:
I have a report coming from a query that I need to print. Question: I want to have fields print or not print on a value of one of the fields... Like this- IF Doz2 >0 then Print Doz2 Meaning if the field Doz2 is more than 0 then print the number. I also hope to use this same check for additional fields in the line of the report. The fields are not a subreport or a part of a table.
2
4151
by: Max | last post by:
Hi. I really hope someone can help me. Going slowly insane with this problem. I have a two Access 2000 databases. One is the backend containing tables and some admin queries. The other is the front end with forms / queries and links to the tables in the back end. From the Relationships window I selected File / Print Relationships. The resulting report shows relationships that are not displayed in the relationships window. Some of...
3
1802
by: paulwilliamsonremove | last post by:
Hi, I have been manually setting up relationships in Access 2003. I received an error message when leaving a form that told me the record could not be saved because I had to have a related record in another ( child) table. After researching the problem, I decided to open up the table relationship manager and selected the "Show All" option.
10
7042
by: Dixie | last post by:
I need to delete some relationships in code. How do I know what the names of those relationships are?
45
3451
by: salad | last post by:
I'm curious about your opinion on setting relationships. When I designed my first app in Access I'd go to Tools/Relationships and set the relationships. Over time I'd go into the window and see relationship spaghetti....tables/queries all overthe place with lots of relationship lines between here and there. After that first app I didn't do relationships. If I had a query, I defined the relationship. Many of the times when I create a...
2
5075
by: Rico | last post by:
Hello, I'm formatting a report based on an existing controlled document. The document that I'm duplicating has a number of lines that the user fills our manually, but the database version of this document will fill the fields with data rather than the user hand writing entries. The problem I'm running into is when the last record prints, there are no more additional lines (i.e. if the document has 15 lines to be filled out, and if I...
4
6423
by: alexandre.brisebois | last post by:
Hi, I am using access 2003, I would like to know if there is an option to reorganize the tables in a maner that is readable, as we can do in sql sever 2000 or 2005. I have been given a database to look a and I am loosing tremendious amounts of time trying to organize it so that I could view it. Regards, Alexandre Brisebois
3
18724
by: creative1 | last post by:
Here is how you create a complex data report that involves parent and child commands and you can update information at runtime. Its pretty straight forward to work with simple queries; however, working with complex reports is tricky Assumption: Reader of this article have basic knowledge of creating data reports. Creating a Parent-Child Command and create a DataReport Suppose we have a database called company with two tables ...
4
4239
by: lupo666 | last post by:
Hi everybody, this time I have three problems driving me nuts :-((( (1) I have a report with 20 or so Yes/No "squares". Is there a way to either hide/show the "square" or change the yes/no relative textbox, depending on value? (2)
0
9942
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
11142
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...
1
10848
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
9575
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
7972
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
7130
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
5798
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
5992
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4614
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

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.