![]() |
Sergey Kornilov admin 5/2/2016 |
I'm not really sure what "Copy setting" button you mean. Can you post a screenshot that explains it? |
A
|
Abhijeet author 5/3/2016 |
I'm not really sure what "Copy setting" button you mean. Can you post a screenshot that explains it?
|
![]() |
Sergey Kornilov admin 5/3/2016 |
This button allows to copy settings like 'View as' settings or 'Edit as' settings from one field to another. |
A
|
Abhijeet author 5/4/2016 |
This button allows to copy settings like 'View as' settings or 'Edit as' settings from one field to another.
|
![]() |
Sergey Kornilov admin 5/4/2016 |
Abhijeet, |
A
|
Abhijeet author 5/5/2016 |
Abhijeet, you are mixing apples and oranges here. This button copies settings in design time like field label (Make), 'Edit as' type (Text area), field size parameters ( width, height etc). What you need to do is to add a code to one of events like BeforeAdd or BeforeEdit to copy field data from master record to details record. Use getMasterRecord() function to access master record data: http://xlinesoft.com/phprunner/docs/getmasterrecord.htm
|
![]() |
Sergey Kornilov admin 5/5/2016 |
All field names are case-sensitive. Besides that you are not using the function I suggested. |
A
|
Abhijeet author 5/7/2016 |
All field names are case-sensitive. Besides that you are not using the function I suggested.
|
A
|
Abhijeet author 5/10/2016 |
I am sorry, but now I used your below function:- $data = $pageObject->getMasterRecord(); echo $data["CUSTID"]; Syntax is ok, and I have given this in before add and before edit event in detail table. but still no luck. Is this the after function ? meaning whether it operates while saving record ? or renders value while record is created ? I tried to inline add detail record and the value in detail cell was not prefilled from master cell. Secondly, I would like to ask whether we need to assign the value to the detail cell again seperately ? after giving above code ? Technology used : Phprunner 8.1 (32 bit), Oracle 11g (32 bit) on local PC connection, Windows 7 (32 bit), XAMPP Please guide. Thanks. |