1)the update query
UPDATE [segment transaction] SET sorno=val1 AND status=val2 WHERE quotation = val3
Mr.Rod Kamp(Answer1) missed the where clause
2) Use common dialog control for image save operation. Then it will be fine if you mention the ERROR details about the image save operation, with out that i can only guess not solve.