[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: buffer-copy and array fields

Status
Not open for further replies.
G

goo

Guest
Thanks Sendt fra min iPhone 19. feb. 2020 kl. 14:43 skrev Stefan Drissen : Update from Progress Community Stefan Drissen When a native buffer-copy does not help, you can serialize and deserialize it as xml - abldojo.services.progress.com:443/ define temp-table ttone field ii as int extent 3 . define temp-table tttwo field ii as int extent 4 . def var lcc as longchar. create ttone. assign ttone.ii[1] = 1 ttone.ii[2] = 2 ttone.ii[3] = 3. buffer ttone:serialize-name = "tttwo". buffer ttone:write-xml( "longchar", lcc ). buffer tttwo:read-xml( "longchar", lcc, ?, ?, ? ). find tttwo. message 1 tttwo.ii[1] skip 2 tttwo.ii[2] skip 3 tttwo.ii[3] . NOTE: just for fun - beware that read-xml and write-xml operate on the temp-table and not the record. View online You received this notification because you subscribed to the forum. To unsubscribe from only this thread, go here . Flag this post as spam/abuse.

Continue reading...
 
Status
Not open for further replies.
Top