Subject To show an integer variable in UI - Java - JBuilder
Author cristinavelascog
Hi,

I need to show five integer variables in the User Interface.... I am
trying to do it with a queryDataSet, but I don´t sure if this is the
right way...
So the code I have is the following :

int tt40 = (int)queryDataSetTotalTabacos.getInt("TotalTabacos40");
int tt50 = (int)queryDataSetTotalTabacos.getInt("TotalTabacos50");
int tt60 = (int)queryDataSetTotalTabacos.getInt("TotalTabacos60");
int tt70 = (int)queryDataSetTotalTabacos.getInt("TotalTabacos70");
int tt80 = (int)queryDataSetTotalTabacos.getInt("TotalTabacos80");

queryDataSetTotalTabacos.addRow(DataRowTotalTabacos);
queryDataSetTotalTabacos.refresh();
queryDataSetTotalTabacos.last();
queryDataSetTotalTabacos.close();

The idea is to show the variables through a jdbtextfield, but the
querydataset doesn´t upgrade......
Any body has an idea to do this task?

Regards,
Cristina