CabMasterPro User Guide
In This Topic
    Database Functions : Developer
    In This Topic

    Using CabMasterPro's middleware functions for database access, you can retrieve values and even update a Microsoft Access database. This lets you integrate your custom libraries directly with costing and stock databases that may already be in use in your operation.

    CabMasterPro shares database connections for performance, ensuring there is only ever one connection to each database. And the connection is held once open, until CabMasterPro closes, also for performance. You should always lookup values using database indexes and parameterised queries, again for performance reasons.

    Refer to topic on Database Functions available for database manipulation.

    Example of database functions in use

    Table1For an example of these functions in use extract the zip file database.zip (click to open) to your CabMasterPro directory (where CabMasterPro.exe is found) then load "DatabaseSample.qid" (found inside the zip) into CabMasterPro.

    This example drawing shows four different simple examples of how to use database calls in your function. It uses the data inside abc.mdb, which can be viewed using Microsoft Access. The commands used are:

    Database Output



    See Also

    Formula Reference | Functions