home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 May
/
W2KPRK.iso
/
apps
/
crystal
/
disk18
/
Xvb228._
/
Xvb228.
Wrap
Text File
|
1999-08-23
|
8KB
|
322 lines
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
END
Attribute VB_Name = "clsServer"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_Ext_KEY = "RVB_UniqueId" ,"338FA2520118"
'
Option Base 0
Option Explicit
'set this to 0 to disable debug code in this class
#Const DebugMode = 1
#If DebugMode Then
'local variable to hold the serialized class ID that was created in Class_Initialize
'##ModelId=338FA8D80348
Private mlClassDebugID As Long
#End If
'local variable(s) to hold property value(s)
'##ModelId=338FA2530032
Private mmvarApplication As Object
'##ModelId=338FA253006E
Private mmvarDatabase As Object
'##ModelId=338FA25300A0
Private mmvarDatabaseTable As Object
'##ModelId=338FA25300DC
Private mmvarExportOptions As Object
'##ModelId=338FA253010E
Private mmvarReport As Object
'##ModelId=338FA9EA0140
Public Sub SetReportName()
On Error GoTo SetReportNameErr
'your code goes here...
Exit Sub
SetReportNameErr:
Call RaiseError(MyUnhandledError, "clsServer:SetReportName Method")
End Sub
'##ModelId=338FA9F2003C
Public Sub SetDataLocation()
On Error GoTo SetDataLocationErr
'your code goes here...
Exit Sub
SetDataLocationErr:
Call RaiseError(MyUnhandledError, "clsServer:SetDataLocation Method")
End Sub
'##ModelId=338FA9F800A0
Public Sub SetSelectionFormula()
On Error GoTo SetSelectionFormulaErr
'your code goes here...
Exit Sub
SetSelectionFormulaErr:
Call RaiseError(MyUnhandledError, "clsServer:SetSelectionFormula Method")
End Sub
'##ModelId=338FAA0400F0
Public Sub SetReportFormula()
On Error GoTo SetReportFormulaErr
'your code goes here...
Exit Sub
SetReportFormulaErr:
Call RaiseError(MyUnhandledError, "clsServer:SetReportFormula Method")
End Sub
'##ModelId=338FAA1301FE
Public Sub SetSubReportLinks()
On Error GoTo SetSubReportLinksErr
'your code goes here...
Exit Sub
SetSubReportLinksErr:
Call RaiseError(MyUnhandledError, "clsServer:SetSubReportLinks Method")
End Sub
'##ModelId=338FAAD003B6
Public Sub SetSubReport()
On Error GoTo SetSubReportErr
'your code goes here...
Exit Sub
SetSubReportErr:
Call RaiseError(MyUnhandledError, "clsServer:SetSubReport Method")
End Sub
'##ModelId=338FAA2100F0
Public Sub SetGroup()
On Error GoTo SetGroupErr
'your code goes here...
Exit Sub
SetGroupErr:
Call RaiseError(MyUnhandledError, "clsServer:SetGroup Method")
End Sub
'##ModelId=338FAA360118
Public Sub SetGraphOptions()
On Error GoTo SetGraphOptionsErr
'your code goes here...
Exit Sub
SetGraphOptionsErr:
Call RaiseError(MyUnhandledError, "clsServer:SetGraphOptions Method")
End Sub
'##ModelId=338FAA450370
Public Sub SetTextFields()
On Error GoTo SetTextFieldsErr
'your code goes here...
Exit Sub
SetTextFieldsErr:
Call RaiseError(MyUnhandledError, "clsServer:SetTextFields Method")
End Sub
'##ModelId=338FAA4F0032
Public Sub SetDestination()
On Error GoTo SetDestinationErr
'your code goes here...
Exit Sub
SetDestinationErr:
Call RaiseError(MyUnhandledError, "clsServer:SetDestination Method")
End Sub
'##ModelId=338FAA5A0136
Public Sub SetFormat()
On Error GoTo SetFormatErr
'your code goes here...
Exit Sub
SetFormatErr:
Call RaiseError(MyUnhandledError, "clsServer:SetFormat Method")
End Sub
'##ModelId=338FABCC01FE
Public Property Get mvarReport() As Object
Set mvarReport = mmvarReport
End Property
'##ModelId=338FABCB03C0
Public Property Get mvarExportOptions() As Object
Set mvarExportOptions = mmvarExportOptions
End Property
'##ModelId=338FABCB019A
Public Property Get mvarDatabaseTable() As Object
Set mvarDatabaseTable = mmvarDatabaseTable
End Property
'##ModelId=338FABCA03CA
Public Property Get mvarDatabase() As Object
Set mvarDatabase = mmvarDatabase
End Property
'##ModelId=338FABCA01D6
Public Property Get mvarApplication() As Object
Set mvarApplication = mmvarApplication
End Property
'##ModelId=338FA253014A
Public Property Get Report() As Object
On Error GoTo ReportErr
'your code goes here...
Exit Property
ReportErr:
Call RaiseError(MyUnhandledError, "clsServer:Report Property")
End Property
'##ModelId=338FA2530294
Public Property Set Report(ByVal vData As Object)
On Error GoTo ReportErr
'your code goes here...
Exit Property
ReportErr:
Call RaiseError(MyUnhandledError, "clsServer:Report Property")
End Property
'##ModelId=338FA2540140
Public Property Get ExportOptions() As Object
On Error GoTo ExportOptionsErr
'your code goes here...
Exit Property
ExportOptionsErr:
Call RaiseError(MyUnhandledError, "clsServer:ExportOptions Property")
End Property
'##ModelId=338FA25402BC
Public Property Set ExportOptions(ByVal vData As Object)
On Error GoTo ExportOptionsErr
'your code goes here...
Exit Property
ExportOptionsErr:
Call RaiseError(MyUnhandledError, "clsServer:ExportOptions Property")
End Property
'##ModelId=338FA255012C
Public Property Get DatabaseTable() As Object
On Error GoTo DatabaseTableErr
'your code goes here...
Exit Property
DatabaseTableErr:
Call RaiseError(MyUnhandledError, "clsServer:DatabaseTable Property")
End Property
'##ModelId=338FA25502B2
Public Property Set DatabaseTable(ByVal vData As Object)
On Error GoTo DatabaseTableErr
'your code goes here...
Exit Property
DatabaseTableErr:
Call RaiseError(MyUnhandledError, "clsServer:DatabaseTable Property")
End Property
'##ModelId=338FA2560122
Public Property Get Database() As Object
On Error GoTo DatabaseErr
'your code goes here...
Exit Property
DatabaseErr:
Call RaiseError(MyUnhandledError, "clsServer:Database Property")
End Property
'##ModelId=338FA25602A8
Public Property Set Database(ByVal vData As Object)
On Error GoTo DatabaseErr
'your code goes here...
Exit Property
DatabaseErr:
Call RaiseError(MyUnhandledError, "clsServer:Database Property")
End Property
'##ModelId=338FA2570118
Public Property Get Application() As Object
On Error GoTo ApplicationErr
'your code goes here...
Exit Property
ApplicationErr:
Call RaiseError(MyUnhandledError, "clsServer:Application Property")
End Property
'##ModelId=338FA257029E
Public Property Set Application(ByVal vData As Object)
On Error GoTo ApplicationErr
'your code goes here...
Exit Property
ApplicationErr:
Call RaiseError(MyUnhandledError, "clsServer:Application Property")
End Property
'##ModelId=338FA355024E
Private Sub Class_Initialize()
#If DebugMode Then
'get the next available class ID, and print out
'that the class was created successfully
mlClassDebugID = GetNextClassDebugID()
Debug.Print "'" & TypeName(Me) & "' instance " & CStr(mlClassDebugID) & " created"
#End If
End Sub
'##ModelId=338FA355032A
Private Sub Class_Terminate()
#If DebugMode Then
'the class is being destroyed
Debug.Print "'" & TypeName(Me) & "' instance " & CStr(mlClassDebugID) & " is terminating"
#End If
End Sub
#If DebugMode Then
'##ModelId=338FA8D9000A
Public Property Get ClassDebugID() As Long
'if we are in debug mode, surface this property that consumers can query
ClassDebugID = mlClassDebugID
End Property
#End If