Re: [dba-dev] Strange behavior when loading a form using a macro.

2005-07-26 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Andrew, 'oFormDoc = oFormDef.execute(sOpenMode, nCmd, eEmpty) ' Variable NOT defined 'oFormDoc = oFormDef.execute(sOpenMode, nCmd, oNull) ' Object Variable NOT set 'oFormDoc = oFormDef.execute(sOpenMode, nCmd, NULL) ' Object Variable NOT set

Re: [dba-dev] Strange behavior when loading a form using a macro.

2005-07-26 Thread Andrew Douglas Pitonyak
Thanks! Frank Schönheit - Sun Microsystems Germany wrote: Hi Andrew, 'oFormDoc = oFormDef.execute(sOpenMode, nCmd, eEmpty) ' Variable NOT defined 'oFormDoc = oFormDef.execute(sOpenMode, nCmd, oNull) ' Object Variable NOT set 'oFormDoc = oFormDef.execute(sOpenMode, nCmd, NULL) '

Re: [dba-dev] Strange behavior when loading a form using a macro.

2005-07-25 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Andrew, While loading a form using a macro, the form disappears as soon as the macro finishes unless I store a reference to the form definition outside of the subroutine that loads the form. ... Is this a bug that I should report? Yes, please do. Forcing API developers to hold the

Re: [dba-dev] Strange behavior when loading a form using a macro.

2005-07-25 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Andrew, It looks like I require a command envirnment as the final argument and it can not be NULL How can I get one? No, you shouldn't. Actually, the internal implementation of loadComponentFromURL also just delegates to execute, without any command environment. What happens if you try