Skip to Content
1
Former Member
Jun 13, 2011 at 09:57 AM

Dynamically assigning field-group to field symol

35 Views

Dear Experts,

I am trying to dynamically assign a field-group to a field symbol so I can filter the resultant data set from an infoset query.

Problem is when I use:

field-symbols <fieldgroup> type table.

assign ('%FG01[]') to <fieldgroup>.

loop.

at <fieldgroup>.

*do something

endat.

endloop.

It syntax errors saying <fieldgroup> is not a field-group. I cannot predict the field group so pre-defining the field-group definition is not possible. It must be assigned dynamically.

Thanks in advance.

Mark