var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
i have an mdb connected to SQL via linked tables,
i was wondering if it is possible to create a login form, which, depending on the user level, displays a different switchboard/main form. and if it is possible, how i go about setting it up
any help would be greatly appreciated
sure, set the login form as start form. let user enter username and password, and check with database.
then according to the user level, you call different form
The above is correct, but have your user security level check procedure in a public module, and call it from each form change button (Or anything else that loads another form).
This will save you writing the same code over and over again, so it'll be easier to check through if something goes wrong in the future.
Log in with your username and password
Forgot your password?
Subscribe to dBforums Brief to receive special offers from dBforums partners and sponsors