last_insert_id(), | es_id
:ES_Index, | idx SaveQuery.ParamByName('ES_Index').asString := ES_Index.Text;
:fdate, | date SaveQuery.ParamByName('fdate').asDateTime := StrToDateTime(Date_Time.Text);
:customer_es_name, | cust_station_name SaveQuery.ParamByName('customer_es_name').asString := customer_es_name.Text;
:ASMI_Operator, | operator SaveQuery.ParamByName('ASMI_Operator').asString:=ASMI_Operator.Text;
:operator_phone, | operator_phone SaveQuery.ParamByName('operator_phone').asString:=operator_phone.Text;
:srb_doc, | srb_doc SaveQuery.ParamByName('srb_doc').asString:=srb_doc.Text;
:Satellite, | satellite SaveQuery.ParamByName('Satellite').asString:=Satellite.Text;
:SatLongitude, | satellite_longitude SaveQuery.ParamByName('SatLongitude').asFloat:=StrToFloatDef(SatLongitude.Text,12);
:ChooseTP, | co_tp_name SaveQuery.ParamByName('ChooseTP').asString:=ChooseTP.Text;
:Co_Up_pol, | co_tp_pol SaveQuery.ParamByName('Co_Up_Pol').asString:=Co_Up_pol.Text;
:CX_tp, | cx_tp_name SaveQuery.ParamByName('CX_tp').asString:=CX_tp.Text;
:Cx_Up_pol, | cx_tp_pol SaveQuery.ParamByName('Cx_Up_pol').asString:=Cx_Up_pol.Text;
:Station_Own, | es_owner SaveQuery.ParamByName('Station_Own').asString:=Station_Own.Text;
:User_Operator, | contact_person SaveQuery.ParamByName('User_Operator').asString:=User_Operator.Text;
:User_Cont_Phone, | contact_phone SaveQuery.ParamByName('User_Cont_Phone').asString:=User_Cont_Phone.Text;
:ES_location, | es_location SaveQuery.ParamByName('ES_location').asString:=ES_location.Text;
:ES_latitude, | es_latitude SaveQuery.ParamByName('ES_Latitude').asFloat:=StrToFloatDef(ES_latitude.Text,12);
:ES_longitude, | es_longitude SaveQuery.ParamByName('ES_Longitude').asFloat:=StrToFloatDef(ES_longitude.Text,12);
:Ant_Diameter, | es_ant_diam SaveQuery.ParamByName('Ant_Diameter').asFloat:=StrToFloatDef(Ant_Diameter.Text,12);
:Ref_Station, | ref_station SaveQuery.ParamByName('Ref_Station').asString:=Ref_Station.Text;
:F_up, | frq_isol_up SaveQuery.ParamByName('F_up').asFloat:=StrToFloatDef(F_up.Text,12);
:F_dn, | frq_isol_dn SaveQuery.ParamByName('F_dn').asFloat:=StrToFloatDef(F_dn.Text,12);
:CO_EIRP_f, | co_eirp_calculated SaveQuery.ParamByName('CO_EIRP_f').asFloat:=StrToFloatDef(CO_EIRP_f.Text,12);
:CPI_es_f, | cpi_es_calculated SaveQuery.ParamByName('CPI_es_f').asFloat:=StrToFloatDef(CPI_es_f.Text,12);
:sp, | dir_spectrum SaveQuery.ParamByName('sp').asString:=sp;
:frq, | dir_frq SaveQuery.ParamByName('frq').asString:=frq;
:eirp, | dir_eirp SaveQuery.ParamByName('eirp').asString:=eirp;
:comment, | comment SaveQuery.ParamByName('comment').asString:=Comment.Text;
:Pot_f, | Pot SaveQuery.ParamByName('Pot_f').asFloat := StrToFloatDef(Pot_f.Text,12); // or StrToFloatDef if Text can be empty or invalid)
:Pxt_f, | Pxt SaveQuery.ParamByName('Pxt_f').asFloat := StrToFloatDef(Pxt_f.Text,12);
:Por_f, | Por SaveQuery.ParamByName('Por_f').asFloat := StrToFloatDef(Por_f.Text,12);
:Pxr_f, | Pxr SaveQuery.ParamByName('Pxr_f').asFloat := StrToFloatDef(Pxr_f.Text,12);
:G_CO_Max, | G_CO_Max SaveQuery.ParamByName('G_CO_Max').asFloat := StrToFloatDef(G_CO_Max.Text,12);
:Got_f, | Got SaveQuery.ParamByName('Got_f').asFloat := StrToFloatDef(Got_f.Text,12);
:Gor_f, | Gor SaveQuery.ParamByName('Gor_f').asFloat := StrToFloatDef(Gor_f.Text,12);
:Gxt_f, | Gxt SaveQuery.ParamByName('Gxt_f').asFloat := StrToFloatDef(Gxt_f.Text,12);
:Gxr_f, | Gxr SaveQuery.ParamByName('Gxr_f').asFloat := StrToFloatDef(Gxr_f.Text,12);
:Gxtx_f, | Gxtx SaveQuery.ParamByName('Gxtx_f').asFloat := StrToFloatDef(Gxtx_f.Text,12);
:CPIsum_f, | CPIsum SaveQuery.ParamByName('CPIsum_f').asFloat := StrToFloatDef(CPIsum_f.Text,12);
:CPIsat_f, | CPIsat SaveQuery.ParamByName('CPIsat_f').asFloat := StrToFloatDef(CPIsat_f.Text,12);
:descr_cust | cust_fullname SaveQuery.ParamByName('descr_cust').asString:=descr_cust.Text;
:City_Full_f, | city_full SaveQuery.ParamByName('City_Full_f').asString:=City_Full_f.Text;
:begtime, | t_strt SaveQuery.ParamByName('begtime').asTime:=BegTime.Time;
:endTime, | t_end SaveQuery.ParamByName('endTime').asTime:=EndTime.Time;
:SpentTime, | SpentTime SaveQuery.ParamByName('SpentTime').asFloat:=StrToFloatDef(SpentTime.Text,12);
:F_Centre, | fcenter SaveQuery.ParamByName('F_Centre').asFloat:=StrToFloatDef(F_Centre.Text,12);
:BW, | band SaveQuery.ParamByName('BW').asFloat:=StrToFloatDef(BW.Text,12);
:st_co, | spect_co SaveQuery.ParamByName('st_co').asString := st_co;
:st_cx | spect_cx SaveQuery.ParamByName('st_cx').asString := st_cx;