Page 1 of 1

Passing Value From Master to Detail Table

Posted: Tue Aug 09, 2022 10:36 am
by amsire2

Hi, can you help me to solve this problem?

I have 2 tables

MasterTable : Order
Fields =
OrderID (PK)
TotalOrder

DetailTable: Payment
Fields =
PaymentID (PK)
Total Order
OrderID (FK)

How can I pass the value of TotalOrder from MasterTable to TotalOrder in DetailTable.


Re: Passing Value From Master to Detail Table

Posted: Tue Aug 09, 2022 11:18 am
by mobhar

Container("Order")->TotalOrder->CurrentValue


Re: Passing Value From Master to Detail Table

Posted: Tue Aug 09, 2022 11:27 am
by amsire2

mobhar wrote:

Container("Order")->TotalOrder->CurrentValue

Where should I place this codes


Re: Passing Value From Master to Detail Table

Posted: Tue Aug 09, 2022 12:25 pm
by mobhar

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


Re: Passing Value From Master to Detail Table

Posted: Tue Aug 09, 2022 10:27 pm
by amsire2

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


Re: Passing Value From Master to Detail Table

Posted: Wed Aug 10, 2022 7:48 am
by mobhar

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