StringFromSet Function
Gastón Salomone
12-4-18
Hi,

I´m trying to use StringFromSet function in a WebPublic function and I doesn´t work with customized Set Ids.
It is a SERP 8.4 in cloudnode, but If I start a server manually it Works perfectly also.

I write this set:
SetBegin(920);
    SetText(0," ");
    SetText(1,"No");
    SetText(2,"Yes");
    EndSet;


And If I call StringFromSet(919,2) return "Yes", from client side Its Works.
But I call it in server side in a webpublic function allways returns 2.

Is there any replacement function to use? Is this a bug ?

Regards
Omar Dottin
12-5-18
Hi Gaston, it is important to have

SetLangMode

If you have this already, please also add

SetText(0,"-")

and test. If you are still experiencing issues, we will need the full Hal file to analyze.

Regards,
HW Support
Gastón Salomone
12-10-18
Hi Omar,

Is SetLangMode really necessary ?
I found that as son as I do some Expo/Impo functions starts to work correctly.
But as soon as I validate SERP product key SetLanguage starts to fail, I don´t know Why.


Regards
Omar Dottin
12-27-19
Hi Gaston, our developers do recommend to have SetLangMode in 8.5 as well. It's needed for product key validation. Hope this helps!

Thanks,
Omar
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Hello, Kindly please report the bug so that we can further investigate and resolve it. Thank you. Best regards, Benjamin...
11:31 3 May 2024
Hi, No changes should have been made that would increase client's HDB file. Please try to delete HANSA.HDB from client folder and reconnect to server and check if it will grow to 30MB again. ...
10:14 30 Apr 2024