I have formula in CR 8.5:
WhilePrintingRecords;
NumberVar Array array1;
Redim array1 [10];
Local NumberVar i;
For i := 1 to 10
Step 1
Do (array1 := 1+Truncate RND() * Count({MyField}));
Upon running is says "missing ) "...on the place just before RND. So it should be ")RND()" but that does not work..
Where is the error??
Thanks
William
WhilePrintingRecords;
NumberVar Array array1;
Redim array1 [10];
Local NumberVar i;
For i := 1 to 10
Step 1
Do (array1 := 1+Truncate RND() * Count({MyField}));
Upon running is says "missing ) "...on the place just before RND. So it should be ")RND()" but that does not work..
Where is the error??
Thanks
William