If it works, go with it.
>Craig,
>
>I suspected that the READ EVENTS command was not getting executed.
>So, I tried adding it at the beginning of my GetDatFilesFromPatVisits() procedure. But, everything just hung up right there.
>
>So, I put the READ EVENTS command in the Activate method of the form, and CLEAR EVENTS in cmdOK.Click code just before I release the form.
>
>I don't know if this was the right thing to do, but the form now appears, and waits for me to click the OK button before it proceeds to finish.
>
>What do you think?
>
>Thanks,
>Jim
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer