Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. French
  4. OUVERTURE BASE DE DONNEE OPEN OFFICE
Forum Updated to NodeBB v4.3 + New Features

OUVERTURE BASE DE DONNEE OPEN OFFICE

Scheduled Pinned Locked Moved Unsolved French
1 Posts 1 Posters 559 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lacombe
    wrote on last edited by
    #1

    Bonjour,

    Voici le code d'ouverture d'une base de donnée ACCESS, mais comment fait-on pour une base de donnée OPEN OFFICE.

    Merci de votre aide.

    Code:

    void Fenetre::ouvrirBase()
    {
        QString file = "C:\\DIVERS\\bd1.accdb";
                 mDatabase = QSqlDatabase::addDatabase("QODBC");
                  QString dataBaseString = "DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};FIL={M Access};DBQ=" + file;
                  mDatabase.setDatabaseName(dataBaseString);
    
                  mDatabase.open();
    }
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved