T
trint
Ok,
MoveNext is only moving to the next record once, then it stays on that
record unless I use these (which work just fine) MoveLast MoveFirst
MovePrevious.
private void btnNext_Click(object sender, System.EventArgs e)
{
ErrorLabel.Text = (rs.RecordCount.ToString());
// this code is used to prevent going to EOF
if(rs.RecordCount != 1)
{
if (!rs.EOF)
{
rs.MoveNext();
if (rs.EOF)
{
rs.MovePrevious();
}
PopulateSimpleNavigationForm();
}
}
Is it screwy because it is a WebApp? I can make a WinApp work just
fine with the same code.
Any help is sincerely appreciated.
Thanks,
Trint
MoveNext is only moving to the next record once, then it stays on that
record unless I use these (which work just fine) MoveLast MoveFirst
MovePrevious.
private void btnNext_Click(object sender, System.EventArgs e)
{
ErrorLabel.Text = (rs.RecordCount.ToString());
// this code is used to prevent going to EOF
if(rs.RecordCount != 1)
{
if (!rs.EOF)
{
rs.MoveNext();
if (rs.EOF)
{
rs.MovePrevious();
}
PopulateSimpleNavigationForm();
}
}
Is it screwy because it is a WebApp? I can make a WinApp work just
fine with the same code.
Any help is sincerely appreciated.
Thanks,
Trint