Hi Marc,<div><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I now receive the error message but too late as I'm no longer in my<br>
table altering dialog. Many kinds of errors could happen here, not just<br>
the one I pointed. As another example, changing the type from INT to<br>
VARCHAR and omitting the length.<br>
<br>
To compare, try another dialog: in the Create table, try to create some<br>
table with the same name as an existing table. In this case, the dialog<br>
receives the error message and I'm able to correct my mistake.<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br></div><div>I replaced the logic of error shown to show the (".error code") in a ajax message which allows user to find what is the error and resubmit the form. Is it okay or should I use another error message to show. Please check that. Thank you. </div>
<div><br></div><div>Regards,<br></div><div>Thilanka. </div></div><br clear="all"><br>-- <br><div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px"><div style="text-align:left">L G Thilanka Kaushalya <br>
Computer Science & Engineering, <br><div style="color:rgb(80, 0, 80)">University of Moratuwa,<br>Sri Lanka<span></span><br> <br></div></div>Connect with me at,<br> Gmail : <a href="mailto:lgtkaushalya@gmail.com" style="color:rgb(0, 0, 204)" target="_blank">lgtkaushalya@gmail.com</a><br>
Twitter : @thilanka_k<br> Facebook : Thilanka Kaushalya<br> Yahoo : <a href="mailto:lgtkaushalya@yahoo.com" style="color:rgb(0, 0, 204)" target="_blank">lgtkaushalya@yahoo.com</a></span></div>
<div> Blog : <a href="http://coders-view.blogspot.com/" target="_blank">http://coders-view.blogspot.com/</a></div><br><br>
</div>