PC Review


Reply
Thread Tools Rate Thread

Blank graph still opens if no parameter values entered.

 
 
Ultraviolet47
Guest
Posts: n/a
 
      7th Dec 2006
Hi all

I have a graph based on a query:

SELECT Tbl_Sponsors.[Date Joined], Tbl_Sponsors.Adopt
FROM Tbl_Sponsors
WHERE (((Tbl_Sponsors.[Date Joined]) Between [Start Date (dd/mm/yyyy)]
And [End Date (dd/mm/yyyy)]));

so a user can see how many people joined withtin periods.

If the user cancels the request on Start or End date pop up boxes, it
still opens a graph, which is blank. Is there any way to stop it doing
this?

Also, I have tried an input mask for the query criteria (e.g 00/00/00)
but this doesn't seem to apply itself to the parameter pop up box?

Thanks,

 
Reply With Quote
 
 
 
 
=?Utf-8?B?RGVubmlz?=
Guest
Posts: n/a
 
      7th Dec 2006
I am assuming the graph is on a report. If so, create an [Event Procedure] on
the reports 'On No Data' property. In the procedure, put the code
Cancel = True

"Ultraviolet47" wrote:

> Hi all
>
> I have a graph based on a query:
>
> SELECT Tbl_Sponsors.[Date Joined], Tbl_Sponsors.Adopt
> FROM Tbl_Sponsors
> WHERE (((Tbl_Sponsors.[Date Joined]) Between [Start Date (dd/mm/yyyy)]
> And [End Date (dd/mm/yyyy)]));
>
> so a user can see how many people joined withtin periods.
>
> If the user cancels the request on Start or End date pop up boxes, it
> still opens a graph, which is blank. Is there any way to stop it doing
> this?
>
> Also, I have tried an input mask for the query criteria (e.g 00/00/00)
> but this doesn't seem to apply itself to the parameter pop up box?
>
> Thanks,
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IE opens a opens about:blank when opening word or excel san Windows XP Internet Explorer 1 13th Mar 2009 12:49 PM
Show all data when no parameter values are entered C. Sharp Microsoft Access Queries 1 8th Sep 2008 03:07 PM
Parameter Query - not working when on parameter not entered =?Utf-8?B?SkFE?= Microsoft Access Queries 4 27th Apr 2006 04:35 PM
Combo box opens form to current selection, Else if blank opens to New Terry B via AccessMonster.com Microsoft Access Form Coding 3 23rd Sep 2005 04:22 PM
Graph and Parameter Values - Multiple Prompt Sue Microsoft Access Reports 1 1st Oct 2004 04:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:19 AM.