Results 1 to 4 of 4

Thread: How to write a ThinBasic program that works with Microsoft Access

  1. #1

    How to write a ThinBasic program that works with Microsoft Access

    Hello ThinBasic Forum.

    I have a project that would require a ThinBasic program to work with a Microsoft Access database.
    Writing a program in any language that interfaces with Access would be new to me.

    Perhaps someone here could provide a few hints as to how to start to learn to write such a program?

    Thanks,

    Eric

  2. #2
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348
    Hi Eric,

    I never tried it myself, but in the Samplescripts folder, there is a sub folder called ODBC.

    Most of the scripts there open a connection via an Microsoft Access Driver.
    Maybe these can be of help to you.

    Good luck
    Michael

  3. #3
    Use CreateObject("ADODB.Connection") to set up the connection. You'll need a proper connection string and then you can run SQL queries. Check out some ADODB and OLE DB examples for details.

  4. #4
    When I started with ThinBasic and Access, I found ADO commands super helpful. Try opening a connection and running a simple query to begin. The ThinBasic docs have great examples to guide you.

Similar Threads

  1. Microsoft.IS+thinBasic
    By Benjamin in forum thinBasic Applications Forum
    Replies: 1
    Last Post: 24-12-2023, 13:22
  2. Replies: 10
    Last Post: 04-01-2014, 23:44
  3. ThinBASIC works also under Linux
    By martin in forum General
    Replies: 7
    Last Post: 12-03-2013, 08:26
  4. Write A C programme
    By Aladdin in forum C / C++
    Replies: 6
    Last Post: 15-12-2010, 18:47
  5. Long term suggestion: Executing bundled EXEs on medium with no write access
    By Petr Schreiber in forum thinBundle suggest new features
    Replies: 4
    Last Post: 07-11-2008, 09:26

Members who have read this thread: 11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •