>>>>Is there a way to have form2,which is called from form1, to be exclusively active until a button is clicked on it?
>>>
>>>Just make it modal.
>>
>>Did the trick! CAn I ask why when compiled as an exe. clicking on either of form2's buttons,the app suddenly quits?
>
>Check what code you put under these buttons.
[thefile='CSULOG6'
release thisform
clea event]
is the code I have under forms2's buttons. This is so(I supposedly thought) that form2 would be deactivated and control given back to form1.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."