1,105,395 Community Members

multiple login form for admin

Member Avatar
Newbie Poster
1 post since Dec 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]

i m new to vb with sql.i made login form.but after that on main form some feature will be disbleed for ordinary user and that feature will be only enabled to admanistrater.so on main form a button will be enabled with specific password that is in backend so i dont know yhe code plz i need kind help of someone

Member Avatar
Posting Whiz in Training
247 posts since Jun 2008
Reputation Points: 69 [?]
Q&As Helped to Solve: 32 [?]
Skill Endorsements: 2 [?]

Can you show what you have so far?

Member Avatar
Posting Whiz in Training
284 posts since Dec 2012
Reputation Points: 57 [?]
Q&As Helped to Solve: 58 [?]
Skill Endorsements: 4 [?]

its very simple.just identify user or administrtor with their username and password
and then call related function for ord.user or administrator

for Example :-
you user is found as ord.user then do following . . .
in called function , you can write code for disabling some specific control that are used when administrator is logged in .

try to do it . . .

Member Avatar
Light Poster
27 posts since Sep 2012
Reputation Points: 12 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]

I have a simple logon that has extra functions when an admin logs on.

A very simple way is to set a Boolean value to true if a admin logs on then use an if statement to load extra bits if admin = true

This article has been dead for over three months: Start a new discussion instead
Start New Discussion
Tags Related to this Article