I am getting #Error while generating report, after converting the database from 2003 to 2007.
The "#Error" when run the report. On this you have report elements use nested if-statements as parameter to the sum() function. It seems like this works on 2003, but not on 2007.
Steps;
1) Open the zip file, rename the file, by remove _ at the end of the file.
2) If you run the report based on image02, you will get
#Error in the report.
3) this is becoz of the
Expand|Select|Wrap|Line Numbers
SUM Funtion : =Sum(IIf([lob1] Like "WC*",[premium1],
IIf([lob2] Like "WC*",[premium2],
IIf([lob3] Like "WC*",[premium3],
IIf([lob4] Like "WC*",[premium4],
IIf([lob5] Like "WC*",[premium5],
IIf([lob6] Like "WC*",[premium6],
IIf([lob1] Like "PWC*",[premium1],
IIf([lob2] Like "PWC*",[premium2],
IIf([lob3] Like "PWC*",[premium3],
IIf([lob4] Like "PWC*",[premium4],
IIf([lob5] Like "PWC*",[premium5],
IIf([lob6] Like "PWC*",[premium6],0)))))))))))))
From my understanding... there are more arguments passed, if 8 args, then report is generating.
Is there any way by writing VB functions.. to remove this error...
There are a few different options with string comparisons (See ANSI Standards in String Comparisons), but I can see none that fit your particular situation. Had it been "PWC*" or "QWC*" then we could have used "[PQ]WC*", but we cannot tell it to look for nothing in the first character - essentially moving the string along one. As you're using Like as well, as opposed to =, we can't use an In() trick either.
A function could be written, but it would need twelve (12) parameters passed, which is clumsier than I like.
@gonella123
still getting the same error even i used OR in SUM as you mentioned. Can you attach if you get any Numerical value if you use the query which you mentioned.
OK, here's my 2p worth:
===
Q. Why am I getting the error message 'Headers already sent'?
A. PHP produces this error message when you try to set a header for a web
page after you have already...
Hoping someone can help here..
Our application (C#.Net) was receiving IBM.Data.DB2.DB2Exceptions
ERROR SQL0904N Unsuccessful execution
caused by an unavailable resource. Reason code: '', type...
Hello,
I created an Access database in Access 2002-2003 that I am trying to
convert to Access 2000. During conversion, I get error "The report
name ' dirDataCopy' you entered in either the...
I am trying to display a page that has a data grid on it. I get this
message
Description: An error occurred during the processing of a configuration file
required to service this request....
Hi All,
I am working on Vb.net application with oracle as my database. I have
developed reports using crystal report 9. Usually when you open reports
directly in crystal report viewer control it...
Using Access 2003 w/Windows XP.
I have a database originally created with the tables internal. I split
the database into a front-end/back-end with linked tables. Now when I
open one of the...
On Window 2000 Professional Server
DB2 UDB
Level:
DB2 code release "SQL07029" with level identifie
"030A0105" and informational tokens "DB2 v7.1.0.98", "n040510" and
"WR21337".
In the...
by: Ignacio Machin \( .NET/ C# MVP \) |
last post by:
I'm getting an error "c:\inetpub\wwwroot\RGSSO\SO.aspx.cs(363):
'RGSSO.WebForm1.dataSetRG' denotes a 'field' where a 'class' was expected"
on the following code:
private void...
Dear everybody,
I have designed a database on office 2007. I opened a report using layout view.
I am using CTRL + F option to find on the report the string that I want. Once I write the string...
I'm trying to port my application to 2007 and am having a problem with the runtime. Here's what I've done and what's happening. I can open and run my .mdb with out any problem even without...
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
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,...
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
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...