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_xtype()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XTYPE()
Get Btrieve data type of specified field

Syntax
N_XTYPE(<cField> | <nField>)

RDD Option
TYPE()

Argument
<Field> is a field, specified by name or by field number. If you use a field 
name, case is ignored.

Returns
Btrieve data type of specified field.

Remarks
RaSQL/B returns Btrieve data types as a two-digit code. The first digit is 
always the same as the Clipper data type it most closely resembles (for 
example, C, D, L, M, or N).  RaSQL/B type codes are listed in Appendix A.

Example
* argument = field name
? N_XTYPE('appointment_date')
D
? N_XTYPE('amount_paid')
NP


See Also: Appendix A N_XCVTYPE() N_XFIELD() N_XNUM()

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