** END HEADER -- do not remove this line // // Generated on 2021-05-04 // parameter bModal local f f = new test_seeker1Form() if (bModal) f.mdi = false // ensure not MDI f.readModal() else f.open() endif class test_seeker1Form of FORM with (this) height = 16.0 left = 58.0 top = 2.5455 width = 52.1429 text = "" endwith this.DBASESAMPLES1 = new DATABASE(this) with (this.DBASESAMPLES1) left = 14.0 width = 11.0 height = 1.0 databaseName = "DBASESAMPLES" active = true endwith this.CUSTOMERS1 = new QUERY(this) with (this.CUSTOMERS1) left = 5.0 width = 9.0 height = 1.0 database = form.dbasesamples1 sql = "select * from CUSTOMERS.DBF" active = true endwith this.GRID1 = new GRID(this) with (this.GRID1) dataLink = form.customers1.rowset height = 10.4545 left = 3.8571 top = 2.0 width = 43.8571 endwith this.PUSHBUTTON1 = new PUSHBUTTON(this) with (this.PUSHBUTTON1) onClick = class::PUSHBUTTON1_ONCLICK height = 1.0909 left = 15.7143 top = 13.5909 width = 19.4286 text = "Open search Form" endwith this.rowset = this.customers1.rowset function PUSHBUTTON1_onClick() do test_seeker2.wfm with true form.rowset.applyLocate( "CustomerID = " + _app.seek_record.value ) return endclass