Posted on 2009-04-02
I have a very extensive form that has a checkbox and a Save button at the button. If the user clicks the Save button, my program just saves info from the form into the database and the record can be opened later for further edits. If the user clicks the checkbox labeled "Save and Close" then pushes Save button, the program writes the record to the database and it cannot be written to anymore. Obviously its a good idea to have a Confirmation box pop up that says "You checked the box, this is your last change to confirm you want to do this". I have read multiple sites suggesting how to put things together in a stringbuilder and passing it to the "onclick" for the button but i can't get this working.