Tad писал(а):
null и "" это разные "вещи"ставил и так ' '
Add(StringTableMT,10369316,420,259)
{
Top=92
Width=672
Height=350
Align=5
Columns=#4:id=1|9:Группа=80|12:Название=370|7:Цена=60|
StrDelimiter="/9"
IconsCheck=[]
MiscIcons=[]
Icons=[]
Point(doMT_Add)
Point(Strings)
Point(Index)
link(onClick,11619177:doRead,[(464,265)(464,303)(422,303)(422,342)])
}
Add(DSC_Exec,10458679,700,511)
{
DSManager="parent.parent.global"
link(onError,15928379:doMessage,[])
}
Add(DSC_QueryScalar,12607376,644,406)
{
DSManager="parent.parent.global"
link(onQuery,12716887:doString,[])
}
Add(FormatStr,3111673,504,511)
{
DataCount=16
Mask="InSERT INTO glav_table_tehnika (nomer, date_rabot, time_rabot, vid_rabot, group_tehniki, firmi_tehniki, model_tehniki, client, sotrudnik, price, shtrih, nagrada, nagrada_oplachena, angl_nazvanie, cod_clienta, nom_telefon, sn) VALUES ( "%1", strftime('%Y/%m/%d','now','localtime'), strftime('%H:%M:%S','now','localtime'), "%2", "%3", "%4", "%5", "%6", "%7", "%8", "%9", '%8'*'%15', "%11", "%12", "%13", "%14", "%16")"
link(onFString,10458679:doExec,[])
link(Str2,7874619:Part3,[(517,439)(531,439)])
link(Str3,7874619:Part2,[])
link(Str4,12930624:Part1,[(531,475)(804,475)])
link(Str5,12930624:Part2,[(538,475)(811,475)])
link(Str6,12930624:Part4,[(545,475)(825,475)])
link(Str7,7314086:Var2,[])
link(Str8,7874619:Part4,[(559,439)(538,439)])
link(Str13,12930624:Part6,[(594,475)(839,475)])
link(Str14,12930624:Part5,[(601,475)(832,475)])
link(Str15,12607376:Result,[(608,478)(650,478)])
link(Str16,12930624:Part3,[(615,475)(818,475)])
}
Add(ArrayRW,11619177,434,336)
{
link(onRead,7874619:doSplit,[])
link(Array,10369316:Strings,[])
link(Index,10369316:Index,[])
}
Add(MultiStrPart,7874619,511,336)
{
Char="/9"
Count=4
link(onSplit,1413641:doString,[(573,342)(573,412)])
}
Add(FormatStr,1413641,602,406)
{
DataCount=1
Mask="select zarplata from sotrudniki where fio="%1""
link(onFString,12607376:doQuery,[])
link(Str1,7314086:Var3,[(608,355)])
}
Add(GetDataEx,7314086,546,350)
{
}
Add(Message,15928379,791,518)
{
Message="Не выбрана услуга!"
Caption="Будь внимательней!"
}
Add(FormatStr,12716887,693,406)
{
Mask="select firma_tehniki, model_tehniki, sn, client, nom_telefon, cod_clienta from vsya_tehnika where shtrih="%1""
link(onFString,16202468:doQuery,[])
}
Add(MultiStrPart,12930624,798,406)
{
Char="/9"
Count=6
}
Add(DSC_Query,16202468,749,406)
{
DSManager="parent.parent.global"
link(onQuery,12930624:doSplit,[])
}