>WITH ThisForm.cpageframe1.cPage1 > .txtDiaLo.Refresh() > .txtDiaHi.Refresh() > .txtOOR2.Refresh() > .txtBrkLo.Refresh() > .txtBrkHi.Refresh() > .txtTensileLo.Refresh() > .txtTensileHi.Refresh() > .txtCastLo.Refresh() > .txtCastHi.Refresh() > .txtHelixLo.Refresh() > .txtHelixHi.Refresh() > .txtTorsion2.Refresh() > .txtElong2.Refresh() > .txtBend.Refresh() > .txtWrap.Refresh() >ENDWITH >>
>DODEFAULT() > >WITH ThisForm.cpageframe1 > IF .activepage=1 > ThisForm.Clear_Validation_Question_Marks() > .cPage1.Refresh() > .cPage1.grdCerts.SetFocus() > ELSE > .cPage2.Refresh() > .cPage2.ws1TextBox.SetFocus() > ENDIF >ENDWITH > >WITH ThisForm > .txtDateTimeLastUpdate.Refresh() > .RefreshSpecs() >ENDWITH >>
>WITH ThisForm > IF .IsChanged() > .SaveIt() > ENDIF > IF EOF() > GO BOTTOM > .bottomButton.Enabled = .F. > .nextButton.Enabled = .F. > ELSE > SKIP > IF BOF() > .topButton.Enabled = .F. > .previousButton.Enabled = .F. > ELSE > .topButton.Enabled = .T. > .previousButton.Enabled = .T. > ENDIF > .bottomButton.Enabled = .T. > .nextButton.Enabled = .T. > ENDIF > .IsDeleted() > .CountRecs() && Executes a Form refresh also. >ENDWITH ><pre> > >Here's the code for the PREVIOUS button: ><pre> >DODEFAULT() >WITH ThisForm.cpageframe1 > IF .activepage=1 > ThisForm.Clear_Validation_Question_Marks() > .cPage1.grdCerts.SetFocus() > .cPage1.Refresh() > ELSE > .cPage2.ws1TextBox.SetFocus() > .cPage2.Refresh() > ENDIF >ENDWITH > >WITH ThisForm > .txtDateTimeLastUpdate.Refresh() > .RefreshSpecs() >ENDWITH >>
>WITH ThisForm > IF .IsChanged() > .SaveIt() > ENDIF > SKIP -1 > IF BOF() > LOCATE > .topButton.Enabled = .F. > This.Enabled = .F. > ELSE > IF NOT EOF() > .nextButton.Enabled = .T. > .bottomButton.Enabled = .T. > ELSE > .nextButton.Enabled = .F. > .bottomButton.Enabled = .F. > ENDIF > .topButton.Enabled = .T. > .previousButton.Enabled = .T. > ENDIF > .IsDeleted() > .CountRecs() >ENDWITH >