Consultor Eletrônico



Kbase 4720: Strong vs. weak record scope: TRANSACTION,RECORD,FRAME
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Strong vs. weak record scope: TRANSACTION,RECORD,FRAME

920303-elp02Scope applies to three objects in Progress:
records, frames, and transactions.

A STRONG scope is one in which no other reference
of ANY kind may be made to the record or
frame outside of the scope. Progress will not
compile a procedure which has a reference to
a frame or record outside a strongly-scoped block.

A MEDIUM scope is one in which a reference to a record
or any of its fields outside the record scope will
produce a run-time error message.
(**No customer record is available (91)).
Medium scope does not apply to frames.

A WEAK scope is one which limits the transaction scope
for the record, but does not limit the record scope
or frame scope. That is, any changes to the record
are committed at the end of the weak scope, but
the record and frame are still available after the
end of the weakly scoped block.

Progress Software Technical Support Note # 4720