murray83
Games Collector
- Local time
- Today, 09:53
- Joined
- Mar 31, 2017
- Messages
- 874
First Happy New Year and secondly Good Evening. now on to my conundrum
this is what i have type into the Criteria for my query
this equals a total of 586 characters but from what ive read the limit should of been 255
my problem is when i try and carry on building the expression it gives me the attached fault. :banghead:
so my question is, is there a way round it for instance could i put the remainder in the "or" section in the query or perhaps a simpler way with less characters
cheers all
this is what i have type into the Criteria for my query
Code:
IIf([Forms]![frm_Main]![checkAct]=1,"Acton",IIf([Forms]![frm_Main]![checkAll]=1,"Allington",IIf([Forms]![frm_Main]![checkBasing]=1,"Basingstoke",IIf([Forms]![frm_Main]![checkBed]=1,"Bedford",IIf([Forms]![frm_Main]![checkBel]=1,"Belfast",IIf([Forms]![frm_Main]![checkBristol]=1,"Bristol",IIf([Forms]![frm_Main]![checkCrick]=1,"Crick",IIf([Forms]![frm_Main]![checkDar]=1,"Dartford",IIf([Forms]![frm_Main]![checkElstree]=1,"Elstree",IIf([Forms]![frm_Main]![checkEme]=1,"Emerald",IIf([Forms]![frm_Main]![checkGreen]=1,"Greenford",IIf([Forms]![frm_Main]![checkHams]=1,"Hams Hall"))))))))))))
this equals a total of 586 characters but from what ive read the limit should of been 255
my problem is when i try and carry on building the expression it gives me the attached fault. :banghead:
so my question is, is there a way round it for instance could i put the remainder in the "or" section in the query or perhaps a simpler way with less characters
cheers all