Assign value but disappear in render stage

Assign value but disappear in render stage

  
Hi,
I have one edit screen. It has fields (ID, FirstName, LastName, JoinDate,OrderNumber).
I would like to
set the JoinDate = Today().
OrderNumber = "0"

Screen:
TXT_ID.Variable=OrderRegisterEdit.Record.ORDER_REGISTER.ID
TXT_FirstName.Variable=OrderRegisterEdit.Record.ORDER_REGISTER.FirstName
TXT_LastName.Variable=OrderRegisterEdit.Record.ORDER_REGISTER.LastName
TXT_JoinDate.Variable=OrderRegisterEdit.Record.ORDER_REGISTER.JoinDate
TXT_OrderNumber.Variable=OrderRegisterEdit.Record.ORDER_REGISTER.OrderNumber

I assign the value in Preperation Action.

In the debug mode, I can see it assigned the values, however it disappear in the page render stage.

What did I miss?
Hello Chang,

If I understand you are trying to set some default values on a edit record, you cant assign the edit record values on the preparation because the edit record is only render after the preparation runs. So if you have a source associated to the edit record you need to assign on the source or create some variables to the trick.

I hope that helps

Regards,
Hugo Pinheiro