Re: Field Code Execution Order.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Well spotted!

Peter Jamieson

http://tips.pjmsn.me.uk

Paul wrote:
Problem resolved!

Peter I thought you might like to know that the main problem was old codes in other text boxes on the document. By removing the text box I was trying to add (which should contain all of the field codes on the document) then performing the merge. I found additional field codes that should have been removed. Once removed, I returned the text box containing all of the field codes to the document and it worked perfectly!

Thanks for the help.

"Paul" wrote:

Thanks Peter.
The problem does seem to be the text boxes and some spaces between statements.


"Peter Jamieson" wrote:

"merge field codes and text boxes" has never been a very good mix, so regular mergers probably can't tell you much about how they behave - although it does surprise me that the natural sequence of the fields is not followed when they are /all/ in the same text box. If they are actually in multiple text boxes, AFAICR the sequence of execution is related to the sequence you actually created the text boxes.

One thing you can try is to convert the text box to an old-style Word frame. (Format text box->text box->convert to frame. I would not be certain that that wil fix this particular problem. If you have multiple text boxes, AFAIK Word follows the sequence of paragraphs in the main document body, i.e. if you have a frame anchored to para. 1, the fields in there should be executed before the fields in a frame anchored to para. 2.But even that may not be guaranteed.

Peter Jamieson

http://tips.pjmsn.me.uk

Paul wrote:
When using multiple field codes in a merge document, how do you control the execution order? I put 13 Ask fields and IF statements into a text box, and placed the text box on a merge document. The Ask fields are listed in the execution order I need. When the merge is executed, via a Macrobutton, question #9 is executed before question #1.
.



Relevant Pages

  • Re: Field Code Execution Order.
    ... Peter I thought you might like to know that the main problem was old codes ... The problem does seem to be the text boxes and some spaces between statements. ... AFAICR the sequence of execution is ...
    (microsoft.public.word.vba.general)
  • Re: Replacing al wiring.
    ... If you are planning on using romex then ... the outlet boxes that you are connecting to will not be ... in remodel plasic boxes using romex. ... What do you mean by w.r.t codes. ...
    (alt.home.repair)
  • RE: Replicating fields
    ... Paul ... A form is what you put text boxes, command buttons, combo boxes(drop ... > downs) and other controls so you can view and manipulate your data. ... select code builder and put this code: ...
    (microsoft.public.access.forms)
  • Re: Any recommendations for a freeview STB?
    ... Paul D Smith wrote: ... Sagem didn't retransmit it and they claim there is no other way to update their boxes. ... RTOS programmers have always lived on Windows PCs and they mostly assume that there is always someone there to authorise the OAD and that it is their right to do so. ... There is usually another way to update the box but it requires expensive JTAG programmers with the complex hardware setup config files. ...
    (uk.tech.digital-tv)
  • Re: Replacing al wiring.
    ... If you are planning on using romex then ... the outlet boxes that you are connecting to will not be ... in remodel plasic boxes using romex. ... What do you mean by w.r.t codes. ...
    (alt.home.repair)