29.10.2014 Views

Extracting data from the Synergetic database

Extracting data from the Synergetic database

Extracting data from the Synergetic database

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Advanced Microsoft Query and SQL examples<br />

Using stored procedures to retrieve <strong>Synergetic</strong> <strong>data</strong><br />

The values in <strong>the</strong> Status field on <strong>the</strong> Modify Future Student Application window are defined in <strong>the</strong><br />

luFutureStatus lookup table. See Maintaining lookup tables in <strong>the</strong> System maintenance manual.<br />

The selected value (Testing, in this example) is linked to <strong>the</strong> luFutureStatusMerge lookup table<br />

using its MergeCode of T. When a status is changed to Testing, its MergeCode is also changed as<br />

well. Any applications with this MergeCode are selected by <strong>the</strong> crspFutureStatusChangePrint<br />

stored procedure.<br />

To print mail merge letters using an existing document set up to use a stored procedure, such as <strong>the</strong><br />

crspFutureStatusChangePrint procedure:<br />

1. Start Microsoft Word.<br />

The Microsoft Office Word window is displayed.<br />

Note: See Stored procedures (on page 72) for details of each procedure.<br />

Version 60 Page 6-83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!