Please use triger ON-LOGON at form level and write the following code as according to your database strings.

logon('scott','tiger@test');

Thanks