home *** CD-ROM | disk | FTP | other *** search
- *****************************************************************
- FUNCTION REQDDATA
- *****************************************************************
-
- * Warns the operator that data is required
-
- * Copyright(c) 1991 -- James Occhiogrosso
-
- PARAMETERS mvar_name, proc_name
-
- PRIVATE ret_value := .T.
-
- IF EMPTY(mvar_name)
- ERRORBEEP()
- ret_value = .F.
- ENDIF
-
- * Display message if AEDBAR in use
- IF(ret_value, AEDMSG("mw_pgdn"), AEDMSG("mw_reqd"))
-
- * If a UDF name is passed, execute it.
- * Note that the UDF can alter the return value.
-
- IF proc_name != NIL
- &proc_name(mvar_name)
- ENDIF
-
- RETURN(ret_value)
-
-