Every effort to use PreviousDatabaseRow() returns a value of 0 rather
than positioning back to the previous row.
Code snip..
Code: Select all
Case #NextButton
Num = NextDatabaseRow()
If Num
NextRecord() ; procedure to handle the record
Else
DisableGadget(#NextButton,1)
EndIf
Case #PrevButton
Num = PreviousDatabaseRow()
If Num
PrevRecord() ; procedure to handle the record
Else
DisableGadget(#PrevButton,1)
EndIf
always returns a value of 0 even though there should be numerous
previous rows to back up through.
Has anybody experienced this? Any suggestions?
Thanks,
Terry

