I'm trying to automate data entry into InfoQube. Using http://sqlitebrowser.org/ I created db with 3 rows: id, start, end. I added 10 entries to it, using sqlite3 python module. When I use following code in sync file, I get error: "3 fields found for mapping, RecordID field not found (cd is not a field in your IQBase).
<ConnectionString>
Database=D:\Inbox\db1.sqlite;
</ConnectionString>
<FieldMap>
[id] cd
[name] Started Timer
[number] Ended Timer
</FieldMap>
<RecordIDField>cd</RecordIDField>
Database=D:\Inbox\db1.sqlite;
</ConnectionString>
<FieldMap>
[id] cd
[name] Started Timer
[number] Ended Timer
</FieldMap>
<RecordIDField>cd</RecordIDField>
Anyone can help?
P.S. I have created field called "cd" in InfoQube
Comments
Driver={SQLite3 ODBC Driver};
Database=D:\Inbox\SQLiteDatabaseBrowserPortable\Data\dbase.sqlite;
</ConnectionString>
<FieldMap>
[id] cd
[startedtime] Started Timer
[endedtimer] Ended Timer
</FieldMap>
<RecordIDField>cd</RecordIDField>
Driver={SQLite3 ODBC Driver};
Database=D:\Inbox\tes.db;
</ConnectionString>
<FieldMap>
[id] cd
[startedtime] Started Timer
[endedtimer] Ended Timer
</FieldMap>
<Source>
SELECT tabs.id, tabs.startedtime, tabs.endedtimer
FROM tabs
</source>
<RecordIDField>cd</RecordIDField>
<RecordStatus>IDStatusSQL ADD UPDATE</RecordStatus>
<RecordDateField>DateUpdate</RecordDateField>
<LastUpdate>20017-12-27 07:00:00</LastUpdate>
Dim todaysdate
Set todaysdate = String.Format("{ddd}", DateTime.Now)
if (dDate) = (todaysdate) then isToday=true else isToday=false
end function