At first I used 'RecordView.get' which returns Record class
but it didn't work because the Record class object
which is added using RecordSet.append and being the key
of HashTable was not the same object to the object which
'RecordView.get'returned.:-(

Why? What happend there? In the example below the same object is returned.

Friedger


{do
    let rs = {LocalRecordSet
                     {RecordFields {RecordField "A"}, {RecordField "B"}},
                     {RecordData A = "aa", B = "bb"},
                     {RecordData A = "aaa", B = "bbb"}
          }

    let rv = {RecordView rs}
    let r = {rs.new-record}
    set r["A"]= "1"
    set r["B"] = "2"
    {rs.append r}
    {output {rv.get 2}.source-record, r}
}

*******************************************
To unsubscribe from this list, send a mail to:
mailto:[EMAIL PROTECTED]
To contact a human list administrator, send a mail to:
mailto:[EMAIL PROTECTED]
To recieve a list of other options for this list, send a mail to:
mailto:[EMAIL PROTECTED]

Reply via email to