[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FUNCTION BLANKFIELD()
Short:
------
BLANKFIELD() Returns a blank value corresponding to a field
Returns:
--------
<expBlank> => blank value, corresponding to a field
Syntax:
-------
BLANKFIELD(cField)
Description:
------------
<cField> is the name of the field. Can also include
the alias
A blank value is returned:
For: Character Spaces the length of the field
Numeric Zero
Logical .f.
Date Blank date
Memo ""
Examples:
---------
// fill an array with matching blanks for the record - good
// for an ADD routine
aAdds := array(fcount())
for i = 1 to fcount()
aAdds[i] := BLANKFIELD(field(i))
next
Source:
-------
S_BLANKS.PRG
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson