A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Conditional Formatting Cause Running Sum Error



 
 
Thread Tools Display Modes
  #1  
Old August 2nd, 2007, 05:39 PM posted to microsoft.public.access.reports
Tom[_6_]
external usenet poster
 
Posts: 18
Default Conditional Formatting Cause Running Sum Error

Any ideas about why adding a conditional format would cause a running
sum control to display "#Name?" instead of the running sum value?
Without conditional formatting, it works fine.

Condition statement: [IS_PLACEHOLDER]

Note: IS_PLACEHOLDER is a Yes/No field in the underlying query.

Thanks!

  #2  
Old August 2nd, 2007, 06:54 PM posted to microsoft.public.access.reports
George Nicholson
external usenet poster
 
Posts: 791
Default Conditional Formatting Cause Running Sum Error

Make sure you don't have a control with the same name on the report. #Name
indicates that Access is confused: it either can't find it or doesn't know
which one you want (feast or famine).

HTH,

"Tom" wrote in message
oups.com...
Any ideas about why adding a conditional format would cause a running
sum control to display "#Name?" instead of the running sum value?
Without conditional formatting, it works fine.

Condition statement: [IS_PLACEHOLDER]

Note: IS_PLACEHOLDER is a Yes/No field in the underlying query.

Thanks!



  #3  
Old August 2nd, 2007, 07:16 PM posted to microsoft.public.access.reports
Tom[_6_]
external usenet poster
 
Posts: 18
Default Conditional Formatting Cause Running Sum Error

On Aug 2, 10:54 am, "George Nicholson"
wrote:
Make sure you don't have a control with the same name on the report. #Name
indicates that Access is confused: it either can't find it or doesn't know
which one you want (feast or famine).

HTH,

"Tom" wrote in message

oups.com...



Any ideas about why adding a conditional format would cause a running
sum control to display "#Name?" instead of the running sum value?
Without conditional formatting, it works fine.


Condition statement: [IS_PLACEHOLDER]


Note: IS_PLACEHOLDER is a Yes/No field in the underlying query.


Thanks!- Hide quoted text -


- Show quoted text -


Actually, what I have is txtQTY and txtCUM_QTY where the latter is the
running sum with the same data source as the former. The underlying
data source is [QTY_DUE] in the report's query.

Any other ideas?

  #4  
Old August 2nd, 2007, 08:51 PM posted to microsoft.public.access.reports
George Nicholson
external usenet poster
 
Posts: 791
Default Conditional Formatting Cause Running Sum Error

Any other ideas?
Yep. You said that [IS_PLACEHOLDER] is a field in the underlying query,
fine. But is the field actually present anywhere on the report itself
(doesn't need to be visible, just present)? That makes a difference
sometimes. Not sure if it's non-presence would cause Conditional formatting
to generate a Name# error, but its easy enough to find out.

I did understand you to say that you don't get a #Name error if you don't
have Conditional Formatting applied, right? Its the addition of the
condition that causes the #Name error?

HTH,

"Tom" wrote in message
oups.com...
On Aug 2, 10:54 am, "George Nicholson"
wrote:
Make sure you don't have a control with the same name on the report.
#Name
indicates that Access is confused: it either can't find it or doesn't
know
which one you want (feast or famine).

HTH,

"Tom" wrote in message

oups.com...



Any ideas about why adding a conditional format would cause a running
sum control to display "#Name?" instead of the running sum value?
Without conditional formatting, it works fine.


Condition statement: [IS_PLACEHOLDER]


Note: IS_PLACEHOLDER is a Yes/No field in the underlying query.


Thanks!- Hide quoted text -


- Show quoted text -


Actually, what I have is txtQTY and txtCUM_QTY where the latter is the
running sum with the same data source as the former. The underlying
data source is [QTY_DUE] in the report's query.

Any other ideas?



  #5  
Old August 3rd, 2007, 03:40 PM posted to microsoft.public.access.reports
Tom[_6_]
external usenet poster
 
Posts: 18
Default Conditional Formatting Cause Running Sum Error

On Aug 2, 12:51 pm, "George Nicholson"
wrote:
Any other ideas?


Yep. You said that [IS_PLACEHOLDER] is a field in the underlying query,
fine. But is the field actually present anywhere on the report itself
(doesn't need to be visible, just present)? That makes a difference
sometimes. Not sure if it's non-presence would cause Conditional formatting
to generate a Name# error, but its easy enough to find out.

I did understand you to say that you don't get a #Name error if you don't
have Conditional Formatting applied, right? Its the addition of the
condition that causes the #Name error?

HTH,


The field is not present on the form. I've always been adverse to
sticking invisible controls on forms and reports if I could avoid
doing so. I do have several other instances in this same application
of using conditional formatting tied to fields in the data source but
not present in a control on the report.

By way of background, the idea here is to display the quantity due for
each required delivery, then next to it display a running cumulative
total for the same data. The IS_PLACEHOLDER Yes/No field simply
highlights records for required deliveries that have not yet found
their way into the released contract, but are pending and Operations
needs to know they're coming.

If I'm not mistaken, the only difference in this case is a running sum
tied to the same field as a non-running sum.

I'm baffled (not that this is unusual...)

Thanks,

Tom

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:03 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.