I try to access a MS-ACCESS-DB with Zeos.
My table "Tabelle1" has 3 fields ID, TEXT, BOOL. (I know, TEXT is a reserved word, but with other fieldnames it's the same prob)
ID is an AutoInc-field, TEXT a string- and BOOL an integerfield.
To get the datasets and show them in a grid is no prob. This works fine, but when i try to insert some data i allways get an error:
"Für mindestens einen erforderlichen Parameter wurde kein Wert angegeben."
"For at least one necessary parameter no value was given." (?!?)
With Firebird 1.5 everything works fine, when I call the AutoInc-trigger with TZSequence.
I use Microsoft.Jet.OLEDB.4.0 as provider for the MS-ACCESS-connection.
Is there any known problem with MS-ACCESS?
Do I have to consider something special when using MS-ACCESS?
Or do you know a tutorial for Zeos and MS-ACCESS?
For testing purpose you can download a testprogram:
testprogram
Edit:
With
Code: Select all
TZQuery.SQL.Text := 'INSERT INTO TABELLE1 ([TEXT], BOOL) VALUES (''FooBar'', 1)