Try making the query simpler along the lines of what I suggested...then you can REQUERY() based upon user input.
>No what i want is the user should enter the fields they know or
>some starting characters. using this i want to execute the query
>The SQL statement worked fine when the fields were less but now
>for this table it has problems
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05