Access2Base

What is Access2Base?

Access2Base αž‚αžΊαž‡αžΆβ€‹αž”αžŽαŸ’αžŽαžΆαž›αŸαž™β€‹αž˜αžΌαž›αžŠαŸ’αž‹αžΆαž“ LibreOffice αžšαž”αžŸαŸ‹β€‹αž˜αŸ‰αžΆαž€αŸ’αžšαžΌβ€‹αžŸαž˜αŸ’αžšαžΆαž”αŸ‹β€‹αž’αŸ’αž“αž€β€‹αž’αž—αž·αžœαžŒαŸ’αžαž“αŸβ€‹αž€αž˜αŸ’αž˜αžœαž·αž’αžΈ (αž‡αŸ†αž“αž½αž‰ αž¬β€‹αž•αŸ’αž‘αžΆαž›αŸ‹αžαŸ’αž›αž½αž“) αž“αž·αž„β€‹αž’αŸ’αž“αž€αž”αŸ’αžšαžΎβ€‹αž‡αžΆαž“αŸ‹β€‹αžαŸ’αž–αžŸαŸ‹αŸ” αžœαžΆβ€‹αž‚αžΊαž‡αžΆβ€‹αž”αžŽαŸ’αžŽαžΆαž›αŸαž™β€‹αž˜αž½αž™β€‹αžŠαŸ‚αž›β€‹αž”αžΆαž“β€‹αž‘αž»αž€β€‹αž€αŸ’αž“αž»αž„ "αž”αŸ’αžšαž’αž”αŸ‹ αž“αž·αž„β€‹αž˜αŸ‰αžΆαž€αŸ’αžšαžΌ LibreOffice"Β αŸ”

The functionalities provided by the implemented macros are all directly inspired by Microsoft Access. The macros are callable mainly from a LibreOffice Base application, but also from any LibreOffice document (Writer, Calc, ...) where access to data stored in a database makes sense.

API αžŠαŸ‚αž›β€‹αž”αžΆαž“β€‹αž•αŸ’αžŠαž›αŸ‹β€‹αžŠαŸ„αž™ Access2Base αžαŸ’αžšαžΌαžœβ€‹αž”αžΆαž“β€‹αž…αžΆαžαŸ‹αž‘αž»αž€αžαžΆβ€‹αžαŸ’αž›αžΈβ€‹αž‡αžΆαž„ αž…αŸ’αž”αžΆαžŸαŸ‹β€‹αž‡αžΆαž„ αž“αž·αž„β€‹αž„αžΆαž™αžŸαŸ’αžšαž½αž›β€‹αžŸαž·αž€αŸ’αžŸαžΆβ€‹αž‡αžΆαž„ UNO API αžŸαŸ’αžαž„αŸ‹αžŠαžΆαžš (API = Application Programming Interface)Β αŸ”

αžšαžΌαž”β€‹αžαŸ†αžŽαžΆαž„β€‹αž–αŸ’αžšαž˜αžΆαž“

The library is documented online on http://www.access2base.com.


αž˜αŸ‰αžΆαž€αŸ’αžšαžΌβ€‹αžŠαŸ‚αž›β€‹αž”αžΆαž“β€‹αž’αž“αž»αžœαžαŸ’αžβ€‹β€‹αžšαž½αž˜β€‹αž˜αžΆαž“αŸ–

  1. a simplified and extensible API for forms, dialogs and controls manipulations similar with the Microsoft Access object model,

  2. an API for database access with the table, query, recordset and field objects,

  3. a number of actions with a syntax identical to their corresponding Microsoft Access macros/actions,

  4. the DLookup, DSum, ... database functions,

  5. αž€αžΆαžšβ€‹αž‚αžΆαŸ†αž‘αŸ’αžšβ€‹αž…αŸ†αžŽαžΆαžšβ€‹αž•αŸ’αž›αžΌαžœαž€αžΆαžαŸ‹β€‹αžŠαžΌαž…αž‡αžΆ Forms!myForm!myControl

in addition

  1. a consistent errors and exceptions handler,

  2. facilities for programming form, dialog and control events and

  3. the support of both embedded forms and standalone (Writer) forms.

Compare Access2Base with Microsoft Access VBA


   REM Open a form ... 
             OpenForm("myForm") 
   REM Move a form to new left-top coordinates ... 
             Dim ofForm As Object  ' In VBA =>  Dim ofForm As Form 
             Set ofForm = Forms("myForm") 
             ofForm.Move(100, 200) 
   REM Get the value of a control ... 
             Dim ocControl As Object 
             ocControl = ofForm.Controls("myControl") 
             MsgBox ocControl.Value 
   REM Hide a control ... 
             ocControl.Visible = False 
   REM ... or alternatively ... 
             setValue("Forms!myForm!myControl.Visible", False)  '  Shortcut notation 
             ' In VBA =>  Forms!myForm!myControl.Visible = False 
  

Please support us!