** END HEADER -- do not remove this line // // Generated on 2016/07/14 // parameter bModal local f f = new launch_reportForm() if (bModal) f.mdi = false // ensure not MDI f.readModal() else f.open() endif class launch_reportForm of FORM with (this) onOpen = class::FORM_ONOPEN height = 16.0 left = 62.4286 top = 1.5455 width = 40.0 text = "Launch report" endwith this.PUSHBUTTON1 = new PUSHBUTTON(this) with (this.PUSHBUTTON1) onClick = class::PUSHBUTTON1_ONCLICK height = 1.0909 left = 12.0 top = 7.0 width = 15.2857 text = "Launch report" endwith function PUSHBUTTON1_onClick() form.rep.output = 4 form.rep.outputFilename = dtos(date()) form.rep.render() return function form_onOpen() set procedure to whatever.rep form.rep = new whateverreport() return endclass