Class: DataSet
Data_Set class definition, public class layer. (Extra class layer needed
to augment C-based (Constrain) procedure(s).)
Class Hierarchy:
cObject

BaseData_Set


DataSetDirect Known Subclasses:
Code_Loader_Data_Set, DataDictionary, Class Definition
Properties
Integer
Auto_Fill_State
Integer
Change_Disabled_State
Integer
Component_State
RT sets this inside of Mark_components a part of old entry_client DSO behavior. Now it is never used
Integer
Constrain_File
Functions and Procedures

Constrain()

Construct_Object()
Integer Img#
integer
Data_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.
Integer
Exit_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).
Integer
Extended_DSO_State()
returns 0 indicating that this is not DD enabled. DataDictionary objects will return 1.
Add DSOs and DDOs must understand this message
integer
Field_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
integer
File_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):