View showing last logged on user instead of current user

I have a library application that keeps track of the librarys books and who’s borrowed them (among other things). The application is run on a computer in the library.

A wierd thing sometimes happens when a user logs on and checks his/hers borrowed list. The application displays the booklist belonging to the user that was previously logged on before the current user. But if you borrow a book or something the right booklist appears, so at the back end everything works without a problem.

The command to show this list is …nsf/vMinaUppgifer?openView&RestrictToCategory=Nisse Test where “Nisse Test” is a username (for a testuser) and “vMinaUppgifter” is the view.

The view selection is done with the following statement: SELECT ((Form = “frmLitterature”)) & fldBorrowerName!=“”

Anyone know how this can accur and know a solution to the problem?

Subject: View showing last logged on user instead of current user

You might try to do a refresh of your view in the Queryopen event.

Subject: RE: View showing last logged on user instead of current user

i forgot to mention that it’s a web application. can i still find some kind of queryopen event?

Subject: RE: View showing last logged on user instead of current user

Sorry, no you cannot use Queryopen in web, but you can use onLoad.

In the designer’s help you will find a page called Event Descriptions that gives you an overview where to use what event.

Subject: RE: View showing last logged on user instead of current user

i’ll try that. thanks for the advice