Problem with doCalcDefaults option in Firebird

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
User avatar
tkszeos
Junior Boarder
Junior Boarder
Posts: 35
Joined: 26.08.2005, 21:45

Problem with doCalcDefaults option in Firebird

Post 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
Post Reply