Click here to Skip to main content
16,013,322 members
Home / Discussions / C#
   

C#

 
QuestionAutomation, cross thread problem Pin
anderslundsgard7-Dec-06 3:59
anderslundsgard7-Dec-06 3:59 
AnswerRe: Automation, cross thread problem Pin
Robert Rohde7-Dec-06 4:27
Robert Rohde7-Dec-06 4:27 
GeneralRe: Automation, cross thread problem Pin
anderslundsgard7-Dec-06 20:28
anderslundsgard7-Dec-06 20:28 
QuestionCustom Control Development & Default Properties Pin
Ian Roberts7-Dec-06 3:46
Ian Roberts7-Dec-06 3:46 
AnswerRe: Custom Control Development & Default Properties Pin
Pete O'Hanlon7-Dec-06 4:36
mvePete O'Hanlon7-Dec-06 4:36 
QuestionReport Viewer LocalReport GetParameters Function Evaluation Failure Pin
Christopher Stratmann7-Dec-06 2:39
Christopher Stratmann7-Dec-06 2:39 
NewsRe: Report Viewer LocalReport GetParameters Function Evaluation Failure Pin
Christopher Stratmann7-Dec-06 3:34
Christopher Stratmann7-Dec-06 3:34 
GeneralRe: Report Viewer LocalReport GetParameters Function Evaluation Failure Pin
Christopher Stratmann7-Dec-06 5:42
Christopher Stratmann7-Dec-06 5:42 
To all those people out who where following along. I finally figured it out. Wow almost 8 hours on one little issue. After reverting some code and trying to pin point the issue, I finally got it.

This was NOT a C# coding issue. The issue lies in the RDL.

What I wanted was to be able to put special keys into the default value of report parameters. This was my default value <c>=CDate("%MyKey%") for a DATETIME report parameter. Then when reading this out of the rdl I was replacing the text %MyKey% with something like 4/2/2005. The resulting string would be <c>=CDate("4/2/2005"). Then this expression would go into my Expression Evaluation code and produce the result of 4/2/2005 into a DateTime object. Then I was going to loop through all the report parameters and set the default value of that datetime one as 4/2/2005. Which would result in the RDL loading properly. This is what I hoped for.

In all actuality when I try to loop through all the report parameters, the GetParameters function doesn't work because (I guess) it cant return all the parameters because there is one with an invalid default value (<c>=CDate("%MyKey%")). Well I dont know what I am going to do for report parameters other than strings.

Chris
QuestionClosing the form Pin
Niiiissssshhhhhuuuuu7-Dec-06 1:52
Niiiissssshhhhhuuuuu7-Dec-06 1:52 
AnswerRe: Closing the form Pin
quiteSmart7-Dec-06 1:55
quiteSmart7-Dec-06 1:55 
GeneralRe: Closing the form Pin
Niiiissssshhhhhuuuuu7-Dec-06 2:03
Niiiissssshhhhhuuuuu7-Dec-06 2:03 
GeneralRe: Closing the form Pin
quiteSmart7-Dec-06 2:12
quiteSmart7-Dec-06 2:12 
AnswerRe: Closing the form Pin
Robert Rohde7-Dec-06 2:24
Robert Rohde7-Dec-06 2:24 
GeneralRe: Closing the form Pin
quiteSmart7-Dec-06 2:54
quiteSmart7-Dec-06 2:54 
AnswerRe: Closing the form Pin
Stefan Troschuetz7-Dec-06 3:49
Stefan Troschuetz7-Dec-06 3:49 
GeneralRe: Closing the form Pin
Niiiissssshhhhhuuuuu7-Dec-06 16:20
Niiiissssshhhhhuuuuu7-Dec-06 16:20 
QuestionInherit TabControl? Pin
george ivanov7-Dec-06 0:33
george ivanov7-Dec-06 0:33 
AnswerRe: Inherit TabControl? Pin
Martin#7-Dec-06 0:39
Martin#7-Dec-06 0:39 
QuestionRaise control events Pin
Tanuja1237-Dec-06 0:10
Tanuja1237-Dec-06 0:10 
AnswerRe: Raise control events Pin
Martin#7-Dec-06 1:00
Martin#7-Dec-06 1:00 
GeneralRe: Raise control events Pin
Tanuja1237-Dec-06 1:49
Tanuja1237-Dec-06 1:49 
GeneralRe: Raise control events Pin
Martin#7-Dec-06 2:00
Martin#7-Dec-06 2:00 
GeneralRe: Raise control events Pin
Tanuja1237-Dec-06 3:00
Tanuja1237-Dec-06 3:00 
QuestionHi..... Pin
Osama1236-Dec-06 23:24
Osama1236-Dec-06 23:24 
AnswerRe: Hi..... Pin
Martin#6-Dec-06 23:36
Martin#6-Dec-06 23:36 

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.