конечно интересный подход - но это же бред (на мой взгляд) у меня массив содержит 20 колонок - т.е. для реализации такого подхода нужно делать еще 20 переменных для фонового массива - УЖАС



подскажите какое нибудь БОЛЕЕ красивое решение


Код: Выделить всё
f_EmbeddedSQLSelect ( this , 'Select 0 as sType, rw.description as sName, ~'т~' as sBtName, 0 as sCount, cast(0 as double precision) as sPriceBase, 0 as sPriceBaseNDS, ~'Рубль~' as sListCurrency, ~'т~' as sBtPriceBase, 0 as sPriceDiscount00, 0 as sPriceDiscount01, cast(0 as double precision) as sPriceAll, ~'~' as sStatus, ~'т~' as sBtStatus, rw.id as sObjID, 0 as sProductID From lsdbo.object_reference_view rw, lsdbo.object_type_view tw, lsdbo.tree_link_view tl Where (tl.parent_id=100004672200000) and (rw.type_id = tw.id) and (tw.mnemo = ~'Psft~') AND (tl.link_type_id = 1) and (rw.id = tl.link_id)
' , '' , 'sFormPartList' )
Код: Выделить всё
f_RetrieveForm ( this , '' , 'sFormPartList' )
Код: Выделить всё
f_ModifyForm ( this , 'sFormPartList' , 'sListCurrency.values = ~'' + 'USD~tДоллар/EUR~tЕвро/RUB~t/Рубль'
+ '~'')
Код: Выделить всё
f_FormDataToArray ( this , 'sFormPartList' )