>Thanks for the reply, Borislav. I was able to do as you suggested, but then I cannot get the form to release. Release Thisform works in the OK button if it is really clicked or if I simulate it with Keyboard O, but not if I simply do OKButton.Click(). It also won't release if the release command is in the Init of the form. Maybe Release Thisform needs to go somewhere else?
>
>BTW, thanks for the reminder to move code out of the button event. I've been programming under Fox for a long time, started with Clipper in DOS days actually, and a lot of the code is inherited from then. Lately I have been discovering too many places where business code is in the event instead of a method. I appreciate the tip, which these days would be (Ooops) a beginner mistake.
As I post in my previous message:
thisform.OKButton.Click()
RETURN .f.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.