Skip to content
Menu
Menu

Knowledge Base

KB050095 | USER-DEPENDENT HOME PAGE

KB050095 | USER-DEPENDENT HOME PAGE

Product: Elvis
Version: 2.x
Booth: 2005-09-02

Summary

This solution can be used to open a special home page for specific users.

Details

When starting the operator station, the user specifies his name. Depending on this name, a special home page or the default home page can be opened.

Here’s what to do:

  • Create a new start page, e.g. name it “StartSelection”.
  • Make this page the home page (“As Home Page” in the context menu).
  • In the event processing of the page (for the “page load” event = Load), enter the calculation given below.
  • Of course, the names of the pages and the users have to be adapted to your project!
//CODE:vb:Sub Form_Load()
	Select Case Database.User
		Case "Administrator"
			ProjectDoc.Open "\Start_A"
		Case "Hausmeister"	
			ProjectDoc.Open "\Start_H"
		Case Else
			ProjectDoc.Open "\Start"
	End Select
End Sub//CODE

This calculation as TXT

Support Area

KB050095 | USER-DEPENDENT HOME PAGE

Knowledge Base

Here you will find answers, solutions to problems and examples of our products.
KB050095 | USER-DEPENDENT HOME PAGE

Case Studies

Successful in use: practical examples of our products and individual developments.
KB050095 | USER-DEPENDENT HOME PAGE

Support

Describe your concern using our support form.
KB050095 | USER-DEPENDENT HOME PAGE

License registration

Register your Elvis license!

IT GmbH · An der Kaufleite 12 · D-90562 Kalchreuth

© Copyright 2024. IT GmbH | Webdesign by Appear Online