Hi!
I'm having a dataform that is driven by view1.
There's another parametrized view (view2) which populates a grid.
My skip method always first selects view1 prior to actual do skip command.
Once the grid has focus and I do a skip which results in empty view2 (nothing to display from view2 in the grid) than there pops up an error message telling record is out of range. That error is there after a refresh of the form.
I found a solution by , prior to do the refresh, giving a dummy textbox focus.
Q1 is the error which popped up to overcome?
Q2 if not; I will find out what control of the grid (i.e. which column) has focus. Than set focus to a dummy textbox, refresh the form and than set focus back to the gridcolumn.
Is this a good way to proceed?
-Bart
I'm having a dataform that is driven by view1.
There's another parametrized view (view2) which populates a grid.
My skip method always first selects view1 prior to actual do skip command.
Once the grid has focus and I do a skip which results in empty view2 (nothing to display from view2 in the grid) than there pops up an error message telling record is out of range. That error is there after a refresh of the form.
I found a solution by , prior to do the refresh, giving a dummy textbox focus.
Q1 is the error which popped up to overcome?
Q2 if not; I will find out what control of the grid (i.e. which column) has focus. Than set focus to a dummy textbox, refresh the form and than set focus back to the gridcolumn.
Is this a good way to proceed?
-Bart