Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Grumpfish Library 3.2 - <b>datest()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DATEST()

    If you want to print an empty date field or expression in a report
    without printing the slashes ('  /  /  '), use DATEST() instead of
    DTOC() like so:

    DATEST(<date>)

    Required Parameter

    <date> is the date field or expression you wish to print.

    Return Value

    DATEST() returns the character string representation of the date if
    the date field is not empty, or eight spaces if it's empty.

    Sample Usage

    mdate = CTOD("")                   
    ? DATEST(mdate)  && displays spaces

    Clipper 5.0 Notes

    This is now a preprocessor function. Therefore, you must put the
    following line at the top of any .PRG referring to DATEST():

    #include "grump.ch"

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