Jump to content
Fivewin Brasil

SoftSeek(RESOLVIDO)


Arthur Silvestre

Recommended Posts


set order to 3

set softseek on

seek tlotaini

set softseek off

?lotafun +" "+ matrfun +" "+ nomefun

if eof()

MsgInfo("Não ha funcionários nesse(s) Departamento(s).","Atenção")

Return .f.

endif

set filter to lotafun>=tlotaini .and. lotafun<=tlotafin

go top

id=code>id=code>

Pessoal esses comandos ai estão chegando no EOF() porém existe registro com o valor da variavel q esta sendo dado o seek, alguem sabe o por que disso ?

FWH.11.12 + xHarbour12.1 + Pelles C IDE

E-mail:ArthurSilvestreSnt@hotmail.com

Editado por - arthursilvestre on 26/10/2012 10:20:23

Link to comment
Share on other sites


set order to 3

set softseek on

seek tlotaini

set softseek off

?lotafun +" "+ matrfun +" "+ nomefun

if eof()

MsgInfo("Não ha funcionários nesse(s) Departamento(s).","Atenção")

Return .f.

endif

set filter to lotafun>=tlotaini .and. lotafun<=tlotafin

go top

id=code>id=code>

Pessoal esses comandos ai estão chegando no EOF() porém existe registro com o valor da variavel q esta sendo dado o seek, alguem sabe o por que disso ?

FWH.11.12 + xHarbour12.1 + Pelles C IDE

E-mail:ArthurSilvestreSnt@hotmail.com

Editado por - arthursilvestre on 26/10/2012 10:20:23

Link to comment
Share on other sites

Experimente ver o conteúdo do indice com

Indexkey()

As vezes você acha que está em uma ordem, mas na verdade está outra.

Leco

citação:


set order to 3

set softseek on

seek tlotaini

set softseek off

?lotafun +" "+ matrfun +" "+ nomefun

if eof()

MsgInfo("Não ha funcionários nesse(s) Departamento(s).","Atenção")

Return .f.

endif

set filter to lotafun>=tlotaini .and. lotafun<=tlotafin

go top

id=code>id=code>

Pessoal esses comandos ai estão chegando no EOF() porém existe registro com o valor da variavel q esta sendo dado o seek, alguem sabe o por que disso ?

FWH.11.12 + xHarbour12.1 + Pelles C IDE

E-mail:ArthurSilvestreSnt@hotmail.com


id=quote>id=quote>

Five PPC

Harbour 1.0.1 - 1999-2008

Link to comment
Share on other sites

Utilizando algum utilitário de dbf,faça o seguinte:

1 Exporte os dados dessa tabela (append from) para outra tabela, com o indice fechado.

2 Exclua a tabela com pau

3 Renomeie a tabela para onde vc exportou os dados para o nome da tabela que estava com pau.

Isto provalvelmente resolverá, pois ao que parece a sua tabela está com uma quebra no meio.

Boa sorte

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...