L
Lapchien
I'm concatenating 4 fileds:
Private Sub Form_BeforeUpdate(Cancel As Integer)
On Error GoTo Err_BeforeUpdate
txtDoIt.Value = Left(INV_NUMBER.Value & " " & Combo65.Column(1,
Combo65.ListIndex) & " " & Text131.Value & " " & Text129.Value, 29)
Exit_BeforeUpdate:
Exit Sub
Err_BeforeUpdate:
MsgBox Err.DESCRIPTION
Resume Exit_BeforeUpdate
End Sub
However, Text131 needs to be truncated to 15 characters - is it possible to
do within this bit of code (which is on the before_update event of my form).
Thanks,
Lap
Private Sub Form_BeforeUpdate(Cancel As Integer)
On Error GoTo Err_BeforeUpdate
txtDoIt.Value = Left(INV_NUMBER.Value & " " & Combo65.Column(1,
Combo65.ListIndex) & " " & Text131.Value & " " & Text129.Value, 29)
Exit_BeforeUpdate:
Exit Sub
Err_BeforeUpdate:
MsgBox Err.DESCRIPTION
Resume Exit_BeforeUpdate
End Sub
However, Text131 needs to be truncated to 15 characters - is it possible to
do within this bit of code (which is on the before_update event of my form).
Thanks,
Lap