eddyod
Posts: 3
|
| Posted: 03/17/2006, 9:29 AM |
|
Hello,
I am working with asp and trying to add an insert to an add record page. i inserted the code in the 'after insert' event and it never gets executed. i also tried in various other events and still nothing.
The BindEvents sub looks good and is calling the appropriate function but nothing, nada!
Any ideas would be most welcome!
Thanks,
EddyOD
_________________
You! What PLANET is this!
-- McCoy, "The City on the Edge of Forever",stardate 3134.0
|
 |
 |
peterr
Posts: 5971
|
| Posted: 03/17/2006, 10:53 AM |
|
Maybe the code gets executed. What kind of code is it?
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
eddyod
Posts: 3
|
| Posted: 03/17/2006, 10:57 AM |
|
i've tried very simple response.write commands though i actually want to do an database insert, i basically copied the code from the help after correctly editing it. it also looks very similar to one of your previous replies by the way.
Thanks.
_________________
You! What PLANET is this!
-- McCoy, "The City on the Edge of Forever",stardate 3134.0
|
 |
 |
peterr
Posts: 5971
|
| Posted: 03/17/2006, 11:12 AM |
|
This probably means that the event code works fine. Usually response.write is the one that doesn't work. See the "Debugging" section in the documentation/Help.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
eddyod
Posts: 3
|
| Posted: 03/17/2006, 12:58 PM |
|
Thanks!
I put the response.buffer = False into the top of Common.asp and it showed me the errors of my ways, turned out to be a stupid quote problem. I should know by now.
I would also recommend this little trick for anyone who need to debug a problem!!!!!
_________________
You! What PLANET is this!
-- McCoy, "The City on the Edge of Forever",stardate 3134.0
|
 |
 |
|