
Close button, closes form to the wrong place
thank you
I found the code in the on close property of the form, I
made the change in the code and it works fine.
thanks again
Dennis
Quote:
>-----Original Message-----
>> I copied a form that is opened from a sub switchboard
>> (higher security )
>> To be used from a different switch board with lower
>> security level.
>> My close button was created by the wizards in access 97
>> and I need it to close back to the switch board that the
>> form was luanched from. It appears to be taking on the
>> characteristics of the form I copied from.
>> How do I change this.
>> My form seems to do what I want. But I cannot use it
>> because of security reasons, if it wont go back to where
>> it was launched from.
>> The place it closes to is inside a higher level of my
>> security and gives operators access to a place I don't
>> want them to be.
>> Thanks
>> Dennis
>Please post the code behind the button, and also any code
in the form's
>Close and Unload events. Somewhere there must be code
that opens
>another form with a hard-coded form name, and it's the
wrong form.
>--
>Dirk Goldgar, MS Access MVP
>www.datagnostics.com
>(please reply to the newsgroup)
>.