Y
Yaara Mac
Hi all,
I need some help with using recordset.bof / oef.
I'm using HTML file to display XML records page by page.
I need to disable the moveNext button once it reaches the end of the
file but it seems to occur one page too late.
that's the function I used for the onclick of the button:
function Next()
{
if (!mydata.recordset.EOF)
{
mydata.recordset.moveNext();
}
else
{
btn_next.disabled = true;
}
}
Any ideas?
I need some help with using recordset.bof / oef.
I'm using HTML file to display XML records page by page.
I need to disable the moveNext button once it reaches the end of the
file but it seems to occur one page too late.
that's the function I used for the onclick of the button:
function Next()
{
if (!mydata.recordset.EOF)
{
mydata.recordset.moveNext();
}
else
{
btn_next.disabled = true;
}
}
Any ideas?