473,566 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Selecting sub-reports by date criteria

I have a master "attendance " report that also has two "attendance "
sub-reports...each collecting data from a different group...and
totaling
those present at the end. I chose sub-reports because of the way they
needed the data displayed. When printing this report, they wanted an
option
to select by date. The sub-reports are linked to the master by this
"date"
field.

How can I print this report without having to enter the "date"
numerous
times (for whatever reason, it's 5 times even though only one query in
each of the 3 reports requires the date field).
Nov 13 '05 #1
2 1615
Rene, Set the criteria of your query to use the date you select on your
form. I'm assuming you select a date on your main form then click a button
to print the reports from this main form. Set the criteria in your queries
as follows:

=[Forms]![YourMainForm]![YourDateControl Name]

--
Reggie

----------
"Rene" <tr******@hotma il.com> wrote in message
news:a0******** *************** **@posting.goog le.com...
I have a master "attendance " report that also has two "attendance "
sub-reports...each collecting data from a different group...and
totaling
those present at the end. I chose sub-reports because of the way they
needed the data displayed. When printing this report, they wanted an
option
to select by date. The sub-reports are linked to the master by this
"date"
field.

How can I print this report without having to enter the "date"
numerous
times (for whatever reason, it's 5 times even though only one query in
each of the 3 reports requires the date field).

Nov 13 '05 #2
Hello
Make a form to enter this date. You will need to open this form from
another report, which can be empty and cancelled as soon as it opens
the form. Open your report from OK button of the form, after user
enters a date. Reference all your queries to take date from this form.
Do not link subreports by date to the parent report, rather base them
on queries taking the date from the form.
Hope, it will be of some use.
Galina
tr******@hotmai l.com (Rene) wrote in message news:<a0******* *************** ***@posting.goo gle.com>...
I have a master "attendance " report that also has two "attendance "
sub-reports...each collecting data from a different group...and
totaling
those present at the end. I chose sub-reports because of the way they
needed the data displayed. When printing this report, they wanted an
option
to select by date. The sub-reports are linked to the master by this
"date"
field.

How can I print this report without having to enter the "date"
numerous
times (for whatever reason, it's 5 times even though only one query in
each of the 3 reports requires the date field).

Nov 13 '05 #3

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

Similar topics

3
3001
by: Amit | last post by:
I have a quick question. Given test XML: <root> <ns1:sub>1</ns1:sub> <ns2:sub>2</ns2:sub> <ns3:sub>3</ns3:sub> </root> is there a way to select all nodes that contain the word "sub". (Due to namespace constraints, I will be getting the subnodes as <ns1:sub>,
3
2626
by: Pete | last post by:
I have a combobox which is used to select records, which is satisfactory at the moment. However, a second user is going to start using this database and there will be 1600 records. This makes the combobox a little unfeasable as searching through this many names would be difficult and time-consuming. I would like the user to be able to...
4
4709
by: Sami | last post by:
I hope someone will tell me how to do this without having to do any VB as I know nothing in that area. I am a rank beginner in using Access. I have created a database consisting of student athletes.  I have now learned how to join two different tables in a query so that I might generate a report. Specifically, student athletes at a...
6
2048
by: aaj | last post by:
Hi all I use a data adapter to read numerous tables in to a dataset. The dataset holds tables which in turn holds full details of the records i.e. keys, extra colums etc.. In some cases I need to use parts of the tables in datagrids, and here is where my problem lies
0
1176
by: Steven W | last post by:
I'm trying to setup a datagrid in a custom control where I can select the row with the Select column hidden and have it call the "SelectIndexChanged" event. In the "SelectIndexChanged" I just want to populate a textbox with an item out of the selected row. I've implemented what seems to be the standard approach such as shown below to...
1
2909
by: sneha123 | last post by:
There will be some 20 questions and for each question there will be 4 choices.what i want to do is to select multiple answers by clicking the checkbox. i m using asp.net,vb.net pls help me we have written the code using radio button for selecting single item.but we want to replace it with checkbox to select multiple items. the code...
4
1215
by: Dino M. Buljubasic | last post by:
I have a form and a panel on the form that holds 24 user controls each one representing an hour (0 - 23). The panel is completelly covered with the user controls. I need to be able to select user controls and highlight them or select them (like rubber band) by mouse-down-drag-mouse-up events. I am trying to capture coordinates of mouse...
2
1768
by: Derek Vincent | last post by:
Using Visual Studio.net 2003 to create an aspx web form I am having a problem selecting an item from DropDownListBox with id= ListBoxStudies. I can see the items from the bound database table but when I click on an item the selected item stays at itemindex 0. What must I do to have the itemindex change when I click on an item. What's...
0
8629
by: | last post by:
I am testing the following piece of code: Is it possible to list the row number containing the checked box? After checking the desired box, I would want a message box to popup listing the row numbers on the process button click event. Many thanks Option Explicit On Option Strict On Imports System.Data ' Form to show the order's for a...
3
1608
by: is49460 | last post by:
Hello, I have a form with various controls but to simplify the problem let’s say I have 2 listboxes. The selection in listbox1 controls RowSource of the listbox2. For example lstCars contains car models, if I select car model X then lstColors should give me available colors for that particular model. The problem is if I select car model X in...
0
7584
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...
0
8108
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...
0
7951
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...
1
5484
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...
0
3643
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...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2083
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
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
925
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...

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.