i Have a tabs on the bottom of a xbrowse I use customer.dbf of fwh samples
How I can make to search on xbrowse the customer with initial letter sample " A" when I click on tab ?
the first tab "tutti" as "All show"
thanks in advance
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
it run ok bu tI mean to show sample only that customer init for "A" or "B" ... I hope you understand me
I tried with CU->(DbSetFilter( alltrim(Left(CU->First,1))==alltrim(oApp():oTab:aPrompts[oApp():oTab:nOption] ) )),; oApp():oGrid:refresh(),;
but it not run
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
If I use Wdbu and make a filter sample Left(cu->first,1)="A" it run why on fwh not run ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
if n=1 CU->(DbClearFilter()) CU->(DbGoTop()) oApp():oGrid:Refresh(.t.) return nil endif
do case case nOrder= 1 set filter to left(CU->FIRST,1)=oApp():oTab:aPrompts[n] case nOrder= 2 set filter to left(CU->LAST,1)=oApp():oTab:aPrompts[n] endcase CU->(DbGoTop()) oApp():oGrid:Refresh(.t.) return nil
It run ok now but perhaps there is a method ( with codeblocks) to show the same ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
James, Nw with Setfilter run ok only I ask if there is a method more good ordscope I never use or perhaps I not remember but I not found a test sample with ordscope to try
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
set order to tag dates // set range dates->(ordScope(0, dtos(Start) )) // set top scope dates->(ordScope(1, dtos(End) )) // set bottom scope dates->(dbgotop()) dates->(ordScope(0, NIL )) // set top to NIL dates->(ordScope(1, NIL )) // set bottom to NIL
best regards Uwe
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.