Search:

Type: Posts; User: Petr Schreiber; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    22
    Views
    28,023

    Re: ODBC getting specific row

    Hi,

    I think SQLGetStmtAttr is ODBC 3.x+, but I am not able to create context for it on my PC (old ODBC driver?)
    This is translated example from José Roca forum, including handy function to...
  2. Replies
    22
    Views
    28,023

    Re: ODBC getting specific row

    Hi Martin,

    I like your spirit to keep fighting the problem! :occasion:

    Well, ODBC header comes from José Roca - what Yoda is to mastering of Force, José Roca is to Win32 programming.
    So to...
  3. Replies
    22
    Views
    28,023

    Re: ODBC getting specific row

    Hi Martin,

    I checked the declare of SQLGetStmtAttr:


    So the BYREF is needed for the last one too. BYREF means it wants variable passed by reference, not value. So you can pass dummy variable:...
  4. Replies
    22
    Views
    28,023

    Re: ODBC getting specific row

    Hi Martin,

    how big is the database?
    I am not expert on this topic, so I could only solve it in 2 ways:

    #1
    - Use silly statement like "SELECT * FROM Authors"
    - Then something like:
Results 1 to 4 of 4