Alaska Software Inc. - DbSeek() , Found()==.T. and Eof()==.T. ?
Username: Password:
AuthorTopic: DbSeek() , Found()==.T. and Eof()==.T. ?
Jacob JohnDbSeek() , Found()==.T. and Eof()==.T. ?
on Fri, 01 Mar 2013 10:32:04 +0530
Hi,

I have a strange problem.

After a DbSeek() , I am getting  Found()==.T. and Eof()==.T.

Sample Code

Sele J1 ; J1->(DbSetOrder(1)) ; J1->(DbGoTop())
Do While (! J1->(Eof()))
    aAdd(aKOTs,J1->Doc_Type+J1->Table_Room+J1->Doc_No+J1->Doc_Serial)
    *
    J1->(DbSkip())
EndDo
*
For nCtr:=1 To Len(aKOTs)
    cKOT:=aKOTs[nCtr]
    *
    Sele J1 ; J1->(DbSetOrder(1))
    If (J1->(DbSeek(cKOT)))
 cTmpKOTNo:=J1->Doc_Type+J1->Table_Room+J1->Doc_No+J1->Doc_Serial
        *
        ? "Seek         : "+cKOT    K3  236532502 
        ? "Value        : "+cTmpKOT  
        ? "Eof()        : "+Iif(J1->(Eof()),".T.",".F.")   .T.
        ? "Found()      : "+Iif(J1->(Found()),".T.",".F.")   .T.
        ? "Set Exact    : "+Iif(Set(_SET_EXACT),".T.",".F.")   .T.
        ? "Set SoftSeek : "+Iif(Set(_SET_SOFTSEEK),".T.",".F.")  
.F.
    EndIf
Next
*

This error is not getting everytime.

xBase Version is 1.90.355

Getting this error in ADS 10 and 11

OS Version Windows 2008 R2.

We are using ADT tables with Data Dictionary.

HotFIxRollUp355_43 Applied.

ADSDBE.DLL  dated 20.12.2010 12:07
ASRDBC10.DLL dated 13:01/2010 06:06

Any idea ?

Regards
Kiron