Module Datalist.pkg

************************************************************************ File Name: Datalist.Pkg Creation Date: Thu 06-06-1991 Author(s): John J. Tuohy Class: Data_List replacement Data_List 03-21-1992 - adjustments to handle empty tables and list 01-14-1993 - shut dynamic update state in delete_row proc. 12/27/93 - updated for DAC DAF 05/19/94 - set dynamic_update_state in scroll procedure (pg up/dn was uncomfortably slow). 07/21/94 - Added goto_top_row/Bottom_row messages and set top/bottom panel keys to these messages (this is what the old 3.01 data_ list did. Also added Read_record (which does the same as read_by_recnum (backwards compatability issue). 09/13/94 - Added symbolic names for TOP, BOTTOM and CENTER of rows 10/18/94 - Added Read_by_recnum in reorder_list to make sure the current record is in the done array. ************************************************************************/ ************************************************************************/ 12/27/94 (JJT) Set Changed_state now back in server. 12/30/94 (JJT) Display_UI's request_assign now passes table's Main_file 01/04/95 (JJT) Modified Display_row always send entry_display. Note that we use entry_display 0 1 through-out. This bypasses any problems with done arrays not being set correctly. Modified Initialize_list to check that an active record is valid before using it. 02/01/95 (JJT) Disable_no_refresh_State disables display_other_ui 02/01/95 (JJT) Added new display_ui logic that optimizes request_assign. 03/08/95 (JJT) Fixed bug in intitialize_list (OR not and). 03/09/95 (JJT) Display_ui clears changed_state conditional upon main_file being the same is the server's main-file. 03/27/95 (JJT) Clear_Current_record only sends clear to DSO if not deferred and the main-files are OK. Else vClear 05/01/95 (JJT) Altered refresh. When called as part of a saves or delete where the table did not start the process the table did not display properly. Save & delete should just redisplay the current line. Also, a clear to an already cleared lin should just blank the line (and not open up a new line). 05/16/95 (JJT) Improved above logic. Moved the unsorted_State set in refresh into table. 05/16/95 (JJT) Display_UI now checks the record of the base item row and not the current_row. The row being displayed is not always the current_row (based on current_item). It is always the row of the base-item. 06/06/95 (JJT) Col_Index. Get Superfind_field modified to use ele. (bug) 06/09/95 (JJT) Fixed Refresh to handle empty rows properly. See refresh (bug) 09/04/95 JJT - Code Clean up (removed dead commented code) 09/14/95 JJT - In refresh changed add_row to Append_Blank_Row. Else we have the chance that it will leave that row with a -1 in it instead of 0. ************************************************************************/ 10/19/95 (JJT) **JJT**(3) change how tables are refreshed when they activate and deactivate. Also needs changes in server. 02/04/97 (JJT) changed col_index to check for no superfind parent. 09/17/97 JJT Changed procedure refresh to be a little less aggressive about setting refresh_dirty_state. If the main file is not part of the refresh do not set the dirty bit. 12/15/97 JJT Changed Col_index to handle parent fields better. Only return index, if parent field has an index. 12/19/97 JJT Added missing ; refresh_page if statement ************************************************************************/ 05/03/00 JJT Item_matching only checks for items in current item column ************************************************************************/ 01/02/02 JJT Item_matching does better check with incremental non-batch searches ************************************************************************/ 2/26/2002 JJT - 8.2 clean up (indirect_file, local, self, etc.)

References (3):

ModuleLine
Dfdata.pkg15
selst_ds.pkg144
Table_ds.pkg87

Field References (0):

ModuleContaining SymbolLine