Subject | Clone a Dataset? |
---|---|
Author | GK |
Post date | 2002-01-22T13:09:34Z |
Hello,
There is a grid which is bound to a TIBO Dataset.
The user can add rows and enter data.
This is working fine.
Now I want to prevent user from entering duplicate records.
So as soon as the user enters something in the first column and moves to second column I want to iterate through the dataset to check for duplicate.
My first attempt to do this is to somehow make a deepcopy or clone of this dataset so that I can iterate through it for checking.
First is the right way or is there some easier way
Second how do I make a deepcopy/clone of the dataset
TIA
GK
There is a grid which is bound to a TIBO Dataset.
The user can add rows and enter data.
This is working fine.
Now I want to prevent user from entering duplicate records.
So as soon as the user enters something in the first column and moves to second column I want to iterate through the dataset to check for duplicate.
My first attempt to do this is to somehow make a deepcopy or clone of this dataset so that I can iterate through it for checking.
First is the right way or is there some easier way
Second how do I make a deepcopy/clone of the dataset
TIA
GK