Share this page

# Example: lrd_open_context

In the following example, lrd_open_context opens a context for an ODBC database session.

    lrd_open_context(&Cntx1, LRD_DBTYPE_ODBC, 0, 0, 0);
    lrd_open_connection(&Con1, LRD_DBTYPE_ODBC, "", "", "Flight32_QuadBase",Cntx1, 0, 0);
    lrd_db_option(Con1, OT_ODBC_TXN_READ_COMMITTED, 0, 0);
    lr_think_time(7);
    lrd_open_cursor(&Csr1, Con1, 0);

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: