Hi all.
Im using a form's recordsource for a report. which works fine
Me.RecordSource =
Forms("frmdate0 1").Form.Contro ls("HoldLog").F orm.Controls("f rmHoldLog01").F orm.RecordSourc e
Ive got a couple of buttons on the form which allows the user to filter from
a full recordset, on the form. I now wish to use a date filter when running
the report, so that the report takes the filtered recordset (me.recordset)
and applies the date filter. I don't mind if i have to put a form in the
middle to hold the dates, but i do need to apply the date filter only the
the form's current recordset.
Any ideas?
-- 2 1884
Bump,
Any ideas?
Thanks in advance.
"Gerry Abbott" <pl****@ask.i e> wrote in message
news:oN******** ******@news.ind igo.ie... Hi all. Im using a form's recordsource for a report. which works fine
Me.RecordSource = Forms("frmdate0 1").Form.Contro ls("HoldLog").F orm.Controls("f rmHoldLog01").F orm.RecordSourc e
Ive got a couple of buttons on the form which allows the user to filter from a full recordset, on the form. I now wish to use a date filter when running the report, so that the report takes the filtered recordset (me.recordset) and applies the date filter. I don't mind if i have to put a form in the middle to hold the dates, but i do need to apply the date filter only the the form's current recordset.
Any ideas? --
Well No reply from the group on this one....?
The solution i used was to apply all the filters from the form, and use it
to modify the SQL, which I used as the new recordsource. The report was then
run from the Form recordsource.
Gerry Abbott
"Gerry Abbott" <pl****@ask.i e> wrote in message
news:oN******** ******@news.ind igo.ie... Hi all. Im using a form's recordsource for a report. which works fine
Me.RecordSource = Forms("frmdate0 1").Form.Contro ls("HoldLog").F orm.Controls("f rmHoldLog01").F orm.RecordSourc e
Ive got a couple of buttons on the form which allows the user to filter from a full recordset, on the form. I now wish to use a date filter when running the report, so that the report takes the filtered recordset (me.recordset) and applies the date filter. I don't mind if i have to put a form in the middle to hold the dates, but i do need to apply the date filter only the the form's current recordset.
Any ideas? -- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dalan |
last post by:
Okay, I have worked on this and then some, but cannot seem to crack
it. So if someone can straighten my code out, or suggest a new
approach, then I'm all ears.
Here goes: I have two tables - one (tblReports) with all of the fields
appearing on a report selection form (frmReports). The other one
(tblGroup) is only use for the eight group types that I'm trying to
use as a filter. The tblGroup is hooked to the tblReports Group field...
|
by: DCD |
last post by:
I was wondering if anyone knew how to create a report from information that
you select on a form. I have a few of the fields on the form linked to a
table, however some of the other ones are not linked, and are totally
separate.
Thanks.
DC
|
by: Aravind |
last post by:
Hi folks.
My database project has the following:
--------------------------------------------------------------------------------
tables:
Member: MemName, MemNo , MemType, CourseFaculty
History: contains all of the above
queries:
|
by: Monir |
last post by:
Hi guys,
I made a database with two tables ( tblsender, tblreceiver) with one
to many relationship.
tblsender has sender_Id (pk) sender_name, address, phone, email etc.
tblreceiver has receiver_id (pk), sender_id (fk) receiver_name,
address, phone, date, etc.
|
by: James Fortune |
last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't
understand why people who know how to write code to completely replace
a front end do not write something that will automate the code that
implements managing unbound controls on forms given the superior
performance of unbound controls in a client/server environment. I can
easily understand a newbie using bound controls or someone with a
tight deadline. I guess I need...
| |
by: Richard Hollenbeck |
last post by:
I tried to ask this question before on the 14th of January but I never got a
reply. I'm still struggling with the problem. I'll try to rephrase the
question:
I have a crosstab query with rows of students and columns of activities and
the data are the students' scores in each activity. No problem, almost.
The problem is that there are five classes at the moment and will be more
classes (or courses) in future semesters. I don't want...
|
by: mstery |
last post by:
I have a report generated via an ID selection made in a dropdown on a
form. The report filters by an on click event in a preview report
button on the form. Everything in the report, including subreports,
filters perfectly, with the exception of a running sum DLookup field on
the main report. This field looks up a value in a foreign table. I'm
not clear where I'm supposed to be filtering this field, since it
obviously isn't picking up the...
|
by: |
last post by:
hi,
i have a form on which a user can choose specific criteria such as dates
etc, in order to filter the report that is called from the form.
i do this by using the Where section of the docmd.openreport as follows
DoCmd.OpenReport stDocName, acPreview, , strWhere
where strWhere is a string dependant on the choices the user makes in the
|
by: Simon |
last post by:
Dear reader,
The syntax for the VBA code to change the RecordSource of a Master Report
is:
Me.RecordSource = "TableOrQueryName"
|
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...
|
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...
| |
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...
|
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,...
|
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...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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...
| |