Initialize group_by
Posted: Wed Sep 27, 2017 2:52 am
How do you initialize a group of fields using group_by?
This gives a "Assignment operator is not valid when used with field list identifier #MyFields" error.
All of the fields are a Packed(15,2) and I am trying to get them all to zero.
I can set them all individually, I just thought this was something I could do. Perhaps I am just having a brain melt-down.
Thanks,
Joe
This gives a "Assignment operator is not valid when used with field list identifier #MyFields" error.
Code: Select all
group_by name(#MyFields) fields(#wk_TotalOpen #wk_CurrentOpen #wk_TotalGross #wk_Open30 #wk_Open60 #wk_Open90 #wk_Open120 #wk_OpenOver120)
mthroutine name(#MyMethod)
#MyFields := 0
endroutine
I can set them all individually, I just thought this was something I could do. Perhaps I am just having a brain melt-down.
Thanks,
Joe