bosibila wrote:Mr Rao,
yes it is in my version. I try example with for/loop and :cHeader returns legal string array but :cExpr return "nil"
for i=1 to len( oBrw:aCols )     oCol:=oBrw:aCols[ i ]     var1:=oCol:cExpr            // returns"nil"     var2:=oCol:cHeader          // returns string array with headers... next
I will tray to check why...
Best regards
No point wasting your time. I think the initial implementation was working only for RDDs.
So I suggest you do in your code what we do inside the library in the recent versions:
@ 0,0 XBROWSE oBrw OF oWnd OBJECT oQry COLUMNS aFields HEADERS aHead LINES CELL FASTEDIT
oBrw:cExprs := aFields // Add this line after your XBROWSE command.You can query for the column name with oCol:cExpr
When you upgrade the current versions, you can omit the extra line of code I suggested. Even if you do not omit it does not create any problem
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India