John:
>I don't understand. Why not just issue a thisform.requery('viewname') and if required a refresh() for the display control.
You are correct. When trying to answer the question, I took a very quick look in the form's requery parent code and didn't notice the fact that it makes provision to handle the requerying of a specified view without a value in cRequeryDialogClass. I just saw what I wanted to (which was the creation of a localised requery dialog) and thought, we don't want that to happen :(
However, this element is not the hub of the issue. Mel wanted to activate the Requery button which is disabled by the default form.IsEnabled code where no value is present in cRequeryDialogClass. The subsequent requery of the view can be handled via the form's requery method (as you have suggested), the datamanger or directly to the cursor object in the CDE.
You can see how often I use the form based requery method !
Best
-=Gary