deepak carter wrote:for every document number where are some properties associated with it.I want to use that document number and search for those properties.
Having trouble understanding your problem, but where are these "properties"? If they're in a table, why can't you just select them from the table using the document number as a search criterion?