[comp.sys.mac.hypercard] Querying/Filtering

6600doug@ucsbuxa.ucsb.edu (Doug Frank) (11/17/89)

I'm looking for some way of printing a report (columnar form) which
can contain a subset of the whole stack.  In obtaining the subset in
the first place, I need some way to query the user for the ranges and
fields used to determine the subset.  For example, in a stack which
might contain names and addresses on each card, I would need to print
out maybe all people whos last name began with A-F, and had zip codes
between 90000 and 93117.  This raises the main two questions:

What is the best procedure for querying the user, and how do I create
this subset?

Is there a way to then invoke the print report routines with this
subset?

NOTE:  All of this is being handled with scripts, to shield the user
	from the inner workings (to make it user friendly)

			If you have any ideas, however vague, let me
			know please.  I can work out the
implementation
			fairly easily, once I know the basic concepts
to
use. 
			Thanks,
				Doug Frank
6600doug@ucsbuxa.ucsb.edu