>I'm sure this is a real easy question, but I seem to be having a 'moment':
>
>I have one form (called CHART1) on which there is a listbox. When one double clicks on the list box, another form (EDITPAT) opens to allow user input. The EDITPAT 'OK' button has the following in the 'Click' method:
>
>thisform.release
>CHART1.list1.setfocus
>
>to specifically send the focus back to the listbox on the first form. When I run the code, and press the 'OK' button in EDITPAT, I keep getting the error message "Object CHART1 is not found".
>
>What am I forgetting to do?
You might make form CHART1 public in the main program. You could also set focus to the list box and fire CHART1's release from there.
Imagination is more important than knowledge