473,626 Members | 3,952 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Main Report / Sub Report Relationship

Hi:

I have a main report that calls a sub-report which contains several pages of
data. One of the column headings in my sub-report is called "Funds". If
several records contain the same Fund Name then only the Fund Name of the
first record is printed. If the Fund Name changes, then only the New Fund
Name of the first record is printed and so on. I put the codes to do this
in the Fund Name Header section of the sub-report.

But now, I want to also print the Fund Name on the very first line whenever
a new page is printed. I know I can do this in the Page Header of the
sub-report. Ex. FundName.visibl e = true. However, since the Main Report
doesn't recognize the "Page Header" of the sub-report, then do I have to
move the codes into the Page Event of the Main Report. If so, I have the
following questions ...

1) In the Main Report, how do I detect that a new page has been printed in
the sub-report ?
2) In the Main Report, how do I control the property of a field in the
sub-report ? For example, in the Main Report, how do I tell the Fund Name
field in the sub-report to become visible ( whenever a new page is printed
in the sub-report. ) ?

Your help is much appreciated

Becky.
Nov 12 '05 #1
0 2630

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

Similar topics

2
2136
by: Todd D. Levy | last post by:
I have a primary table (containing basic contact information) and a number of subsidiary tables (containing various additional information) for employees. Most of the subsidiary tables have a One-to-One relationship with the primary table. There is an exception. The employees attend various events and I have a subsidiary table that tracks the Start Date and End Date of these events.
1
2504
by: Megan | last post by:
quick summary: i'm having problems trying to group fields in a report in order to calculate percentages. to calculate percentages, i'm comparing the results from my grouped fields to the totals. first, let me say that this is a really long post. i wasn't sure how much information/ background to provide, so i thought more was better than less. i tried to delineate certain areas so that it would be easy to peruse my posting and find...
1
441
by: khan | last post by:
I have 2 forms, one is for sale and other is used for returns. I want returns to be printed on the report only if there is any return related to that saleDetail. Is there any way to put if condition on the report
8
1844
by: David Horsman | last post by:
I have a report that lists File-B. My macro runs this report using a query as a filter. The query uses two files, the parent File-B and with a 0-many relationship to File-C. The query selects for a specific field value on one field in File-C. The query works fine alone and the report is fine if run by itself. However when I run the macro using the query as a filter I get a parameter prompt to enter a value for the field in File-C.
1
1795
by: prabhukalyan | last post by:
Hi all, I am not so good in queries. here is my problem 2 tables to store the received items (fabric)-- inwardmaster, inwarddetails and after some processing (Dyeing) the items were deliverd and stored in tables -- deliverymaster, deliverydetails
1
1484
by: RJN | last post by:
Hi I'm new to VS.Net Crystal Report. I'm using data sets as the source for crystal report. I've a dataset which has 2 data tables. The first table's schema is like this Ptid String Prid String Chid String PtName String
4
2926
by: LF | last post by:
Hello, I have a database with a table of projects and a table of tasks (each project can have multiple tasks). I have a report that has a group header for the project name, etc., and then the tasks appear in the Detail section. Is it possible to have the project information in the group header show up on the report even if there are no tasks (i.e., no records in the Detail) for that project? How would I do that?
6
2637
by: ontherun | last post by:
hi, i am a newbie in access and i created a database which is between client and job. the job fields consists of more than 100 fields. i could not split the fields as the relationship is 1-to1. between client and job, the relationship status is 1-to- many. with large table created, i could enter values from Client form and Job form to the respective tables. so far, everything looks fine. but when i attempt to create a report, i gotta...
1
1420
by: Dave | last post by:
How does one go about formatting reports? I am having trouble grouping specific items together with each other. I can't get all the information umbrella'ed under one specific source. I have 2 tables with a one-to-many (names-to-addresses) relationship...hence object X can have 1, 2, 3 etc objects under it. A specific example: Let's say I have different addresses under 1 specific name and I want to generate a report. I have a names...
0
8199
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
8705
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
8638
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
8365
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
7196
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...
0
5574
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
4198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2626
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
1
1811
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.