home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 February
/
PCWK0297.iso
/
envelop
/
envelop.3
/
Program
/
database.eto
< prev
next >
Wrap
Text File
|
1996-07-08
|
4KB
|
187 lines
Begin Code
ModuleManager.PublishObjectDLL("evdb.dll")
End Code
Type Database From Database
End Type
Type ODBC From ODBC
End Type
Type Dynaset From Dynaset
' METHODS for object: Dynaset
Function DetailedEdit() as long
DataConConfigureWizard.Edit(Me)
DetailedEdit = True
End Function
End Type
Type RecordSet From RecordSet
' METHODS for object: RecordSet
Function DetailedEdit() as long
DataConConfigureWizard.Edit(Me)
DetailedEdit = True
End Function
End Type
Type DelimitedAscii From DelimitedAscii
End Type
Type Message From Message
End Type
Type Text From Text
End Type
Type FixedAscii From FixedAscii
End Type
Type DatabaseLabel From Label
Dim Specialize As String
End Type
Type DatabaseReadWriteField From TextBox
Dim IndexPosition as Integer
Property Label Get getLabel As Object
' METHODS for object: DatabaseReadWriteField
Function getLabel As Object
Dim o as Object
If Parent Then
o = FindEmbed(Parent, "DBLbl" & Right$(Name, Len(Name) - 4))
getLabel = IIf(o, o, Nothing)
Else
getLabel = Nothing
End If
End Function
End Type
Type DatabaseReadOnlyField From TextBox
Dim IndexPosition as Integer
Property Label Get getLabel As Object
' METHODS for object: DatabaseReadOnlyField
Function getLabel As Object
Dim o as Object
If Parent Then
o = FindEmbed(Parent, "DBLbl" & Right$(Name, Len(Name) - 4))
getLabel = IIf(o, o, Nothing)
Else
getLabel = Nothing
End If
End Function
End Type
Begin Code
' Reconstruction commands for object: Database
'
With Database
End With 'Database
' Reconstruction commands for object: ODBC
'
With ODBC
.QueryTimeout := 60
.Connect := ""
.ReadOnly := False
.DataSourceIndex := 0
.DriverIndex := 0
.FieldDelimiter := ""
.FieldIndex := 0
.TableIndex := 0
.LogFile := ""
.AutoUpdate := False
.IsolationLevel := "None"
End With 'ODBC
' Reconstruction commands for object: Dynaset
'
With Dynaset
.DatabaseType := "None"
End With 'Dynaset
' Reconstruction commands for object: RecordSet
'
With RecordSet
.DatabaseType := "None"
End With 'RecordSet
' Reconstruction commands for object: DelimitedAscii
'
With DelimitedAscii
.RowDelimiterExpr := "^M^J"
.FieldDelimiterExpr := ";"
.RowDelimiter := "^M^J"
.FieldDelimiter := ";"
.Connect := ""
.FirstLineAsFieldNames := True
End With 'DelimitedAscii
' Reconstruction commands for object: Message
'
With Message
.Subject := ""
.MessageText := ""
.RecipientIndex := 0
.Recipient := ""
.RecipientAddress := ""
.RecipientClass := "To"
.FileName := ""
.FilePath := ""
.FileIndex := 0
.FilePosition := 0
.FileFlags := "None"
.MessageType := ""
.MessageThread := ""
.MessageIdentifier := ""
.MessageFlags := "None"
End With 'Message
' Reconstruction commands for object: Text
'
With Text
.FileName := ""
.FileName := ""
.ParagraphDelimiterExpr := "^M^J"
.WordDelimiterExpr := "[ ^I^M^J]"
.ParagraphDelimiter := "^M^J"
.WordDelimiter := " "
End With 'Text
' Reconstruction commands for object: FixedAscii
'
With FixedAscii
.Connect := ""
.FieldWidthList := "10, 10, 10, 10"
.FieldWidth := 10
.FieldCount := 4
.FieldIndex := 0
.FirstLineAsFieldNames := True
End With 'FixedAscii
' Reconstruction commands for object: DatabaseLabel
'
With DatabaseLabel
.Move(0, 0, 0, 0)
.Alignment := "Right"
End With 'DatabaseLabel
' Reconstruction commands for object: DatabaseReadWriteField
'
With DatabaseReadWriteField
.Move(0, 0, 0, 0)
End With 'DatabaseReadWriteField
' Reconstruction commands for object: DatabaseReadOnlyField
'
With DatabaseReadOnlyField
.BackColor := 16777215
.Move(0, 0, 0, 0)
.ReadOnly := True
End With 'DatabaseReadOnlyField
End Code