Hiya Erik ----
What scares me is the THIS reference and yet the old table->field standard. Please don't tell me this is VFP code. Please? (Whimper)
Do you have a Prozac clause in your client contract?
-----------------------------------------------------
>REPL &cFinalTable->&Field WITH &cTable->&Field + ;
>m.Percent*IIF(cDSTblField='Prin',;
>THIS.Det(m.cReg,m.PerEnd),;
>&cDSReg->&cDSTblField)
>
>Is there a bad code hall of fame?
I think there actually is! I stumbled upon something like that not too long ago. I'll see if I can find it.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05