Published on InterSystems Developer Community (https://community.intersystems.com)

Home > How can I read a field from the second obx segment using objectscript

Question
ED Coder · Jul 14, 2020

How can I read a field from the second obx segment using objectscript

Hi, I am trying to read a field from the second obx segment but it keeps giving me an error.

Following is what I am trying:

s detval = pRequest.FindSegment("OBX(2)")
s dep = detval.GetValueAt(2)

but it doesnt read it. Is there a different way to read the value?

#ObjectScript #Ensemble

Source URL:https://community.intersystems.com/post/how-can-i-read-field-second-obx-segment-using-objectscript