Thread Rating:
  • 269 Vote(s) - 2.65 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modify Record
04-03-2017, 01:23 PM, (This post was last modified: 04-03-2017, 01:27 PM by dyoshida.)
#2
RE: Modify Record
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}
}


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,395 11-01-2011, 02:58 PM
Last Post: umemura
Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('1444')