Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Making a 10-Minute table variable Public


cellectronic Apr 19, 2020 04:26 PM

Hi Folks

I have a 10 minute Table in my CR1000 which displays Wind gust within that ten minute period, How do I make that appear in my Public table ?

I have in my 10 minute data table   "FieldNames("WS_10Min_Gust,WS_mph_TMx")"

and in my Public table "Public WS_10Min_Gust 'Wind Gust 10Min Period"

The data appears in the 10 minute table but not in Public ?

Any help, Much appreciated.

Thanks.


Makada Apr 19, 2020 04:57 PM

Hi,

You can do that with Tablename Fieldname.

Then make a public value with that data name.


cellectronic Apr 19, 2020 05:49 PM

My table name is Table10Minute and my field name is FieldNames("WS_10Min_Gust,WS_mph_TMx"). 

I then added a Public WS_10Min_Gust but nothing appears there, or am I missing something ? The 10 minute table does have the correct ten minute gust shown. I just need that value in the Public . Thanks.


Makada Apr 19, 2020 07:28 PM

From memory:

You need to make another public name, like Public WS10MinGust.

Then in youre crbasic code add: WS10MinGust = Tablename.Fieldname.


cellectronic Apr 20, 2020 11:05 AM

Hi Makada,

Many thanks , That works fine.


Makada Apr 20, 2020 04:19 PM

👍

Log in or register to post/reply in the forum.