HI

These are the forms I Have Log in,Customer,Order. They are opened In this order.
At start up the Log in Form assigns the User in The Order Form and all works fine. But when I close the Order Form I loose the user.
I would like to maintain the user available until the app. is closed.

This is the coed I used in Log in Form.

OrderForm.Userini=txtUser.Text

Thanks

Simple way is to add a module and declare the public variables there.

Good Luck

thank you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.