safril
New member
- Local time
- Today, 14:42
- Joined
- Aug 7, 2021
- Messages
- 14
Hi, i'm newbie in Access. I have a field that contains a list of month names in a year and I want to convert it automatically to roman numerals in another field. I've used the IIf function but it only returns 'XII' for all month names. Am I missed something? This is my Expression Builder syntax:
Please help. Thanks in advance 
Code:
IIf([BPerm_Banding]="Januari";"I";IIf([BPerm_Banding]="Februari";"II";IIf([BPerm_Banding]="Maret";"III";IIf([BPerm_Banding]="April";"IV";IIf([BPerm_Banding]="Mei";"V";IIf([BPerm_Banding]="Juni";"VI";IIf([BPerm_Banding]="Juli";"VII";IIf([BPerm_Banding]="Agustus";"VIII";IIf([BPerm_Banding]="September";"IX";IIf([BPerm_Banding]="Oktober";"X";IIf([BPerm_Banding]="November";"XI";"XII")))))))))))
