public void addDBField() {
String sField = "";
int nIndex = 0;
int nFieldType = 0;
if (!cGlobals.showDbFields(sField, nFieldType, nIndex, this))
return;
beginDraging();
m_controlName = "";
m_controlType = csRptEditCtrlType.CSRPTEDITFIELD;
m_fieldName = sField;
m_formulaText = "";
m_fieldIndex = nIndex;
m_fieldType = nFieldType;
}