Search found 204 matches: gobottom

Return to advanced search

Re: RAO advice on using Mysql

... page. In the beginning it reads the first 100 records only and is ready for use. At the same time it also gets the total row count. If user uses GoBottom() it reads the last 100 records. If the user wants oRs:GoTo( 123040 ), then it reads 100 records around the row number 123040. As a result ...
by nageswaragunupudi
Wed Feb 07, 2024 10:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RAO advice on using Mysql
Replies: 12
Views: 856

Re: RAO advice on using Mysql

METHODS: RecCount(), LastRec(), KeyCount(),RecNo(), KeyNo() GoTop(),GoBottom(),GoTo(nRec),KeyGoTo(nKey),Skip(n) FCount(),FieldPos(c),FieldName(),FieldLen(),FieldDec(),FieldType() FieldGet(),FieldPut() SetOrder(cSort,,lDescend) Save() Close() or End() --------------- ...
by nageswaragunupudi
Fri Feb 02, 2024 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RAO advice on using Mysql
Replies: 12
Views: 856

Re: Does TDatabase supports SEEK LAST?

He is using database object.
But he is not looking for DbGoBottom()
He is looking for
Code: Select all  Expand view
SEEK cSeek LAST // i.e., DBSEEK( cSeek, nil, .T. )

which is totally different from "GoBottom()"
by nageswaragunupudi
Fri Nov 10, 2023 4:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Does TDatabase supports SEEK LAST?
Replies: 5
Views: 305

Re: Does TDatabase supports SEEK LAST?

Saved me a few keystrokes :)
I normally would type as (oDbf:cAlias)->(dbSeek(cSeek, nil, .t.))


If you use database objects then you can just do:

oCustomer:goBottom()
by James Bott
Fri Nov 10, 2023 1:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Does TDatabase supports SEEK LAST?
Replies: 5
Views: 305

Re: GET ... MEMO How to display last line?

Dear Hua,

Using VB they solve it this way:
Text1.SelStart = len(Text1.Text)

Have you tried oMultiGet:GoBottom() ?

Also you could try oMultiGet:SetPos( Len( oMultiGet:cText ), Len( oMultiGet:cText ) )
by Antonio Linares
Wed Sep 28, 2022 8:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET ... MEMO How to display last line?
Replies: 4
Views: 294

use fw_arraytodbf with conditions

... date field (dUltimaData) is greater than the last passed date oTemp:= TDatabase():Open( , cPath+"LOTTO", "DBFCDX", .T. ) oTemp:gobottom() dUltimaData:=oTemp:data olotto2:= TDatabase():Open( , cPath+"STORICO", "DBFCDX", .T. ) SET DELETED ON olotto2:setorder(0) ...
by Silvio.Falconi
Sat Sep 17, 2022 10:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: use fw_arraytodbf with conditions
Replies: 5
Views: 607

Re: Copy structure or create new file dbf

... MONTH( FIELD->DATA ) ] .AND. ; aCountGiorni[ DOW( FIELD->DATA ) ] .AND. ; aCountDate[ DAY( FIELD->DATA ) ] ) return nil > ) oLotto:gobottom() If nTipo=2 atempDbf:= oLotto:DbfToArray() oVirtuale:=TDatabase():Open( , cDir+"Virtuale", "DBFCDX", .T. ) oVirtuale:SetOrder( ...
by Silvio.Falconi
Thu Jun 09, 2022 7:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Copy structure or create new file dbf
Replies: 8
Views: 576

Strange array/ oDbf

... the same but I certainly did not understand why oDbf:=TDatabase():Open( , cDir+"lotto", "DBFCDX", .T. ) oDbf:setorder(1) oDbf:gobottom() aData1 := aData1_array() aData2 := aData2_array() ...... ACTIVATE DIALOG oDlg CENTERED ; ON INIT ( Refresh_data2(oDbf,oSay,oBrw2,nRadio),; ...
by Silvio.Falconi
Mon May 30, 2022 11:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange array/ oDbf
Replies: 0
Views: 127

Re: Help with ascan

... the number how I translate it i try to make oRit:= TDatabase():Open( , cDir+"lotto", "DBFCDX", .T. ) oRit:setorder(0) oRitardo:gobottom() nUltimo:= oRitardo:recno() aTemp:=oRit:dbftoarray() ritardo:= Rit( aTemp, number, npos,nUltimo ) Function Rit( aData, numero, npos, nLast ...
by Silvio.Falconi
Fri May 13, 2022 6:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with ascan
Replies: 16
Views: 906

Re: Help for scrollBar

Found the error oDbf:=TDatabase():Open( , cDir+"dbf", "DBFCDX", .T. ) oDbf:setorder(1) oDbf:gobottom() nFine:= oDbf:recno() oScrollDbf:bPOS = { | nPos | (oDbf:GoTo( nPos ),; oScrollDbf:SetPos( nPos ),; oScrollDbf:refresh(),; Rinfresca(oDbf,oBrw,oSay)) } and ...
by Silvio.Falconi
Mon Apr 18, 2022 3:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help for scrollBar - Resolved -
Replies: 10
Views: 530

Re: xbrowse command not working properly -- MR. RAO

... of this class. So xbrowse does not know. Now, let us make this work. Please let me know: What are the methods to 1. GoTop (eg: oTb:GoTop() ) 2. GoBottom 3. GoTo( nthRecord ) 4. Bof() 5. Eof() How do we access and assign field values? Is it similar to other classes like x := oTb:fieldname oTb:fieldname ...
by Compuin
Wed Feb 23, 2022 5:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse command not working properly -- MR. RAO
Replies: 21
Views: 1378

Re: xbrowse command not working properly -- MR. RAO

... of this class. So xbrowse does not know. Now, let us make this work. Please let me know: What are the methods to 1. GoTop (eg: oTb:GoTop() ) 2. GoBottom 3. GoTo( nthRecord ) 4. Bof() 5. Eof() How do we access and assign field values? Is it similar to other classes like x := oTb:fieldname oTb:fieldname ...
by nageswaragunupudi
Wed Feb 23, 2022 12:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse command not working properly -- MR. RAO
Replies: 21
Views: 1378

Re: New FTDN December/Diciembre 2020 (FWH 20.12)

... edición en línea en un elemento TreeView. * Nuevo: Método EditItem( oItem ), permite la edición en línea en un elemento TreeView. * Nuevo: Métodos GoBottom(), GoNext(), GoPrev(), SwapUp() y SwapDown() en la clase TTreeView. Por favor, revisa el ejemplo samples\pim.prg para un ejemplo de uso. * ...
by Antonio Linares
Mon Dec 28, 2020 3:18 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2020 (FWH 20.12)
Replies: 8
Views: 2360

New FTDN December/Diciembre 2020 (FWH 20.12)

... editing on a TreeView item * New: Class TTreeView Method EditItem( oItem ) allows inline editing on a TreeView item * New: Class TTreeView Method GoBottom(), GoNext(), GoPrev(), SwapUp() and SwapDown(). Please review samples\pim.prg for an example of use. * Fix: Functions FW_AdoPivotArray() and ...
by Antonio Linares
Mon Dec 28, 2020 10:16 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2020 (FWH 20.12)
Replies: 8
Views: 2360

Re: Move a record into oTree

... includes these new methods for Class TTreeView: Class TTreeView already has a Method GoTop() new Method GoPrev() new Method GoNext() new Method GoBottom() You may review the updated pim.exe and prg here to see how those methods are used: https://github.com/FiveTechSoft/FWH_tools/blob/master/pim.zip ...
by Silvio.Falconi
Wed Dec 09, 2020 12:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Move a record into oTree
Replies: 4
Views: 820
Next

Return to advanced search