support.activereports2.proedition

Started by webadmin@datadynamics.com at 09-03-2003 12:00 AM. Topic has 0 replies.

Print Search
Sort Posts:    
   09-03-2003, 12:00 AM
webadmin@datadynamics.com is not online. Last active: 12/13/2005 3:53:57 AM webadmin@datadynamics.com

Not Ranked
Joined on 12-12-2005
Posts 0
Re: Bug / Crash
Originally Posted By: Trent Snow - DD<ActiveReports.Support@DataDynamics.com>

Hello Eric--

Make sure that you are only accessing the fields collection in FetchData
event and also make sure that you are not accessing controls outside of
their section's events. For example if you have a control in your detail
section you should only be referencing that control within the DetailFormat,
DetailBeforePrint and DetailAfterPrint and not in any other event like the
FetchData event.

If you remove the code that you have in the Detail format event and replace
it with code that is not referencing the fields collection and you are still
having problems let me know.

"Eric" wrote in message
news:d6HGxCKcDHA.376@dynaweb.datadynamics.com...
> Hi,
>
> When I use this code in the Report Detail event 'Format':
> strPath =
mReportPreview.Fields(mrepDetail.Controls(x).DataField).Value
>
> the whole VB crash.
> Control(x) is a image control and I would like to load a picture
> dynamically.
>
> Cause: mrepDetail.Controls(x).DataField is an empty string
>
> Eric
>
>



   Report 
GrapeCity » Forum Archives » support.activer... » Re: Bug / Crash

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.