Issue with Dreamweaver CS3 Check username behavior
Let me start by saying that I'm not a developer, and I may be in over my head on the project I'm working on.
I'm creating a page to register new user's information into aa Access user table. I've created a registration form, and added the Insert Record behavior. That works fine, no problems. However, when I add the Check New User behavior, I get some strange results.
If the new username is valid (not a duplicate), the form processes and goes to my "thank you for registering" page. Great.
If the new username is not valid, the behavior redirects to the "sorry, pick a different username" page. Great.
When the user goes back to the registration page to change the User Name and tries to submit the form, and error message appears thet the connection (MM_rsKey) is still open. When I look at the code (with my very limited knowledge of actual code), it looks like the behavior doesn't close the connection unless the selected User Name is valid. If the redirect happens, and the user goes back to the registration form page, the connection hasn't been closed, and the form simply won't process.
I've even tried splitting the registration into 2 parts... I created a form with only the User Name field and a submit button, thinking I'll just make the second part of the process an update, where the additional information is added to the existing record that matches the user name, but still no joy.
I even checked to see if the code that closes the connection resides on the redirect page, but I don't think that's the case.
I'm probably missing some perfectly simple step, but I just can't seem to figure it out.
I appreciate any help with this. Thanks in advance.
Ken
