ttLeftSquareBrace throws exception?

Forum related to version 6.1.5 of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 24.10.2005, 05:38

ttLeftSquareBrace throws exception?

Postby Woodzzter » 12.10.2006, 05:47

Using Zeos 6.1.5 and another 3rd Party GUI DB Controls library, we are trying to calling TZAbstractRODataset.SetFilterText with the value

"([id]) IS NOT NULL)")

This throws an exception in the TZExpression.SyntaxAnalyse6 function when trying to evaluate the ttLeftSquareBrace character.

At this point the folowing function local variables are set:

Primitive := ttLeftSquareBrace
NextToken := ttVariable

The value for Primitive fails all comparisons and drops through to

raise TZParseError.Create(SSyntaxError);

A quick search through all the Zeos source reveals that although the ttLeftSquareBrace is enumerated, it is not actually referenced anywhere.

Am I missing something here or are square braces not catered for when parsing expressions in Zeos 6.1.5?

Return to “6.1.5”

Who is online

Users browsing this forum: No registered users and 1 guest