<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Kenneth Brody wrote:
<blockquote
cite="mid20060919154203.tbc4ogc0kggk800g@webmail.spamcop.net"
type="cite">
<pre wrap="">Quoting Boaz Bezborodko (Tue, 19 Sep 2006 15:01:57 -0400):
</pre>
<blockquote type="cite">
<pre wrap="">Kenneth Brody wrote:
</pre>
</blockquote>
<pre wrap=""><!---->[...]
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap="">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?
</pre>
</blockquote>
<pre wrap=""><!---->
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.
</pre>
</blockquote>
So if I sort on A1 and A7 it will give me all instances where A1 and/or
A7 exist and will not duplicate them? <br>
<br>
<blockquote
cite="mid20060919154203.tbc4ogc0kggk800g@webmail.spamcop.net"
type="cite">
<pre wrap="">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.
</pre>
</blockquote>
That was what I was going to fall back on if the other doesn't work.
But it means a lot of arrays to handle looked-up data as well.<br>
<br>
<blockquote
cite="mid20060919154203.tbc4ogc0kggk800g@webmail.spamcop.net"
type="cite">
<pre wrap="">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: <a class="moz-txt-link-rfc2396E" href="mailto:g8ymh8uf001@sneakemail.com"><g8ymh8uf001@sneakemail.com></a>
<a class="moz-txt-link-freetext" href="http://www.hvcomputer.com">http://www.hvcomputer.com</a>
<a class="moz-txt-link-freetext" href="http://www.fileProPlus.com">http://www.fileProPlus.com</a>
</pre>
</blockquote>
</body>
</html>