I've always had fun with Scan but I'm having trouble with it today. For some reason it keeps returning 0.
Here is the code for the variable being examined by the scan:
Code: Select all
V2=DimNm('}Groups',1);
Code: Select all
V3=SCAN(V2,'-GRP');
It's late in the day and it may be something obvious so don't go kicking my door down if it is

Jim.