I can't think of a way of handling it with Tango 3.6 although I'll be the first to admit that my memory is starting to get fuzzy on that version.
You can execute Tango tags in a customized Error page but you can't execute any kind of action, therefore you can't do an insert. An ugly hack might be to write the data to a file using the file action then have a routine that checks for the existance of a 'dump' file and if one exists, read it and use the data in it and run an insert. However I don't think that CRON jobs were possible (behind the scenes automatic execution of a TAF) in 3.6 so you'd have to add this routine to the top of a TAF that is called on a regular basis. Like I said it is an ugly hack. With Tango2000/Witango 5 it is much easier. Create a new table to store the data, and set up a TCF that would have a method with an insert action in it. In your error HTML attribute you can use a variation of the following: <@CALLMETHOD OBJECT=scope$objectname METHOD="methodname(parameters)" ENCODING=NONE> Hope this helps, Steve Smith Oakbridge Information Solutions Office: (519) 624-4388 GTA: (416) 606-3885 Fax: (519) 624-3353 Cell: (416) 606-3885 Email: [EMAIL PROTECTED] Web: http://www.oakbridge.ca > -----Original Message----- > From: ServerSmiths Tango Development > [mailto:[EMAIL PROTECTED] > Sent: March 20, 2003 12:56 PM > To: [EMAIL PROTECTED] > Subject: Witango-Talk: Trapping for <@errors - Mac T3.6 prior to Witango > 5 > > > > > > I'm working through finalizing some apps as being 100% functional in 3.6 > prior to upgrading them into the latest version. > > My question has to do with logic based on Tango returning an error. > > If Tango can't find an SMTP server it throws out that error > (don't remember > the one right now). > > What I'd like to do is branch and save the data I was going to > email and get > at it later. > > Is there a way to say > > If this error pops up, do this > else go ahead and do that > > I have looked for the info and can't find anything to point me in > the right > direction. > > Thanks for any tips/info > > > Michael Heth > Web Information Architect > > > __________________S E R V E R S M I T H S__________________ > > http://www.serversmiths.com/ > > Technology Infrastructure Provider > > I N T E R N E T P R E S E N C E S O L U T I O N S > > | EWordSmith | LightningSite | Enigma.Engine | > > ________M A R I N C O U N T Y C A L I F O R N I A________ > > ________________________________________________________________________ > TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
