** END HEADER -- do not remove this line // // Generated on 24.10.2021 // parameter bModal local f f = new test_gridForm() if (bModal) f.mdi = false // ensure not MDI f.readModal() else f.open() endif class test_gridForm of FORM with (this) onOpen = class::FORM_ONOPEN height = 24.4545 left = 4.7143 top = 0.0 width = 146.7143 text = "" endwith this.DBASESAMPLES1 = new DATABASE(this) with (this.DBASESAMPLES1) left = 66.0 top = 3.0 width = 11.0 height = 1.0 databaseName = "DBASESAMPLES" active = true endwith this.CUSTOMERS1 = new QUERY(this) with (this.CUSTOMERS1) left = 52.0 top = 2.0 width = 9.0 height = 1.0 database = form.dbasesamples1 sql = "select * from CUSTOMERS.DBF where customerid<35" active = true endwith this.GRID1 = new GRID(this) with (this.GRID1) dataLink = form.customers1.rowset height = 7.5 left = 10.0 top = 5.5 width = 133.0 endwith this.rowset = this.customers1.rowset function form_onOpen() ?form.grid1.columncount ?form.grid1.columns["Column1"].datalink inspect(form) return endclass