StrataFrame Forum
Back
Login
Login
Home
»
.NET Forums
»
General .NET Discussion
»
ReportSharpShooter and parent child reports
ReportSharpShooter and parent child reports
Post Reply
Like
0
ReportSharpShooter and parent child reports
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Greg McGuffey
Greg McGuffey
posted 15 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 2K,
Visits: 6.6K
I was going over the ReportSharpShooter sample provided by Trent and noticed that the field supporting the CustomerNotes property (_CustomerNotes) was shared (static). The report doesn't work unless it is shared. Why? Is this a sharp shooter thing?
Reply
Like
0
Trent Taylor
Trent Taylor
posted 15 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
No, it is a reflection thing. If you do not make the private shared, then each time that that object gets evaluated through Sharp-Shooter / Report Generation, a new instance will be created several times. Each time that instance gets created, then the source goes away.
This ties more specifically to the BBS and how each row is exposed as a unique BO.
Reply
Like
0
Greg McGuffey
Greg McGuffey
posted 15 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 2K,
Visits: 6.6K
Ah...gotcha. Thanks!
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search