>if !empty(combo1.value) > set exact off > set near on > select subclases1 &&cursor 2, the cursor 1 is filling the combo 1 > go top > set filter to subclases1.clase=k_clase && public variable > locate for subclases1.subclase=val(thisform.nsubclase) &&form property > this.value=thisform.nsubclase >else > select subclases1 > set filter to subclases1.clase=k_clase >endif >set exact on >set near on >thisform.refresh >>i can make the filter only is i am makin a new register, but modifying not.
local lcCity if not empty(this.value) lcCity = alltrim(this.value) with this.parent.cboOther .Rowsource = "" select Field1, Field2 from myTable where City = m.lcCity into cursor curOther nofilter .RowSource = "curOther" endwith endif