Menu

reference to use in trigger

Help
averlon
2023-10-29
2023-10-30
  • averlon

    averlon - 2023-10-29

    UPDATE:
    I solved it myself. I don't have to create the reference with the wizard. Just insert the reference into the action of the trigger is enough!


    I have two databases (A and B).
    Now I would like to create a trigger, when DB A is opened, and DB B exists, open DB B as well.
    The Master Password for DB B shall be handed over as reference!

    Therefore I have created in DB A an entry with the Master Password of DB B.
    The Password Field contains the reference (created with the wizard {REF:P@T:x_masterpassword}

    In the trigger I have created the action to open the file and the field for password contains now the string of the reference above.

    Now, when opening DB A the dialog to enter the Master Password for DB B is shown - which should not be the case.

    Could someone help me what I am doing wrong?

     

    Last edit: averlon 2023-10-29
  • wellread1

    wellread1 - 2023-10-30

    You might want to look at the KeeAutoExec plugin. This plugin doesn't do what you are asking, but it makes management of multiple database much easier.

     
  • Paul

    Paul - 2023-10-30

    If you lock KeePass you might find DB B is the default on unlock. Use this trigger to fix that.
    https://keepass.info/help/kb/trigger_examples.html#multidb

    cheers, Paul

     

Log in to post a comment.

MongoDB Logo MongoDB