Strange filter behaviour on Table Database

tfranzentfranzen Member Posts: 25
Hi,

I experience a strange behaviour of NAV 4.0 SP3 when using a filter on the virtual table Database.

What I want:
I want to give a message to the user when working in a test-database (The name of the database contains the word TEST in any form)

What I did:
In codeunit 1/LoginStart I declared a local record-variable with subtype Database (2000000048), put a filter on field "My Database" and made a FINDFIRST. I received the correct record and trigger the message. So far so good.

But now there comes the problem: when a "normal" user wants to switch the database and opens the OpenDatabase-Dialogue and makes a lookup to the existing databases only the one he has in access is shown and selectable, any other database is not.

Any ideas of solving this problem with this record are appreciated. In the meantime I use CONTEXTURL to get the database name.

Thanks
Thomas

Comments

Sign In or Register to comment.