ReportControl Fieldchooser export data in 11.2 v |
Post Reply |
Author | |
msotocl
Groupie Joined: 05 March 2008 Status: Offline Points: 16 |
Post Options
Thanks(0)
Posted: 04 June 2008 at 1:10pm |
Hi.
I have version 11.2. and I have a problem. When trying to export to excel reportcontrol with columns in a fieldchooser, these are exported in himself order of original creation, not in the order in which they were after to have changed columns in fieldchooser.
How rto fix this
Thank you very much
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
I really don't know what you are trying to do. Do you export the records?
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
msotocl
Groupie Joined: 05 March 2008 Status: Offline Points: 16 |
Post Options
Thanks(0)
|
Hi, yes, i try to export a data in report control to a excel file, but when change the order columns in the report, the export order to excel its incorrect
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
I think you mean copy to clipboard and paste in Excel, right? If not show me how you really export the records
Private Function CopySelectedRecordsToClipBoard()
Dim selectedRow As XtremeReportControl.ReportRow Dim col As XtremeReportControl.ReportColumn Dim strClipBoard As String For Each selectedRow In wndReportControlFiles.SelectedRows 'or Rows For Each col In wndReportControlFiles.Columns strClipBoard = strClipBoard & selectedRow.record(col.ItemIndex).Caption & vbTab 'or Index Next col strClipBoard = strClipBoard & vbCrLf Next selectedRow Clipboard.Clear Clipboard.SetText strClipBoard End Function ItemIndex = the ID of the column when added to RC columns
Index = the index of the column in the RC (in the order as you see them)
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
msotocl
Groupie Joined: 05 March 2008 Status: Offline Points: 16 |
Post Options
Thanks(0)
|
Hi. Now wor ok.
Thank you very much
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |