Public EventCancelled As Boolean ' Event cancelled
Public CancelMessage As String ' Cancel message
' Row Type
Public RowType As Integer
Public CssClass As String = "" ' CSS class
Public CssStyle As String = "" ' CSS style
Public RowClientEvents As String = "" ' Row client events
' Row Attribute
Public ReadOnly Property RowAttributes() As String
Get
Dim sAtt As String = ""
If ew_NotEmpty(CssStyle) Then
sAtt = sAtt & " style=""" & CssStyle.Trim() & """"
End If
If ew_NotEmpty(CssClass) Then
sAtt = sAtt & " class=""" & CssClass.Trim() & """"
End If
If m_Export = "" Then
If ew_NotEmpty(RowClientEvents) Then
sAtt = sAtt & " " & RowClientEvents.Trim()
End If
End If
Return sAtt
End Get
End Property
' Export
Private m_Export As String
Public Property Export() As String
Get
Return m_Export
End Get
Set(ByVal Value As String)
m_Export = Value
End Set
End Property
' Export Original Value
Public ExportOriginalValue As Boolean = EW_EXPORT_ORIGINAL_VALUE
' Export All
Public ExportAll As Boolean = EW_EXPORT_ALL
' Send Email
Public SendEmail As Boolean
' Custom Inner Html
Public TableCustomInnerHtml As Object
'
' Field objects
'
Public Function FieldByName(Name As String) As Object
If Name = "ftyID" Then Return ftyID
If Name = "ftyDescription" Then Return ftyDescription
If Name = "ftyIsActive" Then Return ftyIsActive
Return Nothing
End Function
' ftyID
Private m_ftyID As cField
Public ReadOnly Property ftyID() As cField
Get
If m_ftyID Is Nothing Then m_ftyID = New cField("tblLPRFixtureType", "x_ftyID", "ftyID", "[ftyID]", 3, OleDbType.Integer, EW_DATATYPE_NUMBER, 0)
Return m_ftyID
End Get
End Property
' ftyDescription
Private m_ftyDescription As cField
Public ReadOnly Property ftyDescription() As cField
Get
If m_ftyDescription Is Nothing Then m_ftyDescription = New cField("tblLPRFixtureType", "x_ftyDescription", "ftyDescription", "[ftyDescription]", 202, OleDbType.VarWChar, EW_DATATYPE_STRING, 0)
Return m_ftyDescription
End Get
End Property
' ftyIsActive
Private m_ftyIsActive As cField
Public ReadOnly Property ftyIsActive() As cField
Get
If m_ftyIsActive Is Nothing Then m_ftyIsActive = New cField("tblDepartments", "x_ftyIsActive", "ftyIsActive", "[ftyIsActive]", 11, OleDbType.Boolean, EW_DATATYPE_BOOLEAN, 0)
Return m_ftyIsActive
End Get
End Property
' Table level events
' Recordset Selecting event
Public Sub Recordset_Selecting(ByRef filter As String)