My Assistant
![]() ![]() |
|
|
Feb 24 2012, 08:23 AM
Post
#1
|
|
|
UtterAccess Veteran Posts: 420 |
Hi there -
I have a form with three unbound textboxes and a command button. Textboxes - Begin Date, End Date and Employee #, Command Button - View Report. The command button brings up Report A. Report uses Query B. Query B has three paramenters: [Forms]![1e-frmMedOrthoCompletePrompt]![txtMMID] - this is sending the EmployeeID from my form. >=[Forms]![frmMedOrthoCompletePrompt]![txtBeginDate] And <=[Forms]![frmMedOrthoCompletePrompt]![txtEndDate] - this is sending the dates from my form I also have one criteria in the query pulling all completed claims. When I run the query and the report on its own and put in my parameters I get records. HOWEVER, when I put my parameters in my form the report returns no records. Does anyone have idea what I could be doing? Thanks Lorraine |
|
|
|
Feb 24 2012, 08:30 AM
Post
#2
|
|
|
UtterAccess VIP Posts: 6,322 From: Bethesda, MD USA |
Is this a Select Query or a Crosstab?
Try the following to see if this works: Like [Forms]![1e-frmMedOrthoCompletePrompt]![txtMMID] Between [Forms]![frmMedOrthoCompletePrompt]![txtBeginDate] And [Forms]![frmMedOrthoCompletePrompt]![txtEndDate] |
|
|
|
Feb 24 2012, 08:33 AM
Post
#3
|
|
|
UtterAccess VIP Posts: 8,188 From: CT |
what is the source of data for the report? the query ??
|
|
|
|
Feb 24 2012, 08:38 AM
Post
#4
|
|
|
UtterAccess Veteran Posts: 420 |
Hey there RAZMaddaz -
It is a select query and your recommendation worked! U rock! Have a great day and thanks! Lorraine |
|
|
|
Feb 24 2012, 08:45 AM
Post
#5
|
|
|
UtterAccess VIP Posts: 6,322 From: Bethesda, MD USA |
|
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 18th June 2013 - 12:40 AM |