RE: report with queries problem
- From: JeremyReger <JeremyReger@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 3 Oct 2007 13:29:01 -0700
You are correct, for some reason this is how when I enter it in the criteria
it ends up in the title column but the query works fine... but it would be
the RNLTD Column that has the date Report No LAter Than...
"KARL DEWEY" wrote:
.Does your field Input_Gain.Title contain a date? It seems to me that itWHERE (((Input_Gain.Title) Between Int(Date()) And Int([RNLTD])));
would have text.
--
KARL DEWEY
Build a little - Test a little
"JeremyReger" wrote:
Success!
The Appointment one works to query what is up for that day, but what about
the Incoming Personnel Query where you want it between two dates?
Thank you again!
"KARL DEWEY" wrote:
Try using ---
HAVING Int(Input_Appointment.Date)=Date();
--
KARL DEWEY
Build a little - Test a little
"JeremyReger" wrote:
I apologize... I had an idiot moment.... I will just use the "sub report"
feature... if I can ever get the sub report to show up... but FYI... Here was
my Query SQL:
For My Appointment Query
SELECT Input_Appointment.FirstName, Input_Appointment.LastName,
Input_Appointment.Rank, Input_Appointment.Appointment_Type,
Input_Appointment.Time, Input_Appointment.Date
FROM Input_Appointment
GROUP BY Input_Appointment.FirstName, Input_Appointment.LastName,
Input_Appointment.Rank, Input_Appointment.Appointment_Type,
Input_Appointment.Time, Input_Appointment.Date
HAVING (((Input_Appointment.Date)=Date()));
For my Incoming Personnel Query
SELECT Input_Gain.Title, Input_Gain.FirstName, Input_Gain.LastName,
Input_Gain.Type, Input_Gain.Location, Input_Gain.RNLTD
FROM Input_Gain
WHERE (((Input_Gain.Title) Between Int(Date()) And Int([RNLTD])));
"KARL DEWEY" wrote:
not work, but I what the problem is...But any of the queries that come with the "input.appointment.whatever" do
Post the query SQL for the above.
--
KARL DEWEY
Build a little - Test a little
"JeremyReger" wrote:
I created a database to enter in personnel and their status such as who is on
vacation, who is working in another office, and who has appointments for the
day. I went through and created queries for each table such as appointments,
vacation, etc... When I go to add them to my report some go in as:
input.appointment.Name
input.appointment.Title
Date
Time
And the only ones that go on the report correctly are the ones that all come
onto the report as:
Name
Title
Date
Time
But any of the queries that come with the "input.appointment.whatever" do
not work, but I what the problem is...
Thank you for your help!!!
- Follow-Ups:
- RE: report with queries problem
- From: KARL DEWEY
- RE: report with queries problem
- References:
- report with queries problem
- From: JeremyReger
- RE: report with queries problem
- From: JeremyReger
- RE: report with queries problem
- From: KARL DEWEY
- RE: report with queries problem
- From: JeremyReger
- RE: report with queries problem
- From: KARL DEWEY
- report with queries problem
- Prev by Date: Re: Can't figure out how to create this report (repost - clarificatio
- Next by Date: Re: Modifying reports with VB6
- Previous by thread: RE: report with queries problem
- Next by thread: RE: report with queries problem
- Index(es):
Relevant Pages
|