Re: Help Pls - 1 Combo box and 1 Date Field on a form to create a repo
- From: "tina" <nospam@xxxxxxxxxxx>
- Date: Sun, 24 Aug 2008 21:44:51 GMT
post your code, please, both the "working" code for team lead, and the
non-working code that includes the date criteria.
hth
"terushb via AccessMonster.com" <u45650@uwe> wrote in message
news:8929023bca9ff@xxxxxx
Tina, thanks so much, that worked for the Team Lead Part of the code, andthe
report opens up great.. I had left out a perimeter.... so now this is whatI
need assistance on... and then I am good to go... thanks again.. you're agem.
. Tbookertable
And how stupid is this... I tried to add the Monitor Date field (from
TEAM LEAD TRACK)to the form. I want the user to be able to enter themonitor
date the report will feed off the Team Lead from the Combo Box choice(from
TABLE TEAM LEADS). I don't think I have the Monitor Date field on the Form=[TEAM
with the Combo Box set up correctly... I have it with control source
LEAD DAILY TRACK]!MonitorDate....in
But I know I am missing something to allow the user to enter the "Monitor
Date" to pull all the records for the report based on the TEAM LEAD choice
from the combo box, and the "Monitor Date" (short date format) they enter
the Monitor date field.something...
tina wrote:
well, if the value of cboteamlead is a Text data type, then you need to
enclose the value in single quotes within the double quotes, as
WhereCondition:="[TEAM LEAD]= '" & Me.cboteamlead & "'"
to add a date criteria to the condition, try
WhereCondition:="[TEAM LEAD]= '" & Me.cboteamlead _
& "' And [Monitor Date] = #" & Me.MonitorDateControlName _
& "#"
hth
Hi to all you wonderful ACCESS Guru's - I am definitely missing
theyI want a user to be able to create and view the report by the Team Lead
[quoted text clipped - 13 lines]
DoCmd.OpenReport "Y-T-D Team Lead Report", View:=acPreview, _
WhereCondition:="[TEAM LEAD]= '" & Me.cboteamlead & ""
--
Message posted via http://www.accessmonster.com
.
- References:
- Help Pls - 1 Combo box and 1 Date Field on a form to create a repo
- From: TxBlueEyes
- Re: Help Pls - 1 Combo box and 1 Date Field on a form to create a repo
- From: tina
- Re: Help Pls - 1 Combo box and 1 Date Field on a form to create a repo
- From: terushb via AccessMonster.com
- Help Pls - 1 Combo box and 1 Date Field on a form to create a repo
- Prev by Date: RE: Calculation Using IIf
- Next by Date: Re: Problem Printing Images in a Report
- Previous by thread: Re: Help Pls - 1 Combo box and 1 Date Field on a form to create a repo
- Index(es):
Relevant Pages
|