K
Karen
I have the following code in the onfocus event of a control whose
datasource is a 20 character text field...
Dim mylot
mylot = DatePart("ww", Date, 1, 1) & Right(Format(Date, "yy"), 1)
Me![lotno] = mylot
currently mylot is '107'
I need it to show me a leading zero when the week is less than 10. Can
anyone help me?
Thanks,
Karen S
datasource is a 20 character text field...
Dim mylot
mylot = DatePart("ww", Date, 1, 1) & Right(Format(Date, "yy"), 1)
Me![lotno] = mylot
currently mylot is '107'
I need it to show me a leading zero when the week is less than 10. Can
anyone help me?
Thanks,
Karen S