company logo

DataSource :: sharedDatabase - SHARE option

This option is required when running the database in a file server mode for sharing the database between users (multi-user access).

false/NO - database is used exclusively

true/YES - database can be shared between different applications

SHARE=YES

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false .

Implementation overview

Implementation details

  1. Is database requested for shared use?
    bool DataSource  :: sharedDatabase (  )

    The function returns true , when a shared database access has been requested. The value does not necessarily reflect the current state of the database.

  2. to list
  3. Set shared use option for database
    bool DataSource  :: sharedDatabase ( bool bState )

    In order to use the database simultaneously with other users, the option must be set to true . For requesting exclusive access, false should be set. The option has to be set before opening the database.

    • bState - Success

      The value is true when the function was executed successfully. Otherwise the value is set to false .

  4. to list