>selOptionID selMakeID selModelID1 Price fields >selOptionID selMakeID selModelID2 Price fields >>
*** SelectCmd SELECT * (or field list) FROM YourTable WHERE OptionID = ?m.selOptionID AND MakeId = ?m.selMakeID AND ModelId IN (?m.lnModel1, ?m.lnModel2, ?m.lnModel3...?m.lnModelN) && what is the biggest number of models? *** AfterCursorFill and AfterCursorRefresh() events IF lResult this.CheckForRecors() ENDIF *** CheckForRecors method of the CA IF RECCOUNT(this.Alias) == 0 APPEND BLANK IN (this.Alias) ENDIFOf course it should be table buffered and you always can have TABLEREVERT() when you don't want to store record.