In CMSB 3.65, you can't edit the pillbox SQL statement. See attached image.
Also, when in data entry mode, if something is added to the dropdown, saved and then removed, a single \t is stored instead of null or "" .
EDIT:: actually I discovered the issue, there is a text-nowrap class applied to the textarea. I was trying to format the query for easier reading by adding spaces and newline. I prefer to have that class removed as it serves no useful purpose that I can see.
I have edited 'cmsb/lib/menus/database/editField.php' lines 404 and 560 and removed 'text-nowrap' and have experienced no negative effects.
Jeff Shields