Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CrossTab Query and report Field Errors

Status
Not open for further replies.

mearmortal

Programmer
May 1, 2002
79
GB
Using a Query with the following: -

Week: Format([TheDate],"ww") /* Column Heading
Value: 1-([SumOfFailed]/[SumOfTested]) /* Value

Depending on the informaton some week numbers say from 23 to 52 don't exist right now, how do I stop the report from failing because of invalid field names.
Appart from removing the Fields of course.

Each of the Fields call up the following in the controlsource: -

=IIf([1]>0,[1],1) through =IIF([52]>0,[52],1)

is their something else I need to set.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top