In an Access report, where there is a total line using the SUM()
function against a field in the detail rows, is there a way to
suppress the "#Error" that Access displays in that calculated field
when do data records exist in the query the report is based on. This
seems like it should be easy, but I haven't found it yet.
~bp 2 1758
"Bill Prew" <bi******@hotma il.com> wrote in message
news:2e******** *************** ***@posting.goo gle.com... In an Access report, where there is a total line using the SUM() function against a field in the detail rows, is there a way to suppress the "#Error" that Access displays in that calculated field when do data records exist in the query the report is based on. This seems like it should be easy, but I haven't found it yet.
Bill,
You'll probably need to use a conditional statement as the control source in
your total line, something like:
=iif(Sum(Field) > 0, Sum(Field),null )
or
=iif(Sum(Field) > 0, Sum(Field),'na' )
No, this doesn't work either, it still gives "#Error" on the report
for that calculated field. Bill,
You'll probably need to use a conditional statement as the control source in your total line, something like:
=iif(Sum(Field) > 0, Sum(Field),null )
or
=iif(Sum(Field) > 0, Sum(Field),'na' ) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: intl04 |
last post by:
I am getting strange print-related error messages when trying to
create (not print!) reports. For example, when I click 'new' to create
a report then choose 'design view', I get an error message that says:
'There was a problem retrieving printer information for this object.
The object may have been sent to a printer that was unavailable.'
When I choose 'report wizard', I can go through all of the steps but
then I get an error message...
|
by: NOSPAM |
last post by:
Guys,
I get the 'There was an error executing the command'
error message.
I an using win xp & Access 2002.
I created a database using the MS Access template 'Order Entry'
I have entered about 97 customer enries so far.
|
by: Abhi |
last post by:
FYI:
This message is for the benefit of MS Access Community. I found that
this prblem has been encounterd by many but there is hardly any place
where a complete solution is posted. So I thought I should give back
to the community by posting our findings.
Thanks you all for all your help till now by posting problems and
their solutions.
~Abhijit
|
by: Donagh Berry |
last post by:
hi all,
I am a newcomer to using modules in microsoft access. I have written
code to create a table and append other tables onto it. However, with
each step a dialog box appears to ask if I'm sure I want to append the
records. Unfortunately the MS access book is out of the library. Does
any one know how to supress these dialog boxes (i.e., say yes to every
box that appears)?
Thanks in advance
Donagh
|
by: advance scout |
last post by:
HELP! My database is suddenly corrupted. My computer was acting funny
(very sluggish) and was shut down. Access had been already been closed down
but computer was acting very slow , so perhaps it was still open. I am now
getting a "The data base ... is corrupted and needs to be repaired" error .
I have made copies of the corrupted database so that I could try to repair
and still have a corrupted copy available. When I try to repair , it...
| |
by: sara |
last post by:
I have an A2K database that has links to 3 of my other databases
(external links) to run some reports. The coding in any of the 4 is
pretty simple.
Recently when we make a new .mde for the "main" database, the first
time we run our reports (all executed from code from a form), we get a
Type Mismatch Error on the line:
Set db = CurrentDb
|
by: amitda |
last post by:
I am getting following error while trying to access sql server report
manager:
I saw an msdn article about similar issue, made sure c:\temp exists and
pointed TMP and TEMP sys env var to that. Also made sure Temporary
ASP.NET Files directory can be accessed by NETWORK SERVICE and ASPNET
accounts.
Still no luck. Anyone can suggest anything else????
Please help.
Thanks
|
by: Lysander |
last post by:
Thought I would give something back with a few articles. This article is a bit of code to add error handling. When I have time, I want to write articles on multilingual databases, and Access Security, but I'll start with something short and simple
This code was written in Access 2003 but should be valid in Access 2000
By default, when you start a new module, either in a form or report, or a global module, Access does not declare Option...
|
by: sphinney |
last post by:
All,
I'm not sure how to adequately explain my problem in two sentences or less, so at the risk of providing TMI, here's the condensed verion.
I have developed an Access 2002 database file that contains a form, multiple queries and multiple reports. The purpose of the form is to allow the user to run various queries against my company's Sybase server and display a report.
Since the queries return ADO recordsets from the Sybase server,...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |