CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Pleco

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    649

    Re: Accessing data from a database

    Thanks for the input. But how might I go about this using ODBC SQL calls? Without using other class libraries?

    I think I've got it working, kinda. Instead of calling a specific field, like in the...
  2. Replies
    2
    Views
    649

    Accessing data from a database

    Hi,

    I'm trying to grab data from specific cells in a database and put them into a variable within an application. I'm creating an application that allows a user to input an id have the name...
  3. Replies
    7
    Views
    2,782

    Re: Connecting to MS Access database

    Cheers mate, that seems to have sorted things out. It was set to unicode character set. Thanks again. :thumb:
  4. Replies
    7
    Views
    2,782

    Re: Connecting to MS Access database

    Have done, it won't compile. I have also tried SQLTCHAR, which I have seen a couple of examples.

    This is what I get:

    'SQLConnectW' : cannot convert parameter 2 from 'SQLCHAR *' to 'SQLWCHAR *'...
  5. Replies
    7
    Views
    2,782

    Re: Connecting to MS Access database

    I may just have to, I would prefer this method though.

    In every other example I've seen the DSN name, username and password parameters of the SQLConnect function have been cast as SQLCHAR. I'm...
  6. Replies
    7
    Views
    2,782

    Connecting to MS Access database

    Hi,

    I'm trying to get my C++ program to connect to a MS Access database (Access 2000) that is located on the local host. But for some reason I can't get this to work and I'm not sure why.

    The...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured