C
Chris
Hello there,
I'm not a totally new access user but I've never done any coding. I've just
updated to access 2003 at my workplace and with all the new things I
discovered 'conditional formatting'. My database uses dates and numbers
relating to these dates and I was overjoyed to see that I could set up
different colours for the number values based on a certain criteria. I
thought doing the same for dates would be just as wonderful but something is
really wrong.
First I simply put in the date of the conditional formatting windows
relevant field. Didn't work. Then did all sorts of trick, used access' help,
I've browsed through these topics and tried some of the suggestions given to
other uers. I tried setting the formatting to null value (of course it didn't
work), setting it to Date(), used one of the Dateserial() functions
suggested, used a specific date. Nothing. I have checked that field
properties is set to date, I went back and confirmed with myself that the
original table's corresponding field is surely set to date format as well.
I've tried converting the formatting's date to a number, just in case. Didn't
work. I've run out of ideas and can't comprehend how come the formatting
works for the number field but not the date one.
What I want to achieve is some colouring change when the date field's value
is less than this year's 1st of January in the form. I did try the
dateserial() function suggested in another topic but even that one didn't
work. I would be just as happy if the field got coloured when the value is
less then a year to date - will not make any difference which condition is
used in the form, but I'm starting to think that the problem's cause may lie
somewhere else.
Sorry about being a bit longwinded just wanted to let people know all the
options I've tried to no effect.
Thank you for your help. Chris
I'm not a totally new access user but I've never done any coding. I've just
updated to access 2003 at my workplace and with all the new things I
discovered 'conditional formatting'. My database uses dates and numbers
relating to these dates and I was overjoyed to see that I could set up
different colours for the number values based on a certain criteria. I
thought doing the same for dates would be just as wonderful but something is
really wrong.
First I simply put in the date of the conditional formatting windows
relevant field. Didn't work. Then did all sorts of trick, used access' help,
I've browsed through these topics and tried some of the suggestions given to
other uers. I tried setting the formatting to null value (of course it didn't
work), setting it to Date(), used one of the Dateserial() functions
suggested, used a specific date. Nothing. I have checked that field
properties is set to date, I went back and confirmed with myself that the
original table's corresponding field is surely set to date format as well.
I've tried converting the formatting's date to a number, just in case. Didn't
work. I've run out of ideas and can't comprehend how come the formatting
works for the number field but not the date one.
What I want to achieve is some colouring change when the date field's value
is less than this year's 1st of January in the form. I did try the
dateserial() function suggested in another topic but even that one didn't
work. I would be just as happy if the field got coloured when the value is
less then a year to date - will not make any difference which condition is
used in the form, but I'm starting to think that the problem's cause may lie
somewhere else.
Sorry about being a bit longwinded just wanted to let people know all the
options I've tried to no effect.
Thank you for your help. Chris