AVEVA Community
Site
Search
User
Site
Search
User
AVEVA World
PDMS/E3D Forum
PDMS Guides
Reporting
Forums
Resources
Mentions
Sub-Groups
Tags
More
Cancel
New
Replies
29 replies
Subscribers
1 subscriber
Views
127 views
Users
0 members are here
Options
Share
More
Cancel
Related
Reporting
Shrivallabha Sharad Redij
over 15 years ago
Parents
Venkata Rao Peta
over 7 years ago
[QUOTE=pdmsc028;105527]!pipes = !!collectallfor('PIPE',||,CE)
!array = object Array()
do !pipe values !pipes
!col[1] = !pipe.Name
!col[2] = !pipe.Type
!col[3] = !pipe.Pspec.Name
!col[4] = !pipe.ref
!array.Append(!col)
enddo
!header[1] = 'Name'
!header[2] = 'Type'
!header[3] = 'Specification'
!header[4] = 'REE'
!title = 'My Table'
import 'GridControl'
handle (1000,0)
endhandle
using namespace 'Aveva.Pdms.Presentation'
!grid = object NETGRIDCONTROL()
!grid.bindToDataSource(object NETDATASOURCE(!title, !header, !col))
!filename = 'C:\temp\2.xls'
!grid.saveGridToExcel(!filename)
endmethod
[COLOR=#333333]!header[4] = 'REE' is [/COLOR]
REF
[/U][COLOR=#333333] not REE[/COLOR][COLOR=#ff0000][/COLOR]
Cancel
Vote Up
0
Vote Down
Sign in to reply
Cancel
Reply
Venkata Rao Peta
over 7 years ago
[QUOTE=pdmsc028;105527]!pipes = !!collectallfor('PIPE',||,CE)
!array = object Array()
do !pipe values !pipes
!col[1] = !pipe.Name
!col[2] = !pipe.Type
!col[3] = !pipe.Pspec.Name
!col[4] = !pipe.ref
!array.Append(!col)
enddo
!header[1] = 'Name'
!header[2] = 'Type'
!header[3] = 'Specification'
!header[4] = 'REE'
!title = 'My Table'
import 'GridControl'
handle (1000,0)
endhandle
using namespace 'Aveva.Pdms.Presentation'
!grid = object NETGRIDCONTROL()
!grid.bindToDataSource(object NETDATASOURCE(!title, !header, !col))
!filename = 'C:\temp\2.xls'
!grid.saveGridToExcel(!filename)
endmethod
[COLOR=#333333]!header[4] = 'REE' is [/COLOR]
REF
[/U][COLOR=#333333] not REE[/COLOR][COLOR=#ff0000][/COLOR]
Cancel
Vote Up
0
Vote Down
Sign in to reply
Cancel
Children
No Data