reg: Passing Values in option string at runtime

raju_nav
raju_nav Member Posts: 41
Hi all,


I have created a global variable of option data type in form.Is there any possibilities for passing values to this variable during run time.


Thanks in Advance

with regards,
raj
A.RajaManikkam

Comments

  • jhoek
    jhoek Member Posts: 216
    What exactly do you mean by passing values to this option variable?

    1 - Setting its value
    2 - Changing the options
    3 - ...?
    Kind regards,

    Jan Hoek
    Product Developer
    Mprise Products B.V.
  • randrews
    randrews Member Posts: 135
    I think he mean OptionString... May be I am mistaken...
  • jhoek
    jhoek Member Posts: 216
    In that case: impossible, as far as I know. :(
    Kind regards,

    Jan Hoek
    Product Developer
    Mprise Products B.V.
  • memula
    memula Member Posts: 30
    If you mean change value, you can do it
    for example
    if AnyOption variable of OPTION type and has optionstring = Lala,Tralala

    you can change value by integer:

    AnyOption := 2;

    IF AnyOption = AnyOption::Tralala THEN
    MESSAGE('AnyOption = Tralala');

    But you can not change option string at run time !

    regards