Источник:
http://gatesasbait.spaces.live.com/B...B9F5!169.entry
==============
Good morning
Yesterday, my boss (-1 to Yvan) wanted to switch-case in a tables's modifiedField() method on a member of a field of an array type. Since 'fieldNum()' returns a single fieldId for an array of fields, you need to use the 'fieldId2Ext' to get the fieldId of an array member. He had forgotten that. So here is a quick reminder:
public server boolean validateField(fieldId _fieldId) //or modifiedField(fieldId _fieldId)
{
fieldId fldId;
fieldId fldIdExt;
int i;
boolean retVal = super(_fieldId);
;
<div> if (retVal)
{
fldId = fieldnum(*MyTable*, *MyArrayField*);
for (i = 1; i