Hi,
I am now able to achieve what I wanted to,but I did it a different way. I tried using the SQL statement, but I think I was doing something wrong..Here is the Direct SQL statement I used,
update Default_Admin_View set Schedule_time = $temp_Schedule$ where request_id='$Request ID$'
But I get the error saying, "error near the end of SQL statement". I didnt quite get it.
Anyway, I used another hidden field as a qualification for my workflow, instead of using the original date/time field. So, instead of checking for modifications in the original date/time field, I check this new hidden field for qualification.
But here is the thing, when I close the dialog box and everything runs OK, I still have to click "Save" on the main form to store the changes that have happened.
For eg. the new qualification field is set to 1 if there was a change in the original date/time field else 0. Now, if I make a change in the dialog window, and close the window, the original date/time field is updated and the qualification field is set to 1. But if I do not "Save" the updated record in the main form and log back in again without saving, the original date/time field is set back to the old value, not to the new value that was updated in the dialog window last time..
Is there any way by which I could automatically save when I close the dialog window..?? (Commit doesnt seem to work here)
Thanks,
Anuj.