Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

recordset Update in class to update all records in lower case

Status
Not open for further replies.

Oliver2003

Technical User
Apr 19, 2003
144
GB
Is it possible to update all fields in a record set in lower case (lcase).

I am using a class to get the recordset and the update event is as follows:

Public Sub Update()
With adoPrimaryRS
.UpdateBatch adAffectAll
If .EditMode = adEditAdd Then
MoveLast
End If
End With
End Sub



in the form load event i have:

Private Sub Form_Load()
Set PrimaryCLS = New clsSecurity

Dim oText As TextBox
'Bind the text boxes to the data provider
For Each oText In Me.txtFields
oText.DataMember = "Primary"
Set oText.DataSource = PrimaryCLS
Next
End Sub

Thanks in advance

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top