Two similar search buttons (the two search buttons are just different in the way in which the user expresses the condition, not its function) act in different ways, not in user filter action, but in the action applied by the ‘Select button’. ‘Quick search button’ seems to maintain the initial condition established in onScriptInit event when ‘Select button’ is pressed. ‘Search button’ seems to replace inital where clause with full new condition defined by user using the ‘Search button’. ‘Select button’ in a record don’t returns the expected record selected id 'Select button' in a record returns the expected record selected id Environment works as expected.ī) If next code in event (used to start grid empty and force user to filter) b.1) if 'Search button' is used, As you are starting by search, once you are on the grid you can click on the return button - instead of clicking on search button - to open search screen. I was informed that this is actually the default behavior. INSERT INTO events ( id, date, contact) VALUESĪDD CONSTRAINT events_ibfk_1 FOREIGN KEY ( contact) REFERENCES people ( id) Ī) If no code is inserted in grid events, ‘select button’ returns the expected id from the record using previously ‘Search button’ or ‘Quick search button’. SC hides Serach Button on grid’s toolbar when Start by Search is checked in grid applications. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 Here we are using the macros sclookup with this macro can retrieve database records running a SELECT on any table in the database. In new or updated applications to avoid the bug.Įxample in attached files: sequence of bug images is bug1 -> bug2 -> bug3īug1 image: New record -> Capture link -> Quick search…īug2 image: Result of Quick search -> Select buttton pressed to select a record…īug3 image: BUG here: And CLICK ON BUTTON SELECT returns no record. scdate (Date, 'Format', 'Operator', D, M, Y) This macro has the aim to calculate the increment or decrement of dates. ‘Quick Search’ button produces a failure on capture link. Button ‘Select’ registration fails if previously it has been used ‘Quick Search’ to display any records in the grid: CLICK ON BUTTON SELECT returns no records.īutton ‘Select’ registration don’t fails if button ‘Search’ has been used to display any records in the grid.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |