Different userlevel,different background

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • haroldunlimited
    New Member
    • Apr 2008
    • 2

    Different userlevel,different background

    HI guyz,

    Im making a ms access database and I would like to use different background for the different user level,once they log in.how is this possible?
    thanks guyz.....
  • balame2004
    New Member
    • Mar 2008
    • 142

    #2
    Originally posted by haroldunlimited
    HI guyz,

    Im making a ms access database and I would like to use different background for the different user level,once they log in.how is this possible?
    thanks guyz.....

    Hi,

    Yes it is possible. All you have to do is, maintain a table for user levels(or user type). Define a template(or styles - background color, font style,etc) for each user level and use it during runtime based on the user who is logging into your application.


    Cheers,
    Balaji U

    Comment

    • haroldunlimited
      New Member
      • Apr 2008
      • 2

      #3
      Thanks,


      Dou you have the code for this?

      Comment

      • balame2004
        New Member
        • Mar 2008
        • 142

        #4
        Originally posted by haroldunlimited
        Thanks,


        Dou you have the code for this?

        Hi,

        Here is some idea how to do it.

        1.Style - Save background color and font for each type of user in database.

        Create tables
        1. UserLevel (UserTypeId,Use rTypeName,Backg roundColor,Font Name)
        2. Users(UserId,Us erTypeId,UserNa me,LoginId,Pass word)

        Here UserTypeId refers UserTypeId of UserLevel table.

        Add UserLevels and define styles.

        2.Show Style - Retrieve style from UserLevels table based upon the type of user logging in and set the style to your web page.

        - Balaji U

        Comment

        Working...