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

ADEFAULT( aArray [, cAlias [, nStart[, nStop ]]] )

Purpose

Fill an array with default (blank) values of the fields in a selected
table.

Arguments

     aArray -- array to fill with the blank values of the fields

     cAlias -- alias of the table to work from (defaults to
                   current table)

     nStart -- field to start at (defaults to first field in the table)

     nStop  -- field to stop at (defaults to last field in the table)

Setup

cAlias must be an open table.

Returns

.T.

Side Effects

aArray is filled with blank values for the fields in the selected
table.

Example

     * For STUDENTS table with fields
     * FIRSTNAME (char, len 10)
     * and AGE (numeric, length 2, no decimal):

     LOCAL new_flds[ FCOUNT() ]
     ADEFAULT( new_flds, "CUSTOMER" )
     ? new_flds[ 1 ]         && Returns "          "
     ? new_flds[ 2 ]         && Returns 0

Artful Calls

Blank

Source File

AA_DFLT.PRG

See Also: BLANK() ALOAD()

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