Page 1 of 1

Problem with doCalcDefaults option in Firebird

Posted: 30.09.2005, 20:40
by tkszeos
Hi,

i have a problem with function:

[syntax="delphi"]function TZInterbase6CachedResolver.FormCalculateStatement(
Columns: TObjectList): string;
begin
Result := inherited FormCalculateStatement(Columns);
if Result <> '' then
Result := Result + ' FROM RDB$DATABASE';
end;[/syntax]

example:
when doCalcDefaults = True for Query
[syntax="sql"]"SELECT * FROM CUSTOMER"[/syntax]
it gives back the following value:
[syntax="sql"]"SELECT... FROM CUSTOMER FROM RDB$DATABASE"[/syntax]

Why "FROM RDB$DATABASE"?

I make excuses for my bad English. :(

Thanks

Nicola