Hi Susan,
If you want to do this in a program, use something like
HI = DCOUNT(REC, @FM)
where REC is the record and HI will be returned as the number of fields/attributes.
I am unclear why you want to make the change anyway as the dynamic array that represents the record will sort out the mark characters automatically if you write to field 56. The real question should be what is in these later fields and are you going to overwrite valuable data?
Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England
+44 (0)1604-709200
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
To unsubscribe, email to: mvdbms+unsubscribe@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
Any ideas on how to determine which records might stop at 53?
yes, this was something that php (and others) does not do with an array.
$a="";
$a[0]="1"
$a[2]="3"
$a[100]="4"
echo count($a)."\n";
Will show you 3
Whereas in UV
A=""
A<1>=1
A<4>=3
A<100>=4
PRINT DCOUNT(A,CHAR(254))
Will show you 100
I ran into this when I attempting to port a UV program to PHP and took me a while to
realize that count was not the same as the highest key value.