Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread [Error] Products.wbs (0,0): The referenced variable, parameter, or function Parent does not exist
Thu, Jan 16 2014 12:05 AMPermanent Link

Steve Gill

Avatar

Anyone know what this rather obscure error message means?  I was coding a unit when suddenly I started getting this error message when I tried to compile.  It selects the Unit name at the top of the page and displays this error message:

"[Error] Products.wbs (0,0): The referenced variable, parameter, or function Parent does not exist"

I have no idea what it is referring to as there is nothing that refers to a variable, parameter or function called Parent anywhere in my app.

Thanks,

- Steve
Thu, Jan 16 2014 12:13 AMPermanent Link

Steve Gill

Avatar

Hmm, solved it.  I don't know why but it had to do with a component I dropped on the form.  I removed the component, saved the form, added the component again, and now it's all good.  Strange.
Thu, Jan 16 2014 5:48 AMPermanent Link

Matthew Jones

Did you copy and paste the component from another form? I find that the properties
that get copied but aren't present cause odd errors at line 0. Essentially,
anything like this is some component oddity, so once you've seen it, you can then
find it quite quickly now.

/Matthew Jones/
Thu, Jan 16 2014 4:20 PMPermanent Link

Steve Gill

Avatar

Hi Matthew,

<<  Did you copy and paste the component from another form? I find that the properties
that get copied but aren't present cause odd errors at line 0. Essentially,
anything like this is some component oddity, so once you've seen it, you can then
find it quite quickly now.  >>

Yes, that's exactly what I did.  When I deleted it I then added it to the form using from the component palette and that fixed it.  Hopefully I'll remember this next time it happens, but probably not. Smile
Fri, Jan 17 2014 2:34 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Steve,

<< Anyone know what this rather obscure error message means?  I was coding a
unit when suddenly I started getting this error message when I tried to
compile.  It selects the Unit name at the top of the page and displays this
error message: >>

This is caused when there's an issue in the form (or contained
control/component) properties that prevents a proper parse from occurring.
This type of thing will become a thing of the past in EWB 2.x, and only
exists now because of certain limitations to the approach that I'm taking
with the component streaming.

Tim Young
Elevate Software
www.elevatesoft.com
Image