QTP Error - Bracketed options are not enclosed in one of {}, [], or <>.
Gregory Provost
g_provost_ca@yahoo.ca
Sat, 15 Jan 2005 13:45:23 -0500 (EST)
Stefan:
If I remember this thread correctly, you haven't
included the actual ACCESS statement used to build
your record complex. I have a few suggestions for you
to try. I noticed you don't explicitly specify the
record with which each item is associated in your
SELECT statement. Perhaps you only have one record in
your ACCESS statement. I would suggest explicitly
defining the record (item OF record) in your SELECT if
you do in fact have more than one. I always explicitly
state the record (and strongly recommend others do the
same) even when there is only one record. It makes it
easier when subsequent maintenance or enhancements add
additional records to the mix.
The other thing I would suggest is separating the
SELECT into two SELECT record statements if at all
possible. Depending on your ACCESS, this would also be
more efficient. As it's building the record complex
QTP can discard complexes after reading from the first
record without reading related records. The SELECT
statement alone is applied only after QTP has built
the entire record complex from the component records.
You also might try running a similar stripped down
version of code in QUIZ with the original SELECT and
an AND SELECT statement to append the additional
conditions. I've used this in the past to try to
isolate my own bugs from Powerhouse bugs.
I hope this is helpful.
- Greg.
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca