@Compose and PostOpen database script problem!

Hi,

I want to compose a new document when the database is create.

I try using:

@Command([Compose];“Group”)

@PostedCommand([Compose];“Group”)

@Command([Compose];“”;“Group”)

@Command([Compose];@DBName;“Group”)

but Nothing is working!

I always get the error message “Invalid or nonexistent document”.

I try different form, same error. I use the same code bellow in a button an it’s workinf fine.

Any idea?

Thank you!

Alexandre

Subject: @Compose and PostOpen database script problem!

Sorry, i means when the database is open!