S
Sash
I have an unbound field with textbox. The user will key in text similar to
"02691567". I run a bunch of other imports, filecopy, etc, but want to put
this number in my table. The following works, but keeps dropping the leading
zero. Few things that may help. dbo_ImagesS is a SQL Server database and
the field SNum is a char. I feel like I've tried everything...including my
last attempt to format it as text. Any directions as always is deeply
appreciated.
'3 - Update the field SNum
Dim strSQL2 As String
strSQL2 = "UPDATE dbo_ImageS SET SNum = " & Format(Me!SNum, Text) & " WHERE
SNum is Null"
DoCmd.RunSQL strSQL2
"02691567". I run a bunch of other imports, filecopy, etc, but want to put
this number in my table. The following works, but keeps dropping the leading
zero. Few things that may help. dbo_ImagesS is a SQL Server database and
the field SNum is a char. I feel like I've tried everything...including my
last attempt to format it as text. Any directions as always is deeply
appreciated.
'3 - Update the field SNum
Dim strSQL2 As String
strSQL2 = "UPDATE dbo_ImageS SET SNum = " & Format(Me!SNum, Text) & " WHERE
SNum is Null"
DoCmd.RunSQL strSQL2