Patch level : 12.0 536
Files correlati : cg7.exe cg7800a.rep cg7600a.png cg7700a.png cg7800a.png I recordset non arrivavano mai a settare EOF git-svn-id: svn://10.65.10.50/branches/R_10_00@24383 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
b7d8a61182
commit
e5101cb85c
@ -1615,11 +1615,17 @@ bool TISAM_recordset::move_to(TRecnotype pos)
|
||||
{
|
||||
TCursor* c = cursor();
|
||||
bool ok = c != NULL && pos >= 0 && pos < c->items();
|
||||
if (ok)
|
||||
{
|
||||
*c = pos;
|
||||
}
|
||||
return ok;
|
||||
if (ok)
|
||||
{
|
||||
*c = pos;
|
||||
}
|
||||
else
|
||||
if (pos >= c->items())
|
||||
*c = c->items();
|
||||
else
|
||||
if (pos < 0L)
|
||||
*c = 0L;
|
||||
return ok;
|
||||
}
|
||||
|
||||
void TISAM_recordset::reset()
|
||||
|
Loading…
x
Reference in New Issue
Block a user