Click here to Skip to main content
15,902,635 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: VS 2008 and Linux ?? Pin
Eddy Vluggen11-Mar-10 2:18
professionalEddy Vluggen11-Mar-10 2:18 
QuestionKeepAlive implement [modified] Pin
KenKen Wong9-Mar-10 14:13
KenKen Wong9-Mar-10 14:13 
AnswerRe: KeepAlive implement Pin
Luc Pattyn9-Mar-10 14:26
sitebuilderLuc Pattyn9-Mar-10 14:26 
QuestionCustom attributes aren't being displayed Pin
jeffb429-Mar-10 9:12
jeffb429-Mar-10 9:12 
AnswerRe: Custom attributes aren't being displayed Pin
Scott Dorman9-Mar-10 17:48
professionalScott Dorman9-Mar-10 17:48 
GeneralRe: Custom attributes aren't being displayed Pin
jeffb4210-Mar-10 7:45
jeffb4210-Mar-10 7:45 
QuestionA new, open source, Outlook panel plugin in C# Pin
François-Denis Gonthier9-Mar-10 7:22
François-Denis Gonthier9-Mar-10 7:22 
QuestionRDLC expression error Pin
Xpnctoc9-Mar-10 5:59
Xpnctoc9-Mar-10 5:59 
I wasn't sure what message board I should post this on, since none of the CodeProject boards seem to allow for the VS reports.

In my RDLC report, I'm trying to negate a decimal value when another field is null. I used this expression:

=IIf(IsDBNull(Fields!dst_ledgeritem_fk.Value), -Fields!dispamount.Value, Fields!dispamount.Value)

However, when the IsDBNull(...) evaluates to true, the cell on the published report shows "#Error". When it evaluates to false, the plain old "Fields!dispamount.Value" displays perfectly.

I've tried several variations for the "True" part of the expression:

-Fields!dispamount.Value
0.0 - Fields!dispamount.Value
0.0 - CDbl(-Fields!dispamount.Value)

All of them turn up "#Error". What am I doing wrong? Is there a way to get more useful information out of the report than just the useless token "#Error"?

Thanks in advance.
QuestionADO .NET Data Services Pin
jonatan_5568-Mar-10 23:18
jonatan_5568-Mar-10 23:18 
AnswerRe: ADO .NET Data Services Pin
Abhinav S9-Mar-10 0:47
Abhinav S9-Mar-10 0:47 
GeneralRe: ADO .NET Data Services Pin
jonatan_55612-Mar-10 5:38
jonatan_55612-Mar-10 5:38 
QuestionIBM, Microsoft, Eclipse and Adobe Vie for IDE Glory at India’s Premier Software Developer Awards Pin
Shaguf Mohtisham8-Mar-10 19:37
Shaguf Mohtisham8-Mar-10 19:37 
QuestionCustomizing Ado .Net Service Operations Pin
jonatan_5568-Mar-10 0:14
jonatan_5568-Mar-10 0:14 
QuestionThe best deployment tools Pin
Nima.naqipoor7-Mar-10 22:19
Nima.naqipoor7-Mar-10 22:19 
AnswerRe: The best deployment tools Pin
The Man from U.N.C.L.E.8-Mar-10 4:02
The Man from U.N.C.L.E.8-Mar-10 4:02 
QuestionError : The "CodeAnalysis" task failed unexpectedly. Pin
deadlyabbas7-Mar-10 19:11
deadlyabbas7-Mar-10 19:11 
AnswerRe: Error : The "CodeAnalysis" task failed unexpectedly. Pin
deadlyabbas7-Mar-10 19:46
deadlyabbas7-Mar-10 19:46 
GeneralRe: Error : The "CodeAnalysis" task failed unexpectedly. Pin
JHizzle8-Mar-10 4:30
JHizzle8-Mar-10 4:30 
Questionhello? Pin
Osairisblue7-Mar-10 17:51
Osairisblue7-Mar-10 17:51 
AnswerRe: hello? Pin
thatraja7-Mar-10 19:22
professionalthatraja7-Mar-10 19:22 
AnswerRe: hello? Pin
Richard MacCutchan7-Mar-10 22:37
mveRichard MacCutchan7-Mar-10 22:37 
AnswerRe: hello? Pin
The Man from U.N.C.L.E.8-Mar-10 2:47
The Man from U.N.C.L.E.8-Mar-10 2:47 
AnswerRe: hello? Pin
darkelv8-Mar-10 18:52
darkelv8-Mar-10 18:52 
Questionchanging default namespaces Pin
CalvinHobbies7-Mar-10 17:43
CalvinHobbies7-Mar-10 17:43 
AnswerRe: changing default namespaces Pin
The Man from U.N.C.L.E.8-Mar-10 4:28
The Man from U.N.C.L.E.8-Mar-10 4:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.