|
@@ -1631,12 +1631,13 @@ var L : Longint;
|
|
P : PLongint;
|
|
P : PLongint;
|
|
|
|
|
|
begin
|
|
begin
|
|
|
|
+ L:=0;
|
|
P:=@L;
|
|
P:=@L;
|
|
Result:=GetData(P);
|
|
Result:=GetData(P);
|
|
If Result then
|
|
If Result then
|
|
- Case Datatype of
|
|
|
|
- ftInteger,ftAutoinc : AValue:=Plongint(P)^;
|
|
|
|
- ftWord : AValue:=Pword(P)^;
|
|
|
|
|
|
+ Case DataType of
|
|
|
|
+ ftInteger,ftAutoInc : AValue:=PLongint(P)^;
|
|
|
|
+ ftWord : AValue:=PWord(P)^;
|
|
ftSmallint : AValue:=PSmallint(P)^;
|
|
ftSmallint : AValue:=PSmallint(P)^;
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|