To generate a QR barcode, you need to insert the MERGEFIELD into a DISPLAYBARCODE field, coded along the lines of:
{DISPLAYBARCODE «URL» QR \q 3}
or:
{DISPLAYBARCODE {MERGEFIELD URL} QR \q 3}
where 'URL' is your field name. See:
https://msdn.microsoft.com/en-us/lib...ce.12%29.aspx?
Note: The field brace pairs (i.e. '{ }') for the above example are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practical to add them via any of the standard Word dialogues. Likewise, you can't type or copy & paste the chevrons (i.e. '« »') - they're part of the actual mergefields, which you can insert from the 'Insert Merge Field' dropdown.