Search for a calculated number attribute

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
paddo2002
Posts: 83
Joined: Mon Dec 03, 2007 8:49 pm

Search for a calculated number attribute

Post by paddo2002 »

I have a number attribute that is calculated by a rule. It just counts up each time a record is created.

I have a query that searches for either the title or this number attribute that asks at run time. The title search works, but if I use the number, I get an http Error 500 and a lot of java garbage, which means nothing to me. Is it possible to do this sort of search?

Regards

PM
christopherb
Posts: 304
Joined: Fri Jun 22, 2007 8:26 pm

Post by christopherb »

PM,
Re-produce the error and post the text.

Christopher
paddo2002
Posts: 83
Joined: Mon Dec 03, 2007 8:49 pm

Post by paddo2002 »

This is the error I am having. All help appreciated.

<a href="http://s42.photobucket.com/albums/e339/ ... cture1.png" target="_blank"><img src="http://i42.photobucket.com/albums/e339/ ... cture1.png" border="0" alt="Photobucket"></a>

Cheers
Patrick
paddo2002
Posts: 83
Joined: Mon Dec 03, 2007 8:49 pm

Post by paddo2002 »

Woops Let me try that again

Image
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

Could you please send your bsv file to [email protected] with the description of the steps required to reproduce the problem?
Aware IM Support Team
paddo2002
Posts: 83
Joined: Mon Dec 03, 2007 8:49 pm

Post by paddo2002 »

Sure,
Where would I find the BSV file? I use a Macintosh if that is any help?

Also to reproduce the problem. I have a query that is activated from the admin menu and there are 2 OR criteria. One is number the other is title. If you put a number in the number field, I get this error. If I use the title field it works...

Regards
Patrick
christopherb
Posts: 304
Joined: Fri Jun 22, 2007 8:26 pm

Post by christopherb »

PM,
Start configuration tool > Right click on the business space > Export >Save

That will create your bsv. Then you can email that as an attachment to support.


Good luck
Christopher
paddo2002
Posts: 83
Joined: Mon Dec 03, 2007 8:49 pm

Post by paddo2002 »

I have sent the BSV through to awaresupport. Hope it helps

Cheers
PM
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

Yes, this is a bug. When using Derby database you cannot search for numbers using CONTAINS statement. Please replace the CONTAINS statement in your query for a number attribute with equality operator to search for the entire number.
Aware IM Support Team
Post Reply