>>>>...
>>>>>
>>>>>lnTablevalidate = set('tablevalidate')
>>>>>lcSafety=set('safety')
>>>>>set safety off
>>>>>set tablevalidate to 0
>>>>>Use yourtable exclusive
>>>>>copy to temp
>>>>>zap
>>>>>append from temp
>>>>>set tablevalidate to lnTablevalidate
>>>>>if lcSafety='ON'
>>>>> set safety on
>>>>>endif
>>>>
>>>>Just curious, Tore:
>>>>
>>>>You store the current set("safe") as I do:
>>>>
>>>>lcSafety=set('safety')
>>>>
>>>>so why not at the end:
>>>>
>>>>Set Safety &lcSafety
>>>>
>>>>rather than
>>>>
>>>>if lcSafety='ON'
>>>> set safety on
>>>>endif
>>>>
>>>>
>>>>in order to restore the prog's prev. setting? I guess it does just the same though.
>>>>
>>>>Terry
>>>
>>>Because I always avoid macro expansion for speed reasons. In this case the difference is minimal, but I try to be consistent. :-)
>>
>>Yeah - Min-im-AL! :-)
>
>A nanosecond her, and a nanosecond here, can accumulate to save your costomers microseconds, maybe even milliseconds. And time is money, you know! :-))
>
>Kidding aside, I have seen noticable improvements by my approach in functions which are used inside loops.
Like the Scots say: "Many a mickle makes a muckle" :-)
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.