SCAN FOR ordnmb=m.ordlin.ordnmb AND lnline=m.ordlin.lnlineDefinitely agree that SCAN FOR is preferable to SET FILTER, SCAN - though sometimes if code is in 3rd-party resources whose next update will overwrite any local edits, or from decades ago before all current features got added to VFP- then it may be rational to declare "if it ain't broke, don't fix it."
nStyle_Stone_Price=0 nOrdLin_Var_Price = 0 nDiamValu = 0 nClrValu = 0 nProtected = 0- and -
store 0 to nStyle_Stone_Price, nOrdLin_Var_Price, nDiamValu, nClrValu, nProtectedBy default, the first version will have the variable names obfuscated; the second will not.
* nStyle_Stone_Price= * nOrdLin_Var_Price = * nDiamValu = * nClrValu = * nProtected =Just something to think about! ;-) - J