Passing Value From Master to Detail Table

Hi, can you help me to solve this problem?I have 2 tablesMasterTable : Order
Fields =
OrderID (PK)
TotalOrderDetailTable: Payment
Fields =
PaymentID (PK)
Total Order
OrderID (FK)How can I pass the value of TotalOrder from MasterTable to TotalOrder in DetailTable.

Container(“Order”)->TotalOrder->CurrentValue

mobhar wrote:

Container(“Order”)->TotalOrder->CurrentValue

Where should I place this codes

It actually depends on your needs; in which event did you want to use it.

I want the value to be pass when I Add the Details Table

Then you may use Row_Rendered server event; check the current page id is equal to “add”.