Hi
I’m having issues with connecting to a simple database. SQL i’m fine with, and usually ODBC as I use it in day job. However, even reading the manual and comparing “teletypeguy” contribution I get this error message
In theory this seems obvious… Below is the dbl file. I have tried the connection string way as below, the "teletypeguy"s way and using dsn, all to not avail. Also tried forward and back slashes.
There is only one column and one table at present so nothing conflicting there. I am using SQLite3
Any pointers would be welcome.
Thanks
Paul
{
"meta ": {
"version": 0
},
"name" :"Parts Database",
"description" :"Parts Database Desc",
"Source": {
"type": "odbc" ,
"dsn":"",
"username":"",
"password":"",
"timeout_seconds": 2,
"connection_string": "C:/WORK/Library/Kicad/Database/ComponentDatabase.db"
},
"libraries":[
{
"name": "Caps",
"table":"Capacitors",
"key": "PartNumID",
"symbols":"Symbol",
"footprints": "Footprint",
"fields":[
{
"column":"Value",
"name": "Value",
"visible_on_add":true,
"visible_in_chooser": true,
"show_name": false
}
],
"properties":{
"description": "Description",
"footprint_filters": "Footprint Filters",
"keywords": "keywords",
"exclude_from_bom": "No Bom",
"exclude_from_board": "Schematic Only"
}
}
]
}