G
Guest
I'm going crazy. I have a form with two sub forms which are continuous forms.
In each subform I have a checkbox (bound to a yes/no field). I use the
checkbox to move the records between the subforms, acting like listboxes.
I select a couple of rows in the left box, click a button to move them to
the right hand box(form). The code behind the button runs a sql query
updating what box they belong to. This works fine. It also works fine when
moving them back. If I try to move the the second time it can't find a
recordset for the form using recordsetclone.
I know the underlying data for the form is changed when i run the update
query and I try to do Form.Requery right after the update but it still
doesn't work. After I run the update sql query what should I execute to
refresh the underlying data?
In each subform I have a checkbox (bound to a yes/no field). I use the
checkbox to move the records between the subforms, acting like listboxes.
I select a couple of rows in the left box, click a button to move them to
the right hand box(form). The code behind the button runs a sql query
updating what box they belong to. This works fine. It also works fine when
moving them back. If I try to move the the second time it can't find a
recordset for the form using recordsetclone.
I know the underlying data for the form is changed when i run the update
query and I try to do Form.Requery right after the update but it still
doesn't work. After I run the update sql query what should I execute to
refresh the underlying data?