View Single Post
  #1 (permalink)  
Old July 17th, 2007, 05:58 AM
navdeep navdeep is offline
Authorized User
 
Join Date: Apr 2007
Location: , , .
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default Global Access to a Variable ?

I have a confusion regarding designing/coding my classes.
My application has a login form. It uses user class. This user class fetches the user_code,user_name,_user_pass,user_type from DB (access). Now I check user_pass with the password entered by user on login screen. All well until now.

Now I want a global access to user_code and user_type on all my forms. What would be the easiest way to do that.
Reply With Quote