cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

how to get data from infotable ?

向郭
1-Newbie

how to get data from infotable ?

I want to get data from infotable ,for example , an infotable have two column and with lots of data, the columns are "date" and "temperature", I want to get the temperature in the time "2017-01-14 PM02:30:00"  ,then bind the data to one thing's property , what should i do ?

1 REPLY 1
supandey
19-Tanzanite
(To:向郭)

Hello Xiang,

I suppose you looking to filter the InfoTable, check the Find function for InfoTable it should allow you to get the row(s) as per your defined criteria

e.g.

var myFuzzyObj = new Object();

//defining the value against which I will run the Find function on InfoTable

myFuzzyObj.col1 =123;

myFuzzyObj.col2='StringValue';

//using Find function to look for the first row that matches my required criteria;

myFuzzyInfoTable.Find(myFuzzyObj);

Of course there are bunch of other Filter options that you can apply to your InfoTable, try this Getting to Know InfoTables.pdf

Hope this helps.

Top Tags