*/* This code sets up the next page and traps for some errors. thisform.lnChoice = this.value WITH thisform.pgfName.page2 do case case this.value = 1 .txtCom.visible = .T. .txtSci.visible = .F. thisform.pgfName.activepage = 2 case this.value = 2 .txtCom.visible = .F. .txtSci.visible = .T. thisform.pgfName.activepage = 2 case this.value = 0 close data all thisform.release() otherwise messagebox("You must choose either '1' or '2'", 48, thisform.caption) this.setfocus() endcase endwith