home *** CD-ROM | disk | FTP | other *** search
- <<* Proedit.inc *>>
-
- <<procedure genEditBody>>
- <<begin>>
- <<genln>>
-
- * --- This procedure is called from the Record menu
-
- PROCEDURE {fileprefix}_edit
- PARAMETER col
- PRIVATE oldrecnum
- <<select all>>
-
- * --- Determine Go choice
- DO CASE
-
- * --- Seek is chosen
- CASE col=1
- DO {fileprefix}_seek
-
- * --- Goto is chosen
- CASE col=2
- ACTIVATE WINDOW menter
- DO dogoto
- DEACTIVATE WINDOW menter
-
- * --- Locate is chosen
- CASE col=3
- GETEXPR 'Create Logical Expression:' TO expr TYPE 'L;Must be a Logical Expression' DEFAULT expr
- IF '' <> TRIM(expr)
- DO dolocate WITH expr
- ENDIF
-
- * --- Continue is chosen
- CASE col=4
- DO docont
-
- * --- Next is chosen
- CASE col=6
- IF .NOT. EOF()
- SKIP
- ENDIF
- IF EOF()
- DO alert WITH msg_eof
- SKIP -1
- ENDIF
-
- * --- Prior is chosen
- CASE col=7
- IF .NOT. BOF()
- SKIP -1
- ELSE
- DO alert WITH msg_bof
- ENDIF
- ENDCASE
- RETURN
- <<end>> <<*GenEditBody*>>
-
- <<*EOF: Catedit.inc*>>
-
-
-