>> Yeah, coding around it isn't a big deal. I was just kind of wondering if this isn't something the framework should be handling.
>
>You would think... hey but if v_orders is empty for time being in your tests, isnt the bizobj's OnBizObjEmpty() coming into play? Everytime I try and test something with an empty view/cursor like this that onbizobjempty(0 always trips me.
I just got a chance to look at it again from last night - it occurred to me last night when I went to bed why it looping through a record that shouldn't exist (and I promptly forgot until I read your message). lUIEnablerNewRecord was set to .T., so it was adding an empty record (which it shouldn't have been doing).