Questiona about printing with associated fields
Kenneth Brody
kenbrody at bestweb.net
Tue Sep 19 12:42:03 PDT 2006
Quoting Boaz Bezborodko (Tue, 19 Sep 2006 15:01:57 -0400):
> Kenneth Brody wrote:
[...]
> >Correct. If you sort by A1, then only the non-blank A1's (or just
> >the first, if all are blank) will be included. Also, from this
> >description, I take it that order is significant? In that case,
> >this wouldn't work, anyway, as you would get them in sorted order,
> >and not the order in which they appear in the record.
> >
> Order isn't really significant here. I just want to make sure that all
> instances of A1 and A7 are printed.
>
> What happens if I sort by A1 and then A7? Will all instances be pulled
> and show up on the report? Will they be pulled multiple times for the
> same @AF? And, finally, can I do what I was thinking about with going
> through @AF and using the PRINT command?
You can sort by A1 and A7 and, as I recall, it will only pull matched
pairs, as they are both from the A group.
As for looping, you can't set @AF. However, if all instances of A1
and A7 are contiguous, you can alias two arrays, and then loop through
them.
Also, another 5.6 feature is the ability to alias an array directly
to an associated field group, and access instances of the group even
if they're not contiguous in the map. ie: DIM ARRAY(5):A7
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list