i'm want to create a program in vb which will allow two sorts of entry..as a regular user and as a privilaged user.to enter as i privilaged user, u will hv to supply a password. the program i'm developing is a data driven program and the only advantage that a privilaged user gets is the ability to modify the database.
i was thinking of making two forms..the entry form with two radio buttons for the two types of users.selecting the privilaged user wil prompt for the password which when entered correctly will display the actual form with all the command buttons enabled.if the password is wrong or the normal user is selected..the buttons that are for modifying the database will be invisible.
i have made the second,ie the data access form..complete with the command buttons and everything.but i'm getting muddled with the logging in part.
it would be very helpful if some of u geeks could help me with the code of that part.
thanks...
i was thinking of making two forms..the entry form with two radio buttons for the two types of users.selecting the privilaged user wil prompt for the password which when entered correctly will display the actual form with all the command buttons enabled.if the password is wrong or the normal user is selected..the buttons that are for modifying the database will be invisible.
i have made the second,ie the data access form..complete with the command buttons and everything.but i'm getting muddled with the logging in part.
it would be very helpful if some of u geeks could help me with the code of that part.
thanks...