Hello,
I got a problem to change the Col-position at runtime
On startup it is OK
There is a RUNTIME-change of < FILE + INDEX >
ON INIT
:nRowSel := nGoRecord
:nColSel := nOrder
:SetGroupHeader( "Workarea ==> " + DBF() + " Index ==> " + (cFileName)->(INDEXKEY(nOrder)) + ;
" Order ==> " + ALLTRIM( STR( (cFileName)->(INDEXORD()) ) ) )
---------------------------------
The File-change and indexord at runtime on RADIO-selection
The file- and index-change works but impossible to adjust the column-position.
DBSELECTAREA(cFileName), ; // new file
(cFileName)->(DBSETORDER(nOrder)), ; // start-index
oBrw:SetGroupHeader( "Workarea ==> " + DBF() + " Index ==> " + (cFileName)->(INDEXKEY(nOrder)) + ;
" Order ==> " + ALLTRIM( STR( (cFileName)->(INDEXORD()) ) ) ), ;
oBrw:nColSel := nOrder, ;
oBrw:Refresh(), ;
...
...
Sample2 shows the col-position of sample1 needed to be moved to 5 like on INIT opening sample2 (works
)

I got a problem to change the Col-position at runtime
On startup it is OK
There is a RUNTIME-change of < FILE + INDEX >
ON INIT
:nRowSel := nGoRecord
:nColSel := nOrder
:SetGroupHeader( "Workarea ==> " + DBF() + " Index ==> " + (cFileName)->(INDEXKEY(nOrder)) + ;
" Order ==> " + ALLTRIM( STR( (cFileName)->(INDEXORD()) ) ) )
---------------------------------
The File-change and indexord at runtime on RADIO-selection
The file- and index-change works but impossible to adjust the column-position.
DBSELECTAREA(cFileName), ; // new file
(cFileName)->(DBSETORDER(nOrder)), ; // start-index
oBrw:SetGroupHeader( "Workarea ==> " + DBF() + " Index ==> " + (cFileName)->(INDEXKEY(nOrder)) + ;
" Order ==> " + ALLTRIM( STR( (cFileName)->(INDEXORD()) ) ) ), ;
oBrw:nColSel := nOrder, ;
oBrw:Refresh(), ;
...
...
Sample2 shows the col-position of sample1 needed to be moved to 5 like on INIT opening sample2 (works

Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.


