>I have tried this code in beforeopentables method of DE. The DE is private.
>************
> IF TYPE('goapp') = 'O'
> IF !EMPTY(goapp.currentdatabase)
> THISFORM.SETALL("Database",goapp.currentdatabase,"cursor")
> ENDIF
> ENDIF
> this.opentables()
>*************
>But this gives error.
>Please correct me.
>
>Rajesh
THISFORM.DataEnvironment.SETALL("Database",goapp.currentdatabase,"cursor")
Erik Moore
Clientelligence