Hi everyone
My code:
This code is fired upon clicking the Save button in my form and is the first code in the line. All other codes follow after. In all my other forms, this code executes as I want it but in this specific form, it gives me the 2448 error. My form is an unbound form and consists of saving a person's information such as names, address, date of birth etc.
I've checked my table and all fields in the form but I cannot find the fault.
My code:
Code:
Dim ctrl As Control
For Each ctrl In Detail.Controls
If (TypeOf ctrl Is TextBox Or TypeOf ctrl Is ComboBox) Then
ctrl = StrConv(ctrl, vbUpperCase)
End If
Next
This code is fired upon clicking the Save button in my form and is the first code in the line. All other codes follow after. In all my other forms, this code executes as I want it but in this specific form, it gives me the 2448 error. My form is an unbound form and consists of saving a person's information such as names, address, date of birth etc.
I've checked my table and all fields in the form but I cannot find the fault.