No code compiles runs OK no errors.But ofcourse all functions work becouse previously some same functions are used to INSERT records
1.Set all parameters;
Delphi-Quellcode:
ABSQuery1.ParamByName('HWM_ID').AsString:=inttostr(hwm_index);
ABSQuery1.ParamByName('Sensor_Class').AsString:=inttostr(SENSOR_CLASS_VOLTAGE);
ABSQuery1.ParamByName('Sensor_ID').AsString:=inttostr(sensor_index);
2.Then populate the variables;
Delphi-Quellcode:
sField:=pansichar(ptrname);
sValue:=Format('%.3f V', [Value]);
sMin:=Format('%.3f V', [Min]);
sMax:=Format('%.3f V', [Max]);
3.Execute SQL script;
ABSQuery1.ExecSQL;
I am speculating the
SQL text...