Moverse a un registro especifico (SOLUCIONADO)

Moverse a un registro especifico (SOLUCIONADO)

Postby Armando » Thu Nov 02, 2023 2:11 am

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
Last edited by Armando on Thu Nov 02, 2023 2:52 pm, edited 1 time in total.
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3226
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Moverse a un registro especifico

Postby Jimmy » Thu Nov 02, 2023 3:38 am

greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Moverse a un registro especifico

Postby Willi Quintana » Thu Nov 02, 2023 3:57 am

Mi estimado, prueba con:

oRs:Move( n )
User avatar
Willi Quintana
 
Posts: 1019
Joined: Sun Oct 09, 2005 10:41 pm
Location: Cusco - Perú

Re: Moverse a un registro especifico (SOLUCIONADO)

Postby Armando » Thu Nov 02, 2023 2:52 pm

Amigos:

La respuesta es

oRs:Move(nNumReg)

Muchas gracias
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3226
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 49 guests