Welcome to GrapeCity
Sign in
|
Join
|
Faq
Portal Home
.NET
ActiveReports
Data Dynamics Reports
Data Dynamics Analysis
SharpGraph for .NET
COM
ActiveReports
ActiveBar
DynamiCube
Download Trial Versions
Download Updates
ActiveBar
DynamiCube
SharpGrid
SharpUI
ActiveSizer
ActiveReports
Data Dynamics Reports
Data Dynamics Analysis
ActiveReports for COM
Other
ActiveBar
DynamiCube
SharpGrid
SharpUI
ActiveSizer
ActiveReports
Data Dynamics Reports
ActiveReports for COM
Other
ActiveReports
Data Dynamics Reports
Data Dynamics Analysis
Exporting Online Help
Standard Edition Online Help
Professional Edition Online Help
ActiveBar
DynamiCube
SharpGrid
SharpUI
ActiveSizer
ActiveReports
Data Dynamics Reports
Data Dynamics Analysis
ActiveReports for COM
Other
Support Forums
Support Options
Submit Support Request
Frequently Asked Questions
Knowledge Base
Demos
Documentation
About Us
Customers
Case Studies
Testimonials
Awards
Press
Resellers
Contact us
Products
Products
Downloads
Downloads
Support
Support
Order
Order
Company
Company
Forums
Home
ActiveReports 2.0 (Visual Basic 6.0) Support
Started by bgw at 06-18-2009 10:31 AM. Topic has 1 replies.
GrapeCity
»
Product Support
»
ActiveReports 2...
»
Help code doesn't work anymore after upgading to ActiveReport 2.0
Search
Rate this topic:
Comments (optional)
Sort Posts:
Oldest to newest
Newest to oldest
06-18-2009, 10:31 AM
bgw
Joined on 06-18-2009
Posts 1
Help code doesn't work anymore after upgading to ActiveReport 2.0
I have a section of code that dynamically builds and binds controls on a report. It used to work fine in AR1 but since upgrading to AR2 it goes into a endless loop when executing the run method on the report
%%%%%% Code Follows %%%%%%%%
With DetSection.Controls
Set ctl = .Add("DDActiveReports.Field")
ctl.Name = Prefix & "Field" & iCount
ctl.Top = iTop
ctl.Width = fld1.Width
ctl.Left = iPos
ctl.Height = fld1.Height
ctl.DataField = oField.Name
' ctl.DataSource = fld1.DataSource
ctl.OutputFormat = FormatFieldValue(oField.Type)
If IsNumericType(oField.Type) Then
ctl.Alignment = ddTXRight
ElseIf IsDateType(oField.Type) Then
ctl.Alignment = ddTXCenter
ElseIf IsDateType(oField.Type) Then
ctl.Alignment = ddTXLeft
End If
ctl.Width = CurrWidth
End With
%%%%%%%%%%%%%%%%%%%%%
I suspect it has something to do with the datacontrol being commented out. All references to DDActiveReports have been updated to DDActiveReports2. All project references to. Please help I've been chasing my tail for 2 days.
Report
06-19-2009, 12:42 AM
PrantikS
Joined on 12-11-2008
Posts 763
Re: Help code doesn't work anymore after upgading to ActiveReport 2.0
Attachment:
Fieldsaccordingtodataindatabase.zip
Hello,
Thank you for your query. In order to resolve the same, please consider counting the number of fields in the datasource and adding fields accordingly. Please take a look at the attached sample in this regard.
Regards,
Prantik
Report
GrapeCity
»
Product Support
»
ActiveReports 2...
»
Help code doesn't work anymore after upgading to ActiveReport 2.0
(please select)
Forums Home
|- Search Forums
|- Active Topics
|- Unanswered Posts
User Options
|- Sign In
|- Join this community
|- Forgot Password
Announcements
|- ActiveBar Announcements
|- ActiveReports Announcements
|- ActiveReports for .NET Announcements
|- ActiveSizer Announcements
|- Data Dynamics WebSite Announcements
|- DynamiCube Announcements
|- SharpGraph for .NET Announcements
|- SharpGrid Announcements
|- SharpUI for .NET Announcements
|- Data Dynamics Reports Announcements
|- Data Dynamics Analysis Announcements
Frequently Asked Questions
|- ActiveReports 2.0 FAQ
|- ActiveSizer FAQ
|- DynamiCube FAQ
|- SharpGrid FAQ
|- ActiveReports for .NET FAQ
|- ActiveBar FAQ
|- SharpUI for .NET FAQ
Product Support
|- ActiveBar Support
|- Data Dynamics Analysis Support
|- ActiveReports 6 Support
|- ActiveReports for .NET 3.0 Support
|- ActiveReports for .NET 2.0 Support
|- ActiveReports for .NET Support
|- ActiveReports 2.0 (Visual Basic 6.0) Support
|- ActiveSizer Support
|- DynamiCube Support
|- SharpGraph for .NET Support
|- SharpGrid Support
|- SharpUI for .NET Support
|- Data Dynamics Reports Support
Knowledge Base
|- KnowledgeBase for SharpUI for .NET
|- KnowledgeBase for SharpGrid
|- KnowledgeBase for ActiveCube
|- KnowledgeBase for ActiveReports
|- KnowledgeBase for ActiveReports for .NET
|- KnowledgeBase for ActiveBar
|- KnowledgeBase for ActiveSizer
|- KnowledgeBase for DynamiCube
|- KnowledgeBase for SharpGraph for .NET
|- KnowledgeBase for Data Dynamics Reports
Forum Archives
|- ActiveBar 3.0 Beta Support
|- ActiveReports for .NET 2.0 Visual Studio .NET 2005 Support
|- support.activebar2.general
|- support.activereports.general
|- support.activereports.net
|- support.activereports2.stdedition
|- support.activereports2.proedition
|- support.activesizer.general
|- support.dcube.c++
|- support.announcements
|- support.dcube.delphi
|- support.dcube.ie
|- support.dcube.misc
|- support.dcube.vb
|- support.dcube.vfp
|- support.sharpgrid.general
Product Downloads
|- ActiveSizer Downloads
|- SharpUI for .NET Downloads
|- ActiveBar Downloads
|- ActiveReports for .NET Downloads
|- SharpGrid Downloads
|- ActiveCube Downloads
|- ActiveReports Downloads
|- ActiveReports for .NET 2.0 Downloads
|- SharpGraph for .NET Downloads
|- DynamiCube Downloads
|- ActiveReports for .NET 3.0 Downloads
|- Data Dynamics Reports Downloads
|- ActiveReports 6 Downloads
Web Site Feedback
|- Web Site Feedback
Employment Opportunities
|- Employment Opportunities
Contact Us
Privacy Policy
| Copyright © 1997-2010 - GrapeCity, inc.