Hi,
i am having a formula statement which is working fine in formula syntax
@SetField(“$MyTable”;“AdvancedOptions”);
where MyTable is a Tabbed table and AdvanceOptions is a TAB…
How to make the same statement work in LotusScript 6.5.4 with evaluate
i tried like this
Evaluate({@SetField"$MyTable";“AdvancedOptions”);})
and like this also
checked = Evaluate(“@SetField($MyTable;AdvancedOptions)”,doc)
but both are not working
please any one help in this regard
Subject: Evaluate Problem
AdvancedOptions or AdvanceOptions?
Evaluate {@SetField(“$MyTable”;“AdvancedOptions”)} works better, but still needs to know what document to set the field on, so:
Evaluate {@SetField(“$MyTable”;“AdvancedOptions”)}, Doc
Evaluate(“@SetField($MyTable;AdvancedOptions)”,doc) won’t work because you confuse the @SetField function. $MyTable and AdvancedOptions should be string, not variable names, so:
Evaluate(|@SetField(“$MyTable”;“AdvancedOptions”)|,doc)
Lots of typos. Perhaps best you use Option Declare, that’ll save you debugging time.
Subject: RE: Evaluate Problem
Thanks for ReplyDim eval As Variant
eval = Evaluate(|@SetField("$MyTable";"AdvancedOptions")|,doc)
uidoc.Refresh
NOW IT IS Working