Copying message segments from one object to another

Discussion of open issues, suggestions and bugs regarding to (known as Delphi HL7) HL7 Components
Post Reply
JerryB123
Posts: 10
Joined: Fri Dec 14, 2012 2:14 pm

Copying message segments from one object to another

Post by JerryB123 »

Hello,

How should one copy a message element from one object to another?

For example, I am trying to copy the contents of one TdiPID_26 to another TdiPID_26. I tried FPid_A.Assign(FPid_B), but it produced a run-time error. I also tried FPid_A.AsString := FPid_B.AsString, but it produced a compile-time error, since TdiPID_26 does not have an AsString property.

I looked in the DelphiHl7_Guide and searched in this forum, but did not see how to accomplish this.

Thank you.
Jerry
admin
Site Admin
Posts: 256
Joined: Sun Jun 05, 2011 8:06 pm

Re: Copying message segments from one object to another

Post by admin »

Hi,

We work on this issue, we will inform you when finished.

Best regards.
admin
Site Admin
Posts: 256
Joined: Sun Jun 05, 2011 8:06 pm

Re: Copying message segments from one object to another

Post by admin »

Hi,

Assign methods bug fixed.

Please download lastest edition.

Best regards.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests