The enclosed executable WIP.EXE (Work in Progress for the inquisistive among you)
demonstrates the passing of the WHERE clause of an SQL statement from a Query by
example form in Delphi to ReportSmith.  Set up an Alias called "Delphi" pointing
to the directory to which these files are unzipped.  The driver should be the 
STANDARD Database Engine.  I've tested this with the Interbase engine and it 
works just as well.  Run "WIP.EXE" from the directory.  Build a Query (sorry I
didn't have the patience to create a lot of sample data) and push the execute
button.  Your subset will be passed to the table displayed on the form.  You can
use the tabsets to further narrow down your subset.  When you have the set you
require, press the report button.  Reportsmith Runtime should load if properly
installed and a dialog box will show the passed "Where" clause.  Click OK and
the report will be output.  There's still a few simple gotchas to work out, but
it a good enough example for a starting point for a more serious application.

Daniel C. Kline

72163.3321