- Posts: 103
- Thank you received: 2
Ask the community, share ideas, and connect with other LimeSurvey users!
This is really not a problem. Add a few lines to the syntax file of SPSS to recode or a small EXCEL macro.that would have to be edited later.
Mmm, yes, I understand that longer answer codes will reduce the column limit. I am a bit confused about the actual numbers you are citing, though. MySQL row size limit is 65,525 characters. Even if all the columns were 30 characters wide, we'd still be able to have over 2,000 of them. So, where does the 230-column limit come from? Now, if 30 characters might indeed be excessive, how about bumping the answer code length by just a little -- say, to VARCHAR(? That would already be quite a bit more helpful to a survey designer, and doesn't seem too costly in terms of space...Joffm wrote: The answer codes are stored in the answer table. And the field type in the dataset is "VARCHAR(5)".
Because of the limitation of MySQL you would only be able to create about 230 columns if you change it to "VARCHAR(30)".
Yep, that's exactly how I am doing it now...Joffm wrote: In your case: a four digit year is really not necessary; so you could use "YMMDD" which covers a ten years range.
Joffm wrote: ...unfortunately this limit is reached very quickly (arrays, multipunch questions, and as top of all, array(number))
Joffm
DenisChenu wrote: Maybe most easy is to create a fork of limesurvey with only this update.
Since you have only this update : it's easy to merge to master when needed.