<sql>
<GetProp>
[out svSelectionName, svRepresentName]
begin
  :svSelectionName      := BTK_ClientGate.GetClassProperty(:idvClass, :svPropSelName);
  :svRepresentName   := BTK_ClientGate.GetClassProperty(:idvClass, :svPropRepresent);
end;
</GetProp>
</sql>
<pascal>
    // для карточки определяем выборку и отображение
    v := execsqlEx('GetProp', 'svSelectionName; svRepresentName; idvClass; svPropSelName; svPropRepresent', [ftString, ftString, ftFloat, ftString, ftString], ['','', GetVar('idClass'), 'CardEditor.Selection', 'CardEditor.Representation']);
    CreateFormEx('',  v[0] ,  fcfMDI, ['Representation', 'EditingType', 'idItem#'], [v[1], 'Edit', GetVar('id')]);
</pascal>