This topic is locked

Inline add

11/2/2007 11:55:33 PM
ASPRunnerPro General questions
L
luic author

I have an error checking routine created in the BeforeRecordAdd. If the input amount is greater than a certain amount, I use Response.Write to display a message and not save the new record. The message is displayed properly if I add the record with the add page. But if I use inline add, there is no message displayed when I click on the check mark to save. Instead, there is "error occurred' displayed if I click on the checkmark again.
Does the inline function allow display of message using response.write for showing validation error message?

W
webmaster 11/16/2007

I have an error checking routine created in the BeforeRecordAdd. If the input amount is greater than a certain amount, I use Response.Write to display a message and not save the new record. The message is displayed properly if I add the record with the add page. But if I use inline add, there is no message displayed when I click on the check mark to save. Instead, there is "error occurred' displayed if I click on the checkmark again.

Does the inline function allow display of message using response.write for showing validation error message?


I do not know - but..... if I asked nicely - would it be possible for you to share "BeforeRecordAdd" code? - I learn by example.

Exposure to other peoples code is a good thing. Sure do wish there was an area people could actually share working (successful) codes - I believe this would foster additional ASPRunner growth.