I know I have done this before ... I am creating an empty array without any rows and assigning it to xBrowse. I remember I could define the Headers from an array ... I do not want any rows to show in xBrowse .. I just want to define my columns with headers .. this does not work.
- Code: Select all Expand view
aPlan := {}
aColumns := {}
AAdd( aColumns, { "Budget Item", ;
"Origional Budget", ;
"Budget Revision", ;
"Current Budget", ;
"Origional Contract", ;
"Contract Revisions", ;
"Current Committed", ;
"Pending Proposals", ;
"Potential Exposures", ;
"Potential Costs", ;
"Potential Proj Costs" } )
REDEFINE xBROWSE oLbx3 ;
ARRAY aPlan ;
HEADERS aColumns ; // <----- here
COLSIZES 65,43,43,43,43,43,43,43,43,43,43 ; // 11
ID 174 of oCust ;
AUTOCOLS CELL LINES
Thanks
Rick Lipkin