Set Softseek On

Set Softseek On

Postby wartiaga » Tue Nov 06, 2018 11:06 am

Hi,

How I can set a softseek in a object database?

oArqBol:SetOrder("EMISSAO")
oArqBol:GoTop()

here I want to set

oArqBol:Seek(Dtos(Data1))

Thanks in advance.
wartiaga
 
Posts: 212
Joined: Wed May 25, 2016 1:04 am

Re: Set Softseek On

Postby hmpaquito » Tue Nov 06, 2018 12:11 pm

dbSeek() function permits lSoftSeek parameter.
obj:Seek() should permits too.
Code: Select all  Expand view  RUN
dbSeek( <expKey>, [<lSoftSeek>], [<lFindLast>] ) → lFound

from https://harbour.github.io/doc/harbour.html#dbseek
hmpaquito
 
Posts: 1482
Joined: Thu Oct 30, 2008 2:37 pm

Re: Set Softseek On

Postby wartiaga » Tue Nov 06, 2018 1:18 pm

hmpaquito wrote:dbSeek() function permits lSoftSeek parameter.
obj:Seek() should permits too.
Code: Select all  Expand view  RUN
dbSeek( <expKey>, [<lSoftSeek>], [<lFindLast>] ) → lFound

from https://harbour.github.io/doc/harbour.html#dbseek


Works great, thank you!
wartiaga
 
Posts: 212
Joined: Wed May 25, 2016 1:04 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 62 guests