home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.gtech.com!noc.near.net!hri.com!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsc!cbfsb!cbnewsb.cb.att.com!sbrenner
- From: sbrenner@cbnewsb.cb.att.com (scott.d.brenner)
- Newsgroups: comp.databases.oracle
- Subject: Can I Filter ORACLE Errors During Execution of SQL*Form (3.0)?
- Message-ID: <1992Nov9.153944.9014@cbfsb.cb.att.com>
- Date: 9 Nov 92 15:39:44 GMT
- Sender: news@cbfsb.cb.att.com
- Organization: AT&T
- Lines: 26
-
- I'm running SQL*Forms 3.0.16.4.1. I'm creating applications for
- end-users who don't know anything about databases, let alone Oracle
- specifically, or such things as "duplicate key in index" errors.
- Does anyone know if there's a way I can "filter" Oracle system errors
- during the running of a form? What I'd like to do is capture an error
- such as a duplicate key in index problem and present the user with a
- more friendly and meaningful message than
-
- "FRM-40508: ORACLE error -- unable to INSERT record."
-
- Even if the user could handle [Display Error], I don't think that
-
- "ORA-00001: duplicate key in index"
-
- would mean much to them.
-
- If anyone has any clue as to how I could do this, I'd really like to
- hear it. Thanks in advance for your help. Please respond via e-mail
- to sbrenner@attmail.com; I'll post a summary of responses in a few days.
-
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Scott D. Brenner
- AT&T Consumer Communications Services
- Basking Ridge, NJ
- sbrenner@attmail.com
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-