huytonscouser
Programmer
Record selection has this :-
{SRMARRAY.ARRAYALIAS} startswith ["ROM", "UKA", "UKB", "UKP", "UKS"] and
{@Hours DIFF} and
{SRMARRAY.ISCURRENT} = "Y"
I have a Formula called INITSTUFF in the Report header :-
shared numbervar gmtoffset ;
shared STRINGVAR array arraynames ;
Select {?Site Name}
Case "Brighton":
(
arraynames := ["ROM", "UKA", "UKB", "UKP", "UKS"];
gmtoffset := 0;
)
Default:
(
arraynames := ["any"];
gmtoffset := 0 ;
)
;
How can i change the record selection formula to use the
arraynames in the CASE statement for startswith ?
{SRMARRAY.ARRAYALIAS} startswith ["ROM", "UKA", "UKB", "UKP", "UKS"] and
{@Hours DIFF} and
{SRMARRAY.ISCURRENT} = "Y"
I have a Formula called INITSTUFF in the Report header :-
shared numbervar gmtoffset ;
shared STRINGVAR array arraynames ;
Select {?Site Name}
Case "Brighton":
(
arraynames := ["ROM", "UKA", "UKB", "UKP", "UKS"];
gmtoffset := 0;
)
Default:
(
arraynames := ["any"];
gmtoffset := 0 ;
)
;
How can i change the record selection formula to use the
arraynames in the CASE statement for startswith ?