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