I'm getting this error in form builder (9i):

ORA-29907: found duplicate labels in primary invocations

I'm trying to do a simple CONTAINS and NOT CONTAINS query where the data is grabbed from a couple of text boxes.......I've used text boxes to create a simple CONTAINS query and there are no errors. The trigger to formulate the queary is below:

--Use the global variable to formulate a where clause
Set_Block_Property('PICTURES',DEFAULT_WHERE, 'CONTAINS(TEXT_DESCRIPTION,:Global.str_adv_desc_se arch,99)>0 AND NOT CONTAINS(TEXT_DESCRIPTION,:Global.str_adv_not_desc ,99)>0');
Set_Block_Property('PICTURES',ORDER_BY, 'SCORE(99) DESC');