Hi all,
i have a big dbf with relations filtered by "scope" in a XBrowse control.
Now i have need to see only some rows or i have need to see rows in a different order.
I think at aRows future but i not understood how use this future when the XBrowse is running.
Is possible?
Where i can found samples?
Thank you in advance for your reply.
TxBrowse and aRows future
TxBrowse and aRows future
Ciao, best regards,
Ugo
Ugo
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: TxBrowse and aRows future
Using aRows feature:
#1. At runtime:
If the xbrowse of the DBF is already running and if we can make an array of record numbers to be shown,
Call oBrw:SetArray( aRecNos ) during runtime.
Reverse may not work
But you can dynamically change with another set of record numbers.
Second time onwords, simply oBrw:aArrayData := aNewRecNoArray and call oBrw:GoTop(), oBrw:Refresh( .t. )
#2 Setting up XBrowse using aRows feature initially.
Assuming we already have an array of record numbers to show:
@ <r>, <c> XBROWSE <usual clauses> ALIAS "myalias" ROWS aRecNos.
#1. At runtime:
If the xbrowse of the DBF is already running and if we can make an array of record numbers to be shown,
Call oBrw:SetArray( aRecNos ) during runtime.
Reverse may not work
But you can dynamically change with another set of record numbers.
Second time onwords, simply oBrw:aArrayData := aNewRecNoArray and call oBrw:GoTop(), oBrw:Refresh( .t. )
#2 Setting up XBrowse using aRows feature initially.
Assuming we already have an array of record numbers to show:
@ <r>, <c> XBROWSE <usual clauses> ALIAS "myalias" ROWS aRecNos.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India