what exactly is the error message .
print the SQL string or display in A message box before executing the same. SO that yo can check if the SQL is being framed properly or not.
Reputation Points: 665
Solved Threads: 427
Posting Genius
Offline 6,406 posts
since Feb 2007