> As far as I know its being doing that since vfp5. > Have you never put set step on and found that even though one line before it > said select an alias, its somewhere else when it stops ? > I have many times and I never found out why. > Allen
yes I think this does happen, but in the present case the wrong alias *is* selected - I know because the subsequent code uses nRecs = RECCOUNT(.Table) to set up a counter of how many 'multilines' to build - if the wrong alias is used you get the wrong number of multi-line records (obviously) btw - this was a [de]bugger of an error to find Andrew Davies MBCS CITP - AndyD 8-)# PC Development Officer _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.