(SOLVED) Hide password in desktop shortcut
I am opening my login fmx from a desktop shortcut. The command in the shortcut is "c:\orant\ifrun60.exe login.fmx userid=user/password" start in folder "d:\app".
I want to hide the username and password text from the shortcut. Since I don't have the login.fmb file with me, I have created setdbpass.fmb and entered the username/password in the on-logon trigger of the setdbpass form. The code is:
logon('USER','PASSWORD'||'@'||'MY.ORCL');
Now I can open the login fmx from setdbpass form, if I create a push button and entered the code "NEW_FORM('login.fmx');" in the 'WHEN-BUTTON-TRIGGER' trigger.
My question is: I want the setdbpass form to invoke the login form without having to click any push button. Is there any way to achieve this.
Message was edited by:
user549637