[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Dynamic FIELD size in array?



> Code:
>
> create-array
>      name=row_data       size=40
>      field=control_num:number  field=level:number
> field=div_row_data:number:{num_col_for_div_data}
>
> Question:
> Is there ANY way to replace substitution variable {num_col_for_div_data}
> with #num_col_for_div_data   variable which is a result of SELECT paragraph?

Dave,

No, there isn't.  You can add a field which contains the number of
columns in the row and declare {max_num_col_for_div_data}
appropriately.

Ray

----------------------------------------------------------------------
Ray Ontko       |  Ray Ontko & Co  |  "Time for a new signature line."
rayo@ontko.com  |  Richmond, In    |  See us at http://www.ontko.com/