Class: DataSet

Module location: Data_set.pkg line 132 (view source)

Data_Set class definition, public class layer. (Extra class layer needed to augment C-based (Constrain) procedure(s).)

Class Hierarchy:

cObjectBaseData_SetDataSet

Direct Known Subclasses:

Code_Loader_Data_Set, DataDictionary,

Class Definition

Properties

IntegerAuto_Fill_State
IntegerChange_Disabled_State
IntegerComponent_State
RT sets this inside of Mark_components a part of old entry_client DSO behavior. Now it is never used
IntegerConstrain_File

Functions and Procedures

Constrain()
Construct_Object()
Integer Img#
integerData_Set_Should_Save()
this returns true if the data-set is changed AND there are attached DEO objects. Without this you can get "changes exist" condition reported that the user will have no way of saving.
IntegerExit_Application_Check()
We only care about should_saves of DEOs and not DSOs when exiting the app. Create a handler for data set class. We still broadcast in case we've got nested deos in the dso (hopefully not).
IntegerExtended_DSO_State()
returns 0 indicating that this is not DD enabled. DataDictionary objects will return 1. Add DSOs and DDOs must understand this message
integerField_Main_Index(integer file integer field)
This may be called by legacy DSO and DDO code IMPORTANT NOTE of change for 8.2: DO NOT call or augment this anymore. for sending: Find all cases of Field_main_index and change it to File_Field_Index for augmenting: In DSOs - replace Field_main_index with File_field_index In DDOs - replace Field_main_Index with Field_Index and do not pass the file parameter. See DDOs Field_index and File_field_Index for more
integerFile_Field_Index(integer iFile integer iField)
This allows packages that still use data-sets instead of DDOs to use this message syntax. Note that this will never get here if the DD class is used as it has its own handler for this. It only is called if DSOs are used in which case it calls the old message field_main_index above. DDO based objects will NEVER call this code
Item_Find(integer eFindMode integer iFile integer iField integer bDoEntryUpdate integer bShowFindErr integer bDeferred)
OnConstrain()
Refind_DD_Records()
This is called when a view takes or retakes the focus. If DD not in use, do nothing.
Set(Handle ObjId)
Less confusing Message for adding Updating servers

References (2):

ModuleContaining SymbolLine
codeload.pkgCode_Loader_Data_Set61
Datadict.pkgDataDictionary1027