Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

MSTATUS( [ cMemoname ] )

Purpose

Determine whether a memo field for the current record is empty or not.

Arguments

     nMemoname -- name of a memo field in the current table;  defaults
                      to first memo field in the current table

Setup

cMemoname, if passed, is a memo field in the currently selected table.

Example

     LOCAL memo_name := "NOTES"
     USE CUSTOMER
     IF !EMPTY( memo_name := MSTATUS( memo_name ) )
        POP_MSG( "There's something in the " + memo_name + " field." )
     ENDIF

Returns

The field name, in proper-case, if memo is not empty, or an equal number of
space characters if it is.

Side Effects

Crash on bad field name or no file selected.

Artful Calls

PROPER, MEMOPOS

Source File

AA_MSTAT.PRG

See Also: MCOUNT() MEMO_SAY() MEMOPOS() PROPER() READ_MEMO()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson