Sandy, check out 'NextModified' - it might help
Barbara
>Hello all;
>We're in the process of trying to develop a new class that would free up some real estate on the form. We want to get rid of the the Edit, Save, Cancel command buttons.
>
>Our idea is is to create an any_change class that will return true or false depending on the results from the getfldstate(-1) character string.
>Our problem is how can we know how many records we need to check?
>If there is a one to one relationship then there are no problems. We can simply use the current record pointer. But in the case of the one to many relationship we are hitting a brick wall. We don't want to start passing a parameter (ie keyfield for each table involved(that's what aused() is for) and then seek and do while.
>
>Any ideas would be greatly appreciated