Joiner писал(а):
Подскажите как скопировать данные из 1 и 2 таблицы в 3Add(MainForm,563954,77,224)
{
Width=562
Height=306
link(onCreate,13056626:doEvent1,[])
}
Add(MultiSetParam,101949,329,35)
{
Parameters=#5:1;0;0|5:0;1;0|5:0;0;1|0:|
link(onSet1,3535760:doVisible,[])
link(onSet2,9260988:doVisible,[(417,48)(417,97)])
link(onSet3,5999461:doVisible,[(410,55)(410,146)])
}
Add(MTStrTbl,9260988,455,84)
{
Top=25
Width=546
Height=242
Align=5
Visible=1
Name="2"
Columns=#5:1=250|5:2=250|
ColumnClick=1
Redaction=0
Grid=0
Point(doVisible)
Point(onMouseDown)
}
Add(MTStrTbl,5999461,455,133)
{
Top=25
Width=546
Height=242
Align=5
Visible=1
Name="3"
Columns=#5:1=250|5:2=250|
ColumnClick=1
Redaction=0
Grid=0
Point(doVisible)
Point(onMouseDown)
}
Add(MTStrTbl,3535760,455,28)
{
Top=25
Width=546
Height=242
Align=5
Name="1"
Columns=#5:1=250|5:2=250|0:|
ColumnClick=1
ColorItems=0
Redaction=0
Grid=0
Point(doVisible)
Point(onLineChange)
Point(onMouseDown)
}
Add(TabControl,12598024,280,35)
{
Width=546
Height=25
Align=2
Tabs=#1:1|1:2|1:3|0:|
Bitmaps=[]
Border=0
link(onChange,101949:doSet,[])
}
Add(MST_RowAction,13027215,455,238)
{
MSTControl="1"
}
Add(MT_String,8924415,406,238)
{
Delimeter="^"
link(onResult,13027215:doRowAction,[])
}
Add(FormatStr,5343985,350,252)
{
Mask="%1^%2"
link(onFString,8924415:doMT,[(389,258)(389,251)])
link(Str1,567749:Random,[])
link(Str2,10081850:Random,[])
}
Add(Random,10081850,357,182)
{
}
Add(Random,567749,350,203)
{
}
Add(For,10702462,196,238)
{
End=10
link(onEvent,8987952:doEvent1,[])
}
Add(Hub,8987952,252,238)
{
OutCount=3
link(onEvent1,10081850:doRandom,[(277,244)(277,188)])
link(onEvent2,567749:doRandom,[(284,251)(284,209)])
link(onEvent3,5343985:doString,[])
}
Add(MST_RowAction,1032716,455,378)
{
MSTControl="2"
}
Add(MT_String,6257487,406,378)
{
Delimeter="^"
link(onResult,1032716:doRowAction,[])
}
Add(FormatStr,1390179,350,392)
{
Mask="%1^%2"
link(onFString,6257487:doMT,[(389,398)(389,391)])
link(Str1,5853379:Random,[])
link(Str2,5930391:Random,[])
}
Add(Random,5930391,357,322)
{
}
Add(Random,5853379,350,343)
{
}
Add(For,16264271,196,378)
{
End=10
link(onEvent,11726994:doEvent1,[])
}
Add(Hub,11726994,252,378)
{
OutCount=3
link(onEvent1,5930391:doRandom,[(277,384)(277,328)])
link(onEvent2,5853379:doRandom,[(284,391)(284,349)])
link(onEvent3,1390179:doString,[])
}
Add(Hub,13056626,133,238)
{
OutCount=3
link(onEvent1,10702462:doFor,[])
link(onEvent2,16264271:doFor,[(186,251)(186,384)])
link(onEvent3,6385806:doEvent1,[(179,258)(179,433)])
}
Add(MST_ArrayRows,9982985,686,378)
{
MSTControl="1"
}
Add(ArrayEnum,15443807,686,427)
{
link(onItem,11251322:doWork2,[])
link(Array,9982985:Strings,[])
}
Add(MST_ArrayRows,1310903,686,469)
{
MSTControl="2"
}
Add(ArrayEnum,10106725,686,518)
{
link(onItem,11251322:doWork3,[(739,524)])
link(Array,1310903:Strings,[])
}
Add(Hub,6385806,651,427)
{
link(onEvent1,15443807:doEnum,[])
link(onEvent2,10106725:doEnum,[(676,440)(676,524)])
}
Add(MST_RowAction,11494703,756,427)
{
MSTControl="3"
}
Add(HubEx,11251322,735,427)
{
link(onEvent,11494703:doRowAction,[])
}
Или нужен какой-то другой способ вставки строк в таблицу №3 ?
--- Добавлено в 2021-03-22 14:36:32
Так даже побыстрее.
Add(MainForm,563954,77,224)
{
Width=562
Height=306
link(onCreate,13056626:doEvent1,[])
}
Add(MultiSetParam,101949,329,35)
{
Parameters=#5:1;0;0|5:0;1;0|5:0;0;1|0:|
link(onSet1,3535760:doVisible,[])
link(onSet2,9260988:doVisible,[(417,48)(417,97)])
link(onSet3,5999461:doVisible,[(410,55)(410,146)])
}
Add(MTStrTbl,9260988,455,84)
{
Top=25
Width=546
Height=242
Align=5
Visible=1
Name="2"
Columns=#5:1=250|5:2=250|
ColumnClick=1
Redaction=0
Grid=0
Point(doVisible)
Point(onMouseDown)
}
Add(MTStrTbl,5999461,455,133)
{
Top=25
Width=546
Height=242
Align=5
Visible=1
Name="3"
Columns=#5:1=250|5:2=250|
ColumnClick=1
Redaction=0
Grid=0
Point(doVisible)
Point(onMouseDown)
}
Add(MTStrTbl,3535760,455,28)
{
Top=25
Width=546
Height=242
Align=5
Name="1"
Columns=#5:1=250|5:2=250|0:|
ColumnClick=1
ColorItems=0
Redaction=0
Grid=0
Point(doVisible)
Point(onLineChange)
Point(onMouseDown)
}
Add(TabControl,12598024,280,35)
{
Width=546
Height=25
Align=2
Tabs=#1:1|1:2|1:3|0:|
Bitmaps=[]
Border=0
link(onChange,101949:doSet,[])
}
Add(MST_RowAction,13027215,455,238)
{
MSTControl="1"
}
Add(MT_String,8924415,406,238)
{
Delimeter="^"
link(onResult,13027215:doRowAction,[])
}
Add(FormatStr,5343985,350,252)
{
Mask="%1^%2"
link(onFString,8924415:doMT,[(389,258)(389,251)])
link(Str1,567749:Random,[])
link(Str2,10081850:Random,[])
}
Add(Random,10081850,357,182)
{
}
Add(Random,567749,350,203)
{
}
Add(For,10702462,196,238)
{
End=10
link(onEvent,8987952:doEvent1,[])
}
Add(Hub,8987952,252,238)
{
OutCount=3
link(onEvent1,10081850:doRandom,[(277,244)(277,188)])
link(onEvent2,567749:doRandom,[(284,251)(284,209)])
link(onEvent3,5343985:doString,[])
}
Add(MST_RowAction,1032716,455,378)
{
MSTControl="2"
}
Add(MT_String,6257487,406,378)
{
Delimeter="^"
link(onResult,1032716:doRowAction,[])
}
Add(FormatStr,1390179,350,392)
{
Mask="%1^%2"
link(onFString,6257487:doMT,[(389,398)(389,391)])
link(Str1,5853379:Random,[])
link(Str2,5930391:Random,[])
}
Add(Random,5930391,357,322)
{
}
Add(Random,5853379,350,343)
{
}
Add(For,16264271,196,378)
{
End=10
link(onEvent,11726994:doEvent1,[])
}
Add(Hub,11726994,252,378)
{
OutCount=3
link(onEvent1,5930391:doRandom,[(277,384)(277,328)])
link(onEvent2,5853379:doRandom,[(284,391)(284,349)])
link(onEvent3,1390179:doString,[])
}
Add(Hub,13056626,133,238)
{
OutCount=3
link(onEvent1,10702462:doFor,[])
link(onEvent2,16264271:doFor,[(186,251)(186,384)])
link(onEvent3,6618926:doEvent1,[(158,258)(158,489)])
}
Add(MST_Save,2373542,532,476)
{
SaveColumn=1
SaveColProp=1
MSTControl="1"
link(onSaveToStream,14436248:doWork2,[])
}
Add(MST_Load,10173186,602,476)
{
ColNameHeader=1
MSTControl="3"
}
Add(MST_Save,11798371,532,518)
{
SaveColumn=1
SaveColProp=1
MSTControl="2"
link(onSaveToStream,14436248:doWork3,[(585,531)])
}
Add(Hub,6618926,483,483)
{
link(onEvent1,2373542:doSaveToStream,[])
link(onEvent2,11798371:doSaveToStream,[(522,496)(522,531)])
}
Add(HubEx,14436248,581,483)
{
link(onEvent,10173186:doLoadFromStream,[])
}