Thread Rating:
  • 139 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modify Record
04-03-2017, 01:58 PM,
#3
RE: Modify Record
(04-03-2017, 01:23 PM)dyoshida Wrote: Before appending a new record, you need to create a new record using Recordset.new-record method.

Code:
{for r:Record in rss do
|| {rsMod.append{RecordData f_name = r["FIRST_NAME"],l_name = r["LAST_NAME"] }}
    def nr = {rsMod.new-record}
    {nr.set "f_name", r["FIRST_NAME"]}
    {nr.set "l_name", r["LAST_NAME"]}
    {rsMod.append nr}
}
Thank you very much ! Smile I wil try it .

Reply


Messages In This Thread
Modify Record - by benzamil - 04-03-2017, 12:11 PM
RE: Modify Record - by dyoshida - 04-03-2017, 01:23 PM
RE: Modify Record - by benzamil - 04-03-2017, 01:58 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Record の選択について umemura 2 3,288 11-01-2011, 02:58 PM
Last Post: umemura
Forum Jump:


Users browsing this thread:
1 Guest(s)