Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
renem
Partner - Contributor III
Partner - Contributor III

Multiple value selections in a field using Actions

Can anyone tell me how to make multiple selections in a field using Actions? This is how I would've done it with a macro...

set v = ActiveDocument.Variables("MyValues")
set f = ActiveDocument.Fields("TheField")
set fv = f.GetNoValues 'empty array
a = split(v.GetContent.String,";")
for i=0 to ubound(a)
fv.Add
fv(i).Text = a(i)
fv(i).IsNumeric = false
next
f.SelectValues fv

11 Replies
zekazak
Creator
Creator

Hello,

I faced the same problem, and you've provided with very good example. but do you know how to realise the same thing with macro? It's meeded for my case.

Thanks in advance for any idea!

Best regards,

~Sergejs

Anonymous
Not applicable

sorry to ask this question in an old post, but how do you get the values of field C in a variable using the selections of field A.

Tab1:

LOAD * INLINE [

    A, C

    1, 3

    2, 7

    3, 6

    4, 8

    5, 5