Public Property Get CompanyName() As Variant
CompanyName = rs("CompanyName")
End Property
Public Property Let CompanyName(ByVal NewValue As Variant)
rs("CompanyName") = NewValue
End Property
Public Property Get ContactName() As Variant
ContactName = rs("ContactName")
End Property
Public Property Let ContactName(ByVal NewValue As Variant)
rs("ContactName") = NewValue
End Property
Public Property Get ContactTitle() As Variant
ContactTitle = rs("ContactTitle")
End Property
Public Property Let ContactTitle(ByVal NewValue As Variant)
rs("ContactTitle") = NewValue
End Property
Public Property Get Address() As Variant
Address = rs("Address")
End Property
Public Property Let Address(ByVal NewValue As Variant)
rs("Address") = NewValue
End Property
Public Property Get City() As Variant
City = rs("City")
End Property
Public Property Let City(ByVal NewValue As Variant)
rs("City") = NewValue
End Property
Public Property Get Region() As Variant
Region = rs("Region")
End Property
Public Property Let Region(ByVal NewValue As Variant)
rs("Region") = NewValue
End Property
Public Property Get PostalCode() As Variant
PostalCode = rs("PostalCode")
End Property
Public Property Let PostalCode(ByVal NewValue As Variant)
rs("PostalCode") = NewValue
End Property
Public Property Get Country() As Variant
Country = rs("Country")
End Property
Public Property Let Country(ByVal NewValue As Variant)
rs("Country") = NewValue
End Property
Public Property Get Phone() As Variant
Phone = rs("Phone")
End Property
Public Property Let Phone(ByVal NewValue As Variant)
rs("Phone") = NewValue
End Property
Public Property Get Fax() As Variant
Fax = rs("Fax")
End Property
Public Property Let Fax(ByVal NewValue As Variant)
rs("Fax") = NewValue
End Property
Public Sub AddNew()
rs.AddNew
End Sub
Public Sub Update()
rs.Update
End Sub
Public Sub CancelUpdate()
If rs.EditMode = adEditInProgress Or _rs.EditMode = adEditAdd Then
rs.CancelUpdate
End If
End Sub
Public Sub MoveNext()
rs.MoveNext
End Sub
Public Sub MovePrevious()
rs.MovePrevious
End Sub
Public Sub MoveFirst()
rs.MoveFirst
End Sub
Public Sub MoveLast()
rs.MoveLast
/images/2011/147787/2011051411021524.jpg" border="0" />