Questiona about printing with associated fields

Boaz Bezborodko boaz at mirrotek.com
Tue Sep 19 12:49:53 PDT 2006


Kenneth Brody wrote:

>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.
>
>  
>
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?

>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.
>
>  
>
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.

>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
>
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20060919/002abcbb/attachment.html


More information about the Filepro-list mailing list