Julian
My memory may be wrong but I think the behaviour has changed between V5 and V6. I insert a user selected merge field into a document using
Document.InputMergeField('fld_' + IntToStr(TMenuItem(Sender).Tag), SubFld(TMenuItem(Sender).name, '_', 3) + ': ' + TMenuItem(Sender).Caption);
With the cursor at the end of the merge field if I then press the enter key the cursor moves down a line, but I HAVE to enter a keyboard character before pressing enter again will work.
Obviously I need to do something differently but what?
Think in terms of setting up a template for a form email. Insert the merge field for the contact name, press enter a couple of times and start typing the text for the email. Only now I can't because the cursor won't move down.