login page value disappear when i enter 2nd record (merged 2) [message #541306] |
Mon, 30 January 2012 06:07 |
|
ariffcal
Messages: 107 Registered: April 2011
|
Senior Member |
|
|
Hi,
Greetings,
display value from login page to call another form first time value
is appear when I enter new 2nd record that the time call value disappear.I means user name fix it when i create new record.
this is my code for pre-insert trigger block level
:PLACE_FROM:=:parameter.mc_name;
:SRECEIVER_NAME:=:parameter.USER_NAME;
please help me.
regards,
|
|
|
|
|
|
Re: login page value disappear when i enter 2nd record (merged 2) [message #541374 is a reply to message #541370] |
Tue, 31 January 2012 00:14 |
|
Littlefoot
Messages: 21818 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
I see; well, you have problems because trigger(s) didn't fire when you thought they would. WHEN-NEW-FORM-INSTANCE fires once, when you enter a form (not when you create a new record).
As you use parameters, I believe that you should NOT code anything by yourself, but use Forms built-in features, i.e. open second form's items' Property Palette and put :parameter.mc_name and :parameter.user_name into respective items' Initial Value properties.
If you insist, WHEN-CREATE-RECORD block-level trigger might be a better choice than the ones you used so far.
[EDIT: fixed stupid typo]
[Updated on: Tue, 31 January 2012 01:36] Report message to a moderator
|
|
|
|