M
Morris.C
This should be easy, but I just can't figure it out!!
I have a column (field) set as a Number/Integer.
I would like to convert this to a short month value.
eg 1 = Jan
2 = Feb
etc.
I thought it would be as easy as putting a format of 'mmm' in the
textbox's properties. But no...All I get is Jan (or Dec every now and
again)!!!
I then created another textbox and used the MonthName method.
ie. Me!Textbox2 = MonthName(Me!Textbox1).
Problem is I use the forms OnLoad event and it only does it for the first
record. The textbox won't change.
I then thought I could associate this little bit of code with the
Textbox1 (it contains the number), using its OnChange event. But Textbox2
still shows either Jan or Dec!
Any help would be greatly appreciated.
Thanks,
I have a column (field) set as a Number/Integer.
I would like to convert this to a short month value.
eg 1 = Jan
2 = Feb
etc.
I thought it would be as easy as putting a format of 'mmm' in the
textbox's properties. But no...All I get is Jan (or Dec every now and
again)!!!
I then created another textbox and used the MonthName method.
ie. Me!Textbox2 = MonthName(Me!Textbox1).
Problem is I use the forms OnLoad event and it only does it for the first
record. The textbox won't change.
I then thought I could associate this little bit of code with the
Textbox1 (it contains the number), using its OnChange event. But Textbox2
still shows either Jan or Dec!
Any help would be greatly appreciated.
Thanks,