select tblRawData set filter to PermID == lcPermID and ((LoDrive + HiDrive)/2 + (LoCpool + HiCpool)/2 + ; (LoBike + HiBike)/2 + (LoBus + HiBus)/2 + (LoWalk + HiWalk)/2 + ; (LoAtHome + HiAtHome)/2 + (LoField + HiField)/2 + (LoOther + HiOther)/2) > 7 go top if ! eof() messagebox("The following records need to be checked for Mode Use over 7.") set fields to permid,Sequence, Company, LinkField, ; LoDrive, HiDrive, ; LoCpool, HiCpool, ; LoBike, HiBike, ; LoBus, HiBus, ; LoWalk, HiWalk, ; LoAtHome, HiAtHome, ; LoField, HiField, ; LoOther, HiOther, ; InDrive, LoDrive, HiDrive, ; InBike, LoBike, HiBike, ; InWalk, LoWalk, HiWalk, ; SpOther, InOther, LoOther, HiOther, ; InCpool, LoCpool, HiCpool, ; InBus, LoBus, HiBus, ; InAtHome, LoAtHome, HiAtHome, ; InField, LoField, HiField browse set fields to all endifThis produces an error on the browse to the effect that "variable permid is not found".