Thanks David, this is confirmed and fixed. The proper fix is to change this
line:

                        while (loopcount LT IncrementValue(RowCount)){

to

                        while (loopcount LT IncrementValue(qResults.RecordCount)){

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Allaire

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

"My ally is the Force, and a powerful ally it is." - Yoda

> -----Original Message-----
> From: David Aden [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 26, 2001 8:39 PM
> To: Spectra-Talk
> Subject: metadatakeywordObjectFind bug
>
>
> I didn't see this with a quick look through the archive and it
> isn't in the
> hotfixes:
>
> If you set bActiveOnly="1" in cfa_metadatakeywordObjectFind and
> your active
> objects are less than the objects returned by the CFSEARCH, you get an
> error.
>
> This is because this line of code:
>
> CFSET RowCount = qResults.RecordCount (about line 104)
>
> comes prior to the code that re-sized qResults when there are less active
> objects than the CFSEARCH returned.
>
> By moving the above code down to about line 156, it should hold the right
> value. I have NOT tested this thoroughly, so use at your own risk, but it
> sure fixed the problem I was having!
>
> David
> Webworld Studios, Inc.
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to