Subject | TIB_Export supporting boolean fields - SOLUTION |
---|---|
Author | radevojvodic |
Post date | 2005-07-28T14:07:53Z |
HI all,
I tried to use TIB_export with boolean fields and i found out that
TIB_Export.Export delimitedRow procedure needs a small change. In Line
576 following code should be added:
SQL_BOOLEAN,
SQL_BOOLEAN_:
begin
if boolean(SQLData^) then
Outbuf := 'TRUE'
else
OutBuf := 'FALSE';
Write(Pchar(Outbuf)^, Length( Outbuf ));
end;
After this change it work OK. Also after importing data with
TIB_Import worked OK.
JASON: This should be added in the next release.
BTW,
When will new version is going to be added to trusware location.
Rade Vojvodic
I tried to use TIB_export with boolean fields and i found out that
TIB_Export.Export delimitedRow procedure needs a small change. In Line
576 following code should be added:
SQL_BOOLEAN,
SQL_BOOLEAN_:
begin
if boolean(SQLData^) then
Outbuf := 'TRUE'
else
OutBuf := 'FALSE';
Write(Pchar(Outbuf)^, Length( Outbuf ));
end;
After this change it work OK. Also after importing data with
TIB_Import worked OK.
JASON: This should be added in the next release.
BTW,
When will new version is going to be added to trusware location.
Rade Vojvodic