Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread "The referenced variable, parameter, or function ValueChecked does not exist"
Thu, Jun 20 2013 10:21 AMPermanent Link

Juergen Goretzki

Hello,

I want to connect a TGrid-component to a TDataSet-Component. The TDataSet is filled and works (I can get the data with Projects.Columns['Id'].AsString)

But everytime I try to run my application (or any application with a TGrid-Component linked with a TDataSet, the example-projects also produce this error) it stops with the following error-messages for every column of the grid:

[Error] Unit_Main.wbs (0,0): The referenced variable, parameter, or function ValueChecked does not exist
[Error] Unit_Main.wbs (0,0): The referenced variable, parameter, or function ValueUnchecked does not exist

I tried linking the DataSet at runtime, doesn't help. The examples delivered with the Web Builder (for example the "cdcollector"-project) also produce this errors when I try to compile or run them.

Has someone else encountered this problem? Or has an idea what could be wrong?

Hope you can help me
Thu, Jun 20 2013 10:38 AMPermanent Link

Matthew Jones

Hmm, I've had this when something has been copied and pasted, but if it happens in
the demos too, I'd wonder if you are using the latest version of the software?
ValueChecked was added in the 1.02 version.

I've seen the situation you refer to when I've copied a component from one form to
another, and it has events defined in the original. The IDE tries to link the
component to its procedures, but of course they aren't there, so it shows the error.
Selecting the component and deleting the event reference fixes it. How that might
apply to these values I don't know, but perhaps these clues might help you identify
it.

/Matthew Jones/
Thu, Jun 20 2013 10:56 AMPermanent Link

Juergen Goretzki

Thanks for the quick reply.

I do not copy a grid component from one form to an other. I have defined a dataset and then place a new grid component on the form. As long as I do not connect the grid to the dataset, I can compile and run the application (with very little data in the grid Smile). But if I connect the grid to the dataset the problem appears.
Thu, Jun 20 2013 11:57 AMPermanent Link

Matthew Jones

That might imply that the underlying server is the old one then perhaps?

/Matthew Jones/
Thu, Jun 20 2013 2:55 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Juergen,

<< I want to connect a TGrid-component to a TDataSet-Component. The TDataSet
is filled and works (I can get the data with
Projects.Columns['Id'].AsString)

But everytime I try to run my application (or any application with a
TGrid-Component linked with a TDataSet, the example-projects also produce
this error) it stops with the following error-messages for every column of
the grid: >>

More than likely your framework search path is pointing to an older version
of EWB.

You can make sure that your search paths are referring to the current
installation of the EWB framework by going here:

Environment/Framework/Framework Paths

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Jun 21 2013 3:14 AMPermanent Link

Juergen Goretzki

>> More than likely your framework search path is pointing to an older version
>> of EWB.
>>
>> You can make sure that your search paths are referring to the current
>> installation of the EWB framework by going here:
>>
>> Environment/Framework/Framework Paths

Thanks a lot, that's the problem. The Framework Path was pointing to the trial version of the Web Builder.

Grid is working and the right data is shown.

Thanks for the quick help.
Image