DB-Lib: DBBUFFER

DB-Lib: DBBUFFER

Post by Zbigniew Tatarsk » Sat, 10 Aug 1996 04:00:00



Hi everyone,

I have programm:

        dbfcmd(dbproc,"procedure_name");
        dbsetopt(dbproc,DBBUFFER,1000);
(1)     dbsqlexec(dbproc);
        if (dbresults(dbproc) == SUCCEED)
          while ((row_code = dbnextrow(dbproc)) != NO_MORE_ROWS)
            ;

        /*
(2)        using data
        */

(3)     ?????????

(4)     dbfcmd(dbproc,"another_procedure");
        dbsetopt(dbproc,DBBUFFER,200);
        dbsqlexec(dbproc);
        if (dbresults(dbproc) == SUCCEED)
          ......

What to do in point (3) to completly free allocated memory _before_
I came to point (4) ?
Is
        dbclropt(dbproc,DBBUFFER,"-1");
enough ?

Przemek

 
 
 

1. Help! CT-Lib vs DB-Lib


We have a user interface package on top of Sybase, viz. UnifAce.
The UnifAce helpdesk really encouraged us to switch from dblib to ctlib.
They almost made it look like that we wouldn't get any support anymore from
them if we didn't.
I guess so because of what the UnifAce helpdesk required from us.

Paul Rambags
MediaWare BV
The Netherlands

2. Can you please help convert this into a SP?

3. open client client lib vs db lib

4. Any C code available for compressing & storing into informix ?

5. OpenClient / TDS / DB-Lib / CT-Lib

6. Can I Call A Windows DLL for Tooltips?

7. Locking db-lib vs: ct-lib

8. VB6, ADO 2.1 and MSDE (Access 2000)

9. can DB-Lib and CT-Lib coexist?

10. CT Lib vs DB Lib What's the Diff

11. DB-Lib vs CT-Lib

12. Advantages of CT-Lib over DB-Lib ???