Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- RaSQL/B 6.1a for Clipper - <b>n_xclrbuf()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XCLRBUF()
Clear all fields in current record buffer

Syntax
N_XCLRBUF()

Returns
True.

Remarks
RaSQL clears all fields to their empty values. It does not write any data  
to disk.

Use this function is to prepare the record buffer for adding a new record to 
the table.

If a datafile is not in use in the current area, this function will produce 
a Clipper error message: No database is in use.

Example
N_XCLRBUF()             && Clear record buffer
@ 1, 0 SAY 'Address:' GET M->lname
@ 2, 0 SAY 'City   :' GET M->fname
READ
N_XREPLACE('last_name', lname, ;
           'first_name', lfname)
N_XINSERT()             && Insert into table


See Also: N_XINSERT() N_XUPDATE()

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