Reply To: how to keep spaces between values in results on obx field

› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › how to keep spaces between values in results on obx field › Reply To: how to keep spaces between values in results on obx field

#59021
Robert Kersemakers
Participant

    Hi Nancy,

    I think you need to check your tcl code whether the xlateOutVals is structured as a list.

    If you do something like:

    Code:

    set field “This is a test”
    set xlateOutVals $field


    then xlateOutvals will look at as a list, where every word will be seen as a list element because they are separated by a space. So xlateOutVals will have 4 elements!

    What you need to do is:

    Code:

    set field “This is a test”
    set xlateOutVals [list $field]


    This way will be seen as one list element.

    Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands