M
Mike Quernemoen
Hello,
I've got a form with fields bound to a datatable in a dataset. I'm using
the bindingcontext.position to determine which record in the datatable is
displayed.
To display the next record in the table I have a button click event perform
the following.
form1.bindincontext(dataset,datatable).position+=1
To display a new record I have a button click event do this:
form1.bindincontext(dataset,datatable).addnew
My problem comes in when the user goes to the new record, makes no changes
and then moves to a different record. I don't want the new record added to
the table.
If anyone could offer tips on how this is done, I'd appreciate it.
Thanks,
Mike
I've got a form with fields bound to a datatable in a dataset. I'm using
the bindingcontext.position to determine which record in the datatable is
displayed.
To display the next record in the table I have a button click event perform
the following.
form1.bindincontext(dataset,datatable).position+=1
To display a new record I have a button click event do this:
form1.bindincontext(dataset,datatable).addnew
My problem comes in when the user goes to the new record, makes no changes
and then moves to a different record. I don't want the new record added to
the table.
If anyone could offer tips on how this is done, I'd appreciate it.
Thanks,
Mike