No point wasting your time. I think the initial implementation was working only for RDDs.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"
I will tray to check why...Code: Select all
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
Best regards
So I suggest you do in your code what we do inside the library in the recent versions:
Code: Select all
@ 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.
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