Menu

ExemploPaulo

Help
2004-01-02
2004-01-06
  • Ricardo Lopes

    Ricardo Lopes - 2004-01-02

    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?

     
    • Paulo Carmo

      Paulo Carmo - 2004-01-05

      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

       
    • Ricardo Lopes

      Ricardo Lopes - 2004-01-06

      Where is the "enter query" button ??

      I look in all the classes with main method and the buttons are the same.

       
      • Paulo Carmo

        Paulo Carmo - 2004-01-06

        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.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.