IOOPTIONS property

Window.

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

previooptions = Set_Property (windowname, "IOOPTIONS", newiooptions)

curriooptions = Get_Property (windowname, "IOOPTIONS")

IOOPTIONS contains the following fields:

FieldParameter
Field 1Value - Description
0 - Pessimistic locking (currently the only supported option).
Field 2For Pessimistic locking, specifies a lock type.

Value - Description
0 - Exclusive.
1 - Shared.
2 - No lock.
Field 3Specifies whether file coordinated locking is used.

Value - Description
0 - Non-file coord locks.
1 - File coord locks.
Field 4Value - Description
1 - Self locks OK.
Field 5Not applicable
Field 6Clear form options.

Value - Description
0 - Clear on write.
1 - Do not clear on write.
Field 7Specifies whether transactions are committed after committing DataSets.

Value - Description
0 - Commit transaction after committing DataSets.
1 - Do not commit transaction after committing DataSets.
Field 8Specifies whether transactions are rolled back after DataSet commit fails.

Value - Description
0 - Rollback transaction if DataSet commit fails.
1 - Do not rollback transaction if DataSet commit fails.
Field 9Specifies whether the form will automatically rollback transactions during CLEAR processing.

Value - Description
0 - Do not roll back transactions during CLEAR processing for DataSet bound forms.
1 - Automatically roll back transactions during CLEAR processing for DataSet bound forms.
Field 10Specifies when required field processing is enforced.

Value - Description
0 - allow users to tab off of or otherwise leave empty required fields and check all required fields before saving.
1 - Check 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.

Value - Description
0 - Do not force READ event on QBF events.
1 - READ event is triggered by QBF events.

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.

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.

  • guides/programming/programmers_reference_manual/iooptions.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1