Class: dbDataComboForm
Class Hierarchy:
DFBaseComboBoxEntryComboEntrydbBasicComboForm_dbBasicComboFormdbDataComboFormDirect Known Subclasses:
dbComboFormDS, Class Definition
Properties
IntegerCode_Display_Mode
IntegerData_Only_State
Private: Set by object if desc and data are one and the same
StringDefault_Value
IntegerEntry_Values
IntegerUndefined_Display_Mode
IntegerUndefined_Save_Mode
StringUndefined_Value
Functions and Procedures
Combo_Add_Item(String Descr_value String Data_Value)
Message to add Items to a list. Similar to Add_Item except
it handles an optional second parameter. If no 2nd param the first
is used in its place. This will normally be used inside of Fill_List.
Send Add_Combo_Item Descr_Value {Data_Value}
Combo_Delete_Data()
stringCombo_Description_Value(String DescVal String DataVal)
Public augmentation point. Pass current datavalue and all info
in record buffer. Should return what you want to see on the screen.
Augment to support various description/data Display formats.
Construct_Object()
StringData_To_Description(String sValue)
StringData_Value(integer item#)
Default_Code(string Dflt)
Default_Prompt(Integer Item#)
Can be used by iEntry or inside of Entry_Defaults
StringDescription_to_Data(String sValue)
Display_Description(String DataVal)
Set the Combo item to the value passed. If not found make it 0
with nothing selected
Entry_Display(integer file# integer flag)
created for EntItem simulation and Server support:
if file# = 0, display only if Target_File is in Done-array
else display only if file# = Target_File
Entry_Update(integer file# integer flag)
created for EntItem simulation and Server support
Normally entry_update gets called during saves and finds. When
Save: file# = 0 flag = 3
Find: file# <> 0 flag = 1
Allow Update Rules:
if Save update (file#=0, flag=3)
Allow Update if not noput and Target_File is in Done-array
and (new record or changed_state).
else if Find_Update (file#=Target_File, Flag=1) or misc (file#=0)
Allow Update
Modified so that an unchanged item is moved to the field if
the main file is a new record.
StringEntry_Value(Integer Itm)
Set(Integer Itm String Val)
References (1):