Salut, is there something, a variable set or so, where I can find out, if the application runs in the IDE or as compiled application ? I need this to choose the Database, in the IDE , in that case the copy of the real Database, or in the application the real Database ? Amicalment Charlie