Turn on display of field codes when writing fields. Alt-F9
This is what the fields will look like. Note the line break in the middle of the fields which is actually a paragraph mark.
{ IF { MERGEFIELD Water } > 0 "Water: { MERGEFIELD Water }
" "" }{ IF { MERGEFIELD Beer } > 0 "Beer: { MERGEFIELD Beer }
" "" }{ IF { MERGEFIELD Wine } > 0 "Wine: { MERGEFIELD Wine }
" "" }
Note the braces {} cannot be typed in from the keyboard. They have to be inserted by Word. They come in pairs. They are inserted when you add a merge field or a regular field. You can make your own fields with Ctrl-F9 which inserts a pair.
|