Search found 76 matches: movelast

Return to advanced search

Moverse a un registro especifico (SOLUCIONADO)

Amigos del foro:

En un record set tenemos los comandos

oRs:MoveFirst()
oRs:MoveLast()
oRs:MoveNext()
oRs:MovePrevious()

La pregunta, existe el comando para moverse a un registro especifico?, algo como
oRs:Move(30) <===== movernos al registro 30

Saludos
by Armando
Thu Nov 02, 2023 2:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Moverse a un registro especifico (SOLUCIONADO)
Replies: 3
Views: 215

Position in ADO Recordset

hi,

i can use ADO Method MoveFirst, MoveLast, MoveNext and MovePrevious to move to a Position but how to get the actual "Position" in ADO Recordset :?:
RECNO() does not work with EXCEL ...

how to find out how many ROW Recordset have :?:
by Jimmy
Sat Jun 10, 2023 11:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Position in ADO Recordset
Replies: 3
Views: 238

Re: Area de trabajo no usada: ORDKEYNO

... ID 181 of odlg ; font ofont1 oBrow:bLogicLen = { || oRS1Cli:RecordCount } oBrow:bGoTop = { || oRS1Cli:MoveFirst() } oBrow:bGoBottom = { || oRS1Cli:MoveLast() } oBrow:bSkip = { | nSkip | Skipper( oRs1Cli, nSkip ) } oBrow:lcellstyle := .f. oBrow:nlinestyle := 2 oBrow:nclrpane := { || iif( ( oRS1Cli:AbsolutePosition ...
by jpcavagnaro
Sun Sep 11, 2022 12:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Area de trabajo no usada: ORDKEYNO
Replies: 3
Views: 320

Re: Buscar un registro con ADORDD

Solamente añadir que todos los comandos como Movefirst, MoveLast, etc, funcionan perfectamente, sólamente el comando Seek, Find, Locate, que la verdad es que no sé si lo estoy haciendo del modo correcto.
by JoseLuis
Mon Mar 04, 2019 12:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Buscar un registro con ADORDD
Replies: 15
Views: 3393

TDatabase FWH 17.08 : Datas and Methods

... not yet saved. 61. Move( n ) Same as ::Skip( n ). This method is created for compatibility with ADO syntax 62. MoveFirst() Same as GoTop(). 63. MoveLast() Same as GoBottom() 64. MoveNext() Same as Skip( 1 ) 65. MovePrevious() Same as Skip( -1 ) 66. OemToAnsi() Internal Internally used when ::lOemToAnsi ...
by nageswaragunupudi
Fri Sep 15, 2017 12:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase FWH 17.08 : Datas and Methods
Replies: 1
Views: 1783

Re: FWH: MySql/MariaDB: RowSet object

... ) takes back to the same record even after sorting and / or filtering, if the record is not deleted. GoTop(), GoBottom(), Skip( n ) MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), Move( n ) Work similar to DBF and RecordSet, navigating in the sorted order, respecting filters. OrdKeyCount(), ...
by nageswaragunupudi
Thu Jul 21, 2016 11:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: MySql/MariaDB: RowSet object
Replies: 51
Views: 19548

FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )

... TDatabase like GoTop,GoBottom,GoTo,Skip,Eof,Bof,LastRec,RecCount,KeyCount,KeyGoTo, etc Also supports aliased methods compatible with ADO MoveFirst,MoveLast,Move,BookMark,AbsolutePosition, etc DATA oChild // Optional child rowset created with oRs:AddChild(...) Sorting the rowset in memory: oRs:SetOrder( ...
by nageswaragunupudi
Fri Jul 01, 2016 9:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )
Replies: 76
Views: 28423

New FTDN March 2016 (FWH 16.03)

... like oData:Salary := 2500 - All navigational methods similar to DBF and also RecordSet can be used (eg. gotop(), gobottom(), movefirst(), movelast(), etc ) - While it is desriable to initialize with multi-dim array conforming to the data structure provided, single dimentional and ragged ...
by Antonio Linares
Wed Mar 30, 2016 8:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March 2016 (FWH 16.03)
Replies: 0
Views: 1306

bug xBrowse ADO

... 4556 ) Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE( 438 ) Offending line: ::bGoBottom := {|| If( ::oRs:RecordCount() > 0, ::oRs:MoveLast(), nil ) },; Can you please verify at METHOD SetAdO( oRs, lAddCols, lAutoOrder, aFldNames ) CLASS TXBrowse that oRs is not nil?. Thank you.
by MOISES
Mon Jul 06, 2015 7:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug xBrowse ADO
Replies: 4
Views: 890

Re: ADO RDD xHarbour

... the lSoftseek and since it works with filter can take an eternity. Im trying this alternative and I would like to have your opinions: oRecordSet.MoveLast oRecordSet:Find( "NAME = 'whatever' ", , adSearchBackward) oRecordSet:Move(1) == lSoftSeek The remaining problem is when the cKey ...
by AHF
Tue Mar 31, 2015 5:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446337

Re: Ir a una fila en un Query

Buenas tardes.
Y no te sirve oRs:MoveLast() ?

http://www.w3schools.com/asp/ado_ref_recordset.asp


Saludos.
by ricardog
Thu Oct 16, 2014 6:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ir a una fila en un Query
Replies: 11
Views: 1131

Re: ADO question: Access is not refresing properly

Antonio,

Antonio Linares wrote:oRS:MoveLast()
oRs:AddNew()
fill the right values
oRS:Update()


You can safely remove oRS:MoveLast(). :-)

EMG
by Enrico Maria Giordano
Sun Jun 23, 2013 1:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO question: Access is not refresing properly
Replies: 10
Views: 2838

Re: ADO question: Access is not refresing properly

Lucas,

I am using ADO + Access on a development and I don't call oRs:Requery() when adding a record and here it works fine :-)

I use:

oRS:MoveLast()
oRs:AddNew()
fill the right values
oRS:Update()
by Antonio Linares
Sun Jun 23, 2013 1:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO question: Access is not refresing properly
Replies: 10
Views: 2838

Re: TDataRow and ADO questions

... Fail"   endifreturn aStates  what is the equivalent for recordset DO WHILE !EOF() and, also, Dbskip()?. oRs:MoveFirst() // GoTop oRs:MoveLast() // gobottom oRs:MoveNext() // skip( +1 ) oRs:MovePrevious() // skip( -1 ) oRs:Move( n ) // Skip( n ) oRs:Bof() and oRs:Eof() // same as dbf ...
by nageswaragunupudi
Wed Jun 05, 2013 8:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDataRow and ADO questions
Replies: 48
Views: 11549

Re: Saber Metodos de un CREATEOBJECT

... STDCALL dispatch FUNC void MoveNext() STDCALL dispatch FUNC void MovePrevious() STDCALL dispatch FUNC void MoveFirst() STDCALL dispatch FUNC void MoveLast() STDCALL dispatch FUNC void Open( [optional] VARIANT, [optional] VARIANT, [defaultvalue] USERDEFINED, [defaultvalue] USERDEFINED, [defaultvalue] ...
by Antonio Linares
Sun May 12, 2013 5:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber Metodos de un CREATEOBJECT
Replies: 62
Views: 32145
Next

Return to advanced search