iv been doing a project where iv created a simple VB front end and connected it to an Access database but now things are going slightly out of my reach
i havent done any vb or C++ for quite sometime so it seems im looking at it the wrong way
basically my current task is as follows. Iv created a Login form to the program, the user enters a username an password and it was fine. But now it needs to be more detailed. So iv added 'user group' where the user selects whether they are Admin or User to which the program determines access rights e.g. some buttons will be disabled under user
so iv thought about it and i think i need a few global variables in each of the other forms? which is passing the values throughout the program?
could anyone please help me with what i need to write?
i havent done any vb or C++ for quite sometime so it seems im looking at it the wrong way
basically my current task is as follows. Iv created a Login form to the program, the user enters a username an password and it was fine. But now it needs to be more detailed. So iv added 'user group' where the user selects whether they are Admin or User to which the program determines access rights e.g. some buttons will be disabled under user
so iv thought about it and i think i need a few global variables in each of the other forms? which is passing the values throughout the program?
could anyone please help me with what i need to write?