Reply from kunalmathur on Aug 14 at 3:13 AM Hi, I am trying the same thing where I would like to show read-only data in a work record. However, it is not working.. Writing the code on Page activate. The work record is in a grid at level 1. Instead of assigning values to each field, would like to use the copyto or copyfieldsto or any other functions. Iam using copyto function and it saves, but when i open the page it does not show me the data. Also no error comes. Page properties checked--It is in Interactive mode. /* code written on page activate */ &rs1 = CreateRowset(Record.Physical_Record); &rs2 = CreateRowset(Record.Work_Record); &rs1.fill("where criteria1=:1 and criteria2=:2 and criteria3=:3", &val1, &val2, &val3); &rs1.copyto(&rs2, Record.Physical_Record, Record.Work_Record); /* code written on page activate */
| | | ---------------Original Message--------------- From: TallyAJ Sent: Monday, August 06, 2012 9:22 AM Subject: Copy Data to Derived Record I am trying to copy data from a scroll to a work/dervied record, but only newly inserted row. I can copy that to a record,but same Peoplcode is not working while copying data to work record. I am using CopyFieldsTo function to copy the data.Please suggest what other fuction can be used to copy data to work record? | | Reply to this email to post your response. __.____._ | _.____.__ |
No comments:
Post a Comment