Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Remove Enter Parameter Value dialogue boxes from query

 
   Database Forums (Home) -> MS Access RSS
Next:  SGA  
Author Message
zufie

External


Since: Feb 14, 2008
Posts: 915



(Msg. 1) Posted: Tue Dec 30, 2008 10:33 am
Post subject: Remove Enter Parameter Value dialogue boxes from query
Archived from groups: comp>databases>ms-access (more info?)

I can't figure out how to remove the Enter Parameter Value dialogue
boxes from my query when I run the query?

I have checkboxes and am counting them.

That is, when checkbox is checked = -1

When checkbox is empty = 0

Any ideas?

Thanks,

John

Here is my code:

SELECT Sum(Abs([AgencyContactYes])) AS AgncyContYes, Sum(Abs
([AgencyContactNo])) AS AgncyContNo, Sum(Abs
([DaysBeforeHeardFromAgency1Week])) AS DaysBefreHrdFrmAgncy1Wk, Sum(Abs
([DaysBeforeHeardFromAgency2Weeks])) AS DaysBefreHrdFrmAgncy2Wks, Sum
(Abs([DaysBeforeHeardFromAgency3orMoreWeeks])) AS
DaysBefreHrdFrmAgncy3orMreWks, Sum(Abs([BecomeIBCCPClientYes])) AS
BecmeIBCCPClientYes, Sum(Abs([BecomeIBCCPClientNo])) AS
BecmeIBCCPClientNo, Sum(Abs([BecomeIBCCPClientDontKnow])) AS
BecmeIBCCPClientDontKnow, Sum(Abs([SatisfiedWithHelpReceivedYes])) AS
SatisfdWHlpRecvdYes, Sum(Abs([SatisfiedWithHelpReceivedNo])) AS
SatisfdWHlpRecvdNo, Sum(Abs([InNeedFurtherAssistanceYes])) AS
InNdFurthrAssistYes, Sum(Abs([InNeedFurtherAssistanceNo])) AS
InNdFurthrAssistNo, Sum(Abs([AgencyContactYes])+Abs
([AgencyContactNo])) AS AgncyContTL, Sum(Abs
([DaysBeforeHeardFromAgency1Week])+Abs
([DaysBeforeHeardFromAgency2Weeks])+Abs
([DaysBeforeHeardFromAgency3orMoreWeeks])) AS DaysBefreHrdFrmAgncyTL,
Sum(Abs([BecomeIBCCPClientYes])+Abs([BecomeIBCCPClientNo])+Abs
([BecomeIBCCPClientDontKnow])) AS BecmeIBCCPClientTL, Sum(Abs
([SatisfiedWithHelpReceivedYes])+Abs([SatisfiedWithHelpReceivedNo]))
AS SatisfdWHlpRecvdTL, Sum(Abs([InNeedFurtherAssistanceYes])+Abs
([InNeedFurtherAssistanceNo])) AS InNdFurthrAssistTL, [AgncyContYes]/
[AgncyContTL] AS PrcntAgncyContYes, [AgncyContNo]/[AgncyContTL] AS
PrcntAgncyContNo, [DaysBefreHrdFrmAgncy1Wk]/[DaysBefreHrdFrmAgncyTL]
AS PrcntDaysBefreHrdFrmAgncy1Wk, [DaysBefreHrdFrmAgncy2Wks]/
[DaysBefreHrdFrmAgncyTL] AS PrcntDaysBefreHrdFrmAgncy2Wks,
[DaysBefreHrdFrmAgncy3orMreWks]/[DaysBefreHrdFrmAgncyTL] AS
PrcntDaysBefreHrdFrmAgncy3orMreWks, [BecmeIBCCPClientYes]/
[BecmeIBCCPClientTL] AS PrcntBecmeIBCCPClientYes, [BecmeIBCCPClientNo]/
[BecmeIBCCPClientTL] AS PrcntBecmeIBCCPClientNo,
[BecmeIBCCPClientDontKnow]/[BecmeIBCCPClientTL] AS
PrcntBecmeIBCCPClientDontKnow, [SatisfdWHlpRecvdYes]/
[SatisfdWHlpRecvdTL] AS PrcntSatisfdWHlpRecvdYes, [SatisfdWHlpRecvdNo]/
[SatisfdWHlpRecvdTL] AS PrcntSatisfdWHlpRecvdNo, [InNdFurthrAssistYes]/
[InNdFurthrAssistTL] AS PrcntInNdFurthrAssistYes, [InNdFurthrAssistNo]/
[InNdFurthrAssistTL] AS PrcntInNdFurthrAssistNo
FROM [IBCCP Referral REPORT ONLY]
GROUP BY [AgncyContYes]/[AgncyContTL], [AgncyContNo]/[AgncyContTL],
[DaysBefreHrdFrmAgncy1Wk]/[DaysBefreHrdFrmAgncyTL],
[DaysBefreHrdFrmAgncy2Wks]/[DaysBefreHrdFrmAgncyTL],
[DaysBefreHrdFrmAgncy3orMreWks]/[DaysBefreHrdFrmAgncyTL],
[BecmeIBCCPClientYes]/[BecmeIBCCPClientTL], [BecmeIBCCPClientNo]/
[BecmeIBCCPClientTL], [BecmeIBCCPClientDontKnow]/[BecmeIBCCPClientTL],
[SatisfdWHlpRecvdYes]/[SatisfdWHlpRecvdTL], [SatisfdWHlpRecvdNo]/
[SatisfdWHlpRecvdTL], [InNdFurthrAssistYes]/[InNdFurthrAssistTL],
[InNdFurthrAssistNo]/[InNdFurthrAssistTL]
WITH OWNERACCESS OPTION;

 >> Stay informed about: Remove Enter Parameter Value dialogue boxes from query 
Back to top
Login to vote
Rich P

External


Since: Jul 08, 2005
Posts: 44



(Msg. 2) Posted: Tue Dec 30, 2008 2:25 pm
Post subject: Re: Remove Enter Parameter Value dialogue boxes from query [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi John,

When that dialog box comes up - it usually means there is something
wrong with the query. The query is pretty long - 29 calculated fields.
My suggestions would be to calculate just one field at a time in a new
query - or - you could calculate - say 5 or 6 fields at a time in this
new query. If the dialog box appears again in the new query then reduce
the number of fields (from left to right) until the new query does not
complain. Then you have isolated the problem field.

If the field(s) in the new query calculated correctly - then add
that/those field(s) to a "Main" query and then add the next set of
fields to this test query and test those fields out. This may seem
tedious, but it is the easiest way to isolate the problem field(s).

Rich

*** Sent via Developersdex http://www.developersdex.com ***

 >> Stay informed about: Remove Enter Parameter Value dialogue boxes from query 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Input mask for query parameter - i have a query parameter that requests that a password - is there any way to add the password input mask to the parameter box as the password is visible on entry Thanks John Mc

ms-access parameter value query - Hi, If, for example an access database that concerns insurance claim investigations. The database comprises only one table containing data - investigation reference number, referral date, referral source, investigation commencement date, forename of..

Multiple Check Boxes - I have a database in Access 2000 that I need some help on. I have three tables: PROJECTS, SYSTEMS, & SYSTEMSREF. They possess the following fields: ----------------------------------- PROJECTS project_pk (autonumber) project_name project_descr..

Filtered Combo Boxes - I have several filtered combo boxes on a subform. These work fine whee I open the subform directly and test them. However, once I open my main form (that contains the subform) and test the subform it doesn't appear to complete the requery command. ...

Bland Combo Boxes - All of a sudden, the combo boxs in all my Access 2003 forms stop displaying data. They open, but no selections are displayed. They worked until a few days ago then stopped. They still display properly in my 2000 version. Any ideas as to why? Thanks --...
   Database Forums (Home) -> MS Access All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]