|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
CallByName - Trying to understand.We had real bad problems with reports being printed wrong (active reports ..net 2.0), which we tracked down to being because before we printed the report we used CallByName to READ properties from the Business Object that the report was based on. When I replaced the old CallByName's call with a small Reflection code instead, the problem went away. Now Im just curious what caused it, It seems that if you use CallByName (even if its just Get) it changes the object somehow, not "visiable" but enough for the report to go bad. It was actually depending of how much time elaped between the CallByName call and the report printing, if you let enough time go by (above 10 seconds) there was no problem. Anyone seen this behavior before? (Please note that we already found the fix for it, im just curious why it happens) Fredrik Melin wrote:
<snip> > We had real bad problems with reports being printed wrong (active reports <snip>> .net 2.0), which we tracked down to being because before we printed the > report we used CallByName to READ properties from the Business Object that > the report was based on. > > When I replaced the old CallByName's call with a small Reflection code > instead, the problem went away. > > Anyone seen this behavior before? it would help if you posted the code that was giving you wrong results> (Please note that we already found the fix for it, im just curious why it > happens) and the new code that corrected the issue. Regards, Branco.
Trying to "display" control characters in a text box
Unique Machine Identifier Have you upgraded to VS 2005? Getting the selected item from a listview WMI script to get Win32_Product Where to do the Loading tasks for application ? Foreign Language Names Joining files error line number Typed Dataset and Numeric Only Fields in VB.Net 2005 ? |
|||||||||||||||||||||||