Any idea how could I optimize this line of "bad" code :
Code: Select all
set the unicodeText of fld "lesSommaires" of card laCardDeRef of stack laStackDeRef to uniEncode (lesSommaires, "UTF8")
The problem occures because the script runs from a main card from where I go to another card to create fields, name them, size them and so on, and then I ask throught the script to do things in this main card; that's why I write " of card laCardDeRef of stack laStackDeRef"
Kind regards, Jean-Paul.