But you have non-English characters in your month names. Do you get error with only English letters?
Are you putting this expression in DefaultValue property or in ControlSource property?
But you have non-English characters in your month names. Do you get error with only English letters?
Are you putting this expression in DefaultValue property or in ControlSource property?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
This is the character set I used --copied from the forum post
But if you look at the text from the immediate window --the accents are gone.Choose(Month(Now()),"Styczeń","Luty","Marzec","Kwi ecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzes ień","Październik","Listopad","Grudzień")
? Choose(Month(Now()),"Styczen","Luty","Marzec","Kwi ecien","Maj","Czerwiec","Lipiec","Sierpien","Wrzes ien","Pazdziernik","Listopad","Grudzien")
Lipiec
And it works just fine in textbox ControlSource. The accent marks are displayed.
I am at a loss.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
I dont know what is really wrong. I've tried in new data base and I get the same.
I've tried it again on another computer and it worked perfectly. I used the same data basa file and the same version of Access. And then I saved it and it works in first computer now. I don't know what was wrong before but problem is finally solved.
Last edited by richardm55; 07-10-2015 at 10:30 AM.