basic macro question

SUGGESTED

I'm trying to add 2 new optional fields to about 4000 standing orders, because Sage does not auto-insert opt fields when activating from a Standing Order.  I have a macro that works for one, or when I "mailmerge" to repeat the code for a certain number of orders, but I don't know how to make it loop.  Essentially I want to start with one order#, which I can hard code in the macro, and then loop through till it's done.  How do you tell it to move on to the next order, and stop when there are no more Standing Orders? (Standing orders: OEORDH.TYPE = 3)

thanks in advance for a newbie question from a seriously oldtimer.

Parents Reply
  • 0 in reply to Vega

    Yes it is - but my SQL update skills are lacking too.  I would need to know what values to insert into every field, correct?  Whereas with a macro, I only need the Optional Field name.  Open to suggestions though...  It certainly would be a lot faster in SQL.

Children