12. Mai 2017 12:06
gtxSQLStatementWeight := STRSUBSTNO(gTxSELECT,'*'+','+'convert (decimal(5,2),[max_ Loading Weight])',
gTxT_ExportOrderHead,
gTxT_ExportOrderHead_Print,1,
gTxT_ExportOrderHeader_IsPrint,
0);
gatADORecordSet3.Open(gtxSQLStatementWeight,gatADOConnection,ginOpenMethod,ginLockMethod);
EVALUATE(lvaVariant, gatADORecordSet3.Fields.Item(FORMAT(gTxT_ExportOrderHead_maxWeight)).Value);
gvdReadADOFieldDec(adField : Automation "'Microsoft ActiveX Data Objects 2.8 Library'.Field") DecimalValue : Decimal
CREATE(adStream,FALSE,TRUE);
adStream.Open;
adStream.WriteText(FORMAT(adField.Value));
adStream.Position := 0;
IF EVALUATE(DecimalValue,adStream.ReadText) THEN;
12. Mai 2017 15:38
12. Mai 2017 15:52
15. Mai 2017 07:53
18. Mai 2017 12:55
[…]
ADOField := ADOFields.Item(1);
NAVdecField1 := ADOField.Value;
ADOField := ADOFields.Item(2);
NAVdecField2 := ADOField.Value;
[…]
[…],CONVERT(float,SQLServerTable.SQLdecField,[…]
18. Mai 2017 13:37
gtxSQLStatement := STRSUBSTNO(gTxSELECT,'*'+','+'convert (varchar(38),[max_ Loading Weight]) as gewicht',
gTxT_ExportOrderHead,
gTxT_ExportOrderHead_Print,1,
gTxT_ExportOrderHeader_IsPrint,
0);
2. Juni 2017 15:34
EVALUATE(Table123.Amount,STRSUBSTNO('%1',(ADO_RecSet.Fields.Item(6).Value)));