Hi,

on the thirth line I get an error
llcallform is not an object ?!
Does somebody know why and how to avoid.
or Howelse can I check if something is an object then Type() ?

in a forms.destroy
llcallform = thisform.callform
IF TYPE("llcallform") = "O" .and. .not. ISNULL("llcallform")
llcallform.datform = ""
ENDIF


regards
thanks in advance
christophe

Re: is not an object by Eric

Eric
Fri Jan 07 08:21:34 CST 2005

Try ISNULL(llcallform) (w/o quotes)
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8

"christophe" <irs.znospamforme@skynet.be> wrote in message
news:%232jFZ9L9EHA.3828@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> on the thirth line I get an error
> llcallform is not an object ?!
> Does somebody know why and how to avoid.
> or Howelse can I check if something is an object then Type() ?
>
> in a forms.destroy
> llcallform = thisform.callform
> IF TYPE("llcallform") = "O" .and. .not. ISNULL("llcallform")
> llcallform.datform = ""
> ENDIF
>
>
> regards
> thanks in advance
> christophe
>
>



Re: is not an object by christophe

christophe
Fri Jan 07 09:27:45 CST 2005

Thanks for the reply Eric,

but unfortunately it doesn't change much


christophe

"Eric den Doop" <ericdendoop@xspamblockxfoxite.com> schreef in bericht
news:%23FV0QQM9EHA.3708@TK2MSFTNGP14.phx.gbl...
> Try ISNULL(llcallform) (w/o quotes)
> --
> Eric den Doop
> www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
>
> "christophe" <irs.znospamforme@skynet.be> wrote in message
> news:%232jFZ9L9EHA.3828@TK2MSFTNGP09.phx.gbl...
> > Hi,
> >
> > on the thirth line I get an error
> > llcallform is not an object ?!
> > Does somebody know why and how to avoid.
> > or Howelse can I check if something is an object then Type() ?
> >
> > in a forms.destroy
> > llcallform = thisform.callform
> > IF TYPE("llcallform") = "O" .and. .not. ISNULL("llcallform")
> > llcallform.datform = ""
> > ENDIF
> >
> >
> > regards
> > thanks in advance
> > christophe
> >
> >
>
>



Re: is not an object by christophe

christophe
Fri Jan 07 09:44:09 CST 2005

Eric,

Problem solved.

I had two different forms where the names are very similar
and it was the other form that I didn't changed like you mentioned.
that still gave the error.

thanks a lot
regards
christophe

"Eric den Doop" <ericdendoop@xspamblockxfoxite.com> schreef in bericht
news:%23FV0QQM9EHA.3708@TK2MSFTNGP14.phx.gbl...
> Try ISNULL(llcallform) (w/o quotes)
> --
> Eric den Doop
> www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
>
> "christophe" <irs.znospamforme@skynet.be> wrote in message
> news:%232jFZ9L9EHA.3828@TK2MSFTNGP09.phx.gbl...
> > Hi,
> >
> > on the thirth line I get an error
> > llcallform is not an object ?!
> > Does somebody know why and how to avoid.
> > or Howelse can I check if something is an object then Type() ?
> >
> > in a forms.destroy
> > llcallform = thisform.callform
> > IF TYPE("llcallform") = "O" .and. .not. ISNULL("llcallform")
> > llcallform.datform = ""
> > ENDIF
> >
> >
> > regards
> > thanks in advance
> > christophe
> >
> >
>
>