1,105,395 Community Members

multiple login form for admin

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

hi
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
abelingaw
Posting Whiz in Training
247 posts since Jun 2008
Reputation Points: 69 [?]
Q&As Helped to Solve: 32 [?]
Skill Endorsements: 2 [?]
 
0
 

Can you show what you have so far?

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

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
mark.scutt.7
Light Poster
27 posts since Sep 2012
Reputation Points: 12 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
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

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