home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form frmObjOraError
- BorderStyle = 3 'Fixed Double
- Caption = "Oracle Error"
- ClientHeight = 1440
- ClientLeft = 1740
- ClientTop = 3780
- ClientWidth = 6675
- Height = 1845
- Left = 1680
- LinkTopic = "Form1"
- MaxButton = 0 'False
- ScaleHeight = 1440
- ScaleWidth = 6675
- Top = 3435
- Width = 6795
- Begin TextBox txtError
- Height = 1215
- Left = 720
- MultiLine = -1 'True
- ScrollBars = 2 'Vertical
- TabIndex = 1
- Top = 120
- Width = 4575
- End
- Begin CommandButton cmdOK
- Caption = "OK"
- Default = -1 'True
- Height = 495
- Left = 5400
- TabIndex = 0
- Top = 480
- Width = 1215
- End
- Begin Image Image1
- Height = 480
- Left = 120
- Picture = OBJOERR.FRX:0000
- Top = 360
- Width = 480
- End
- Option Explicit
- Sub cmdOK_Click ()
- Unload frmObjOraError
- End Sub
- Sub Form_Load ()
- Call CenterForm(frmObjOraError)
- txtError = ""
- If OraDatabase.LastServerErr <> 0 Then
- txtError = txtError & OraDatabase.LastServerErrText
- End If
- If OraSession.LastServerErr <> 0 Then
- txtError = txtError & OraSession.LastServerErrText
- End If
- If OraSession.LastServerErr = 0 And OraDatabase.LastServerErr = 0 Then
- txtError = "VB:" & Trim$(Str$(Err)) & " - " & Error$
- End If
- End Sub
-