The application appears to work correctly (the information is saved in the database, and the search works) except for the fact that the records allready found in the database arent loaded it only works with the information introduced since the application started. Is this normal?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, this is normal behaviour, if you want to see the informations stored in database you have to
1) press "enter query" button
2) enter some query criteria
3) press "query" button
If you want you could add code to the dataentry class to do the query every time the class is executed, i take a look to the SwingDataEntryController and i found out that is not possible to force a query by invoking a method, but i think is not very difficult to change this class by adding a public method to execute the query database action. I think there could be a public method for each action (query, navigation, exit, ...).
I do not have much time to do this by my self but i could assist you to change the code. In any case please fill up a Feature Request.
Regards,
Paulo Carmo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The application appears to work correctly (the information is saved in the database, and the search works) except for the fact that the records allready found in the database arent loaded it only works with the information introduced since the application started. Is this normal?
Hello,
Yes, this is normal behaviour, if you want to see the informations stored in database you have to
1) press "enter query" button
2) enter some query criteria
3) press "query" button
If you want you could add code to the dataentry class to do the query every time the class is executed, i take a look to the SwingDataEntryController and i found out that is not possible to force a query by invoking a method, but i think is not very difficult to change this class by adding a public method to execute the query database action. I think there could be a public method for each action (query, navigation, exit, ...).
I do not have much time to do this by my self but i could assist you to change the code. In any case please fill up a Feature Request.
Regards,
Paulo Carmo
Where is the "enter query" button ??
I look in all the classes with main method and the buttons are the same.
The buttons are propertys of the class NavigationToolBar :
DataEntryDemo->_dataEntryController->_toolBar
The code that initializes the toolbar are in the method initToolBar() in SwingDataEntryController class.