Applies to

Window.

Description

Sets/Gets the file I/O options for the window. File I/O operations, as well as concurrency window locking are tracked here.

Usage

previooptions = Set_Property (windowname"IOOPTIONS"newiooptions)

curriooptions = Get_Property (windowname"IOOPTIONS")

IOOPTIONS contains the following fields:

FieldParameter
Field 1 
 
ValueDescription
0Pessimistic locking (currently the only supported option).
Field 2For Pessimistic locking, specifies a lock type.
 
ValueDescription
0Exclusive.
1Shared.
2No lock.
Field 3Specifies whether file coordinated locking is used.
 
ValueDescription
0Non-file coord locks.
1File coord locks.
Field 4 
 
ValueDescription
1Self locks OK.
Field 5Not applicable
Field 6Clear form options.
 
ValueDescription
0Clear on write.
1Do not clear on write.
Field 7Specifies whether transactions are commited after committing DataSets.
 
ValueDescription
0Commit transaction after committing DataSets.
1Do not commit transaction after committing DataSets.
Field 8Specifies whether transactions are rolled back after DataSet commit fails.
 
ValueDescription
0Rollback transaction if DataSet commit fails.
1Do not rollback transaction if DataSet commit fails.
Field 9Specifies whether the form will automatically rollback transactions during CLEAR processing.
 
ValueDescription
0Do not roll back transactions during CLEAR processing for DataSet bound forms.
1Automatically roll back transactions during CLEAR processing for DataSet bound forms.
Field 10Specifies when required field processing is enforced.
 
ValueDescription
0Do not allow users to tab off of or otherwise leave empty required fields and check all required fields before saving.
1Check all required fields only before saving, allowing the user to tab off of or otherwise leave empty required fields.
Field 11Specifies whether QBF events force a Read event.
 
ValueDescription
0Do not force READ event on QBF events.
1READ event is triggered by QBF events.

Inputs

To set a certain field, issue a Get_Property to get the IOOPTIONS first, replace with the intended modified field and call the Set_Property with the complete @FM-delimited structure.

Outputs

For Set_Property: It returns the IOOPTIONS for the window when Set_Property was called.

For Get_Property: It returns the current IOOPTIONS for the window.

  • No labels