ChiTownDiva
Technical User
Happy Thursday All...![[morning] [morning] [morning]](/data/assets/smilies/morning.gif)
What I want to do is update a field with this:
If the month of a [date] field (formatted as i.e. 1/1/2005) is between January and September, then update [transaction date] field as 01012005 (or whatever the month and year are in the [date] field) else update the field with the format as 10012005.
In other words, if the month of the [date] field is between January and September, remove the slashes and add 2 leading zeros. If the months are from October through December, add 1 leading zero for the day.
I've tried Val(), Mid, Left, Right, InStr, Str...
I give up.
Help!![[sadeyes] [sadeyes] [sadeyes]](/data/assets/smilies/sadeyes.gif)
Thanks in advance.
ChiTownDiva![[ponytails] [ponytails] [ponytails]](/data/assets/smilies/ponytails.gif)
![[morning] [morning] [morning]](/data/assets/smilies/morning.gif)
What I want to do is update a field with this:
If the month of a [date] field (formatted as i.e. 1/1/2005) is between January and September, then update [transaction date] field as 01012005 (or whatever the month and year are in the [date] field) else update the field with the format as 10012005.
In other words, if the month of the [date] field is between January and September, remove the slashes and add 2 leading zeros. If the months are from October through December, add 1 leading zero for the day.
I've tried Val(), Mid, Left, Right, InStr, Str...
I give up.
Help!
![[sadeyes] [sadeyes] [sadeyes]](/data/assets/smilies/sadeyes.gif)
Thanks in advance.
ChiTownDiva
![[ponytails] [ponytails] [ponytails]](/data/assets/smilies/ponytails.gif)