Thanks, I am two steps further:
If I set login-prompt to TRUE in the dataset.database, it works at design-time to check "active"
("false" in all other components)
So design-time is solved.
At runtime it works to login without prompt, if the setting is to FALSE in the dataset as well (yes, ok, this time it is logic).
and hint of the Compiler:
Have you included ibexpress in your program uses list?
==> done & restarted
next error-messages:
....
Transaction is not active
Is there a way to make start the transaction automatically if it is needed?
If not, when and where shall I start the transaction?
What is the syntax?
Do I have to close then transaction again?
And: Does it make sense to have an own transaction for every dataset?