can u post the dbase design u made and tell us what are the result that u want from that design? coz it seem hard to figure it out what u want to achieve from words..

but from the error u get..it seems that ur query need 'Value' for it which u omitted it