I have to learn the correct syntax for this, as I think it should work to place a zero in front of the address number. Please advise
Private Sub Address_Click()
Dim Add As String
Dim Length As String
Add = Val([Address])
Length = Len(Add)
IIF(Length =3,"0"+"[Address]","[Address]")
End If
Is there DoCmd missing?
P.S. Where can I get a good book that explains, rather than throws out at you, the syntax?
Private Sub Address_Click()
Dim Add As String
Dim Length As String
Add = Val([Address])
Length = Len(Add)
IIF(Length =3,"0"+"[Address]","[Address]")
End If
Is there DoCmd missing?
P.S. Where can I get a good book that explains, rather than throws out at you, the syntax?