11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

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.

Precompute Summaries property<br />

Description<br />

Specifies that the value of any summarized item in a data block is computed before the normal query is<br />

issued on the block. <strong>Form</strong> <strong>Builder</strong> issues a special query that selects all records (in the database) of the<br />

summarized item and performs the summary operation (sum, count, etc.) over all the records.<br />

Applies to block<br />

Set <strong>Form</strong> <strong>Builder</strong><br />

Required/Optional Required if the block contains summarized items and the block’s Query All Records<br />

property is set to No.<br />

Default<br />

No<br />

Usage Notes<br />

When an end user executes a query in a block with Precompute Summaries set to Yes, <strong>Form</strong> <strong>Builder</strong> fires<br />

the Pre-Query trigger (if any) once before it executes the special query. <strong>Form</strong> <strong>Builder</strong> fires the Pre-<br />

Select trigger (if any) twice: once just before executing the special query, and again just before<br />

executing the normal query.<br />

Precompute Summaries restrictions<br />

You cannot set Precompute Summaries to Yes if any of the following are true: (1) the block contains a<br />

summarized control item, (2) a minimize or maximize operation is performed on a summarized item<br />

in the block, (3) the block’s Query Data Source is a stored procedure or transactional triggers (must be<br />

a table or sub-query), or (4) the block contains a checkbox item, list item, or radio group with an<br />

empty Other Values property..<br />

• Read consistency cannot be guaranteed unless (1) the form is running against an <strong>Oracle</strong>7.3<br />

database, and (2) the form-level Isolation Mode property is set to Serializable.<br />

170

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

Saved successfully!

Ooh no, something went wrong!