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_xsrecsiz()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XSRECSIZ()
Get internal, stored length of record

Syntax
N_XSRECSIZ()

Returns
Internal, stored length of record.

Remarks
Note that for many data types (for example, Float, Packed, and so on), the 
displayed length of the field is different from the internal, stored length.

If the table contains a variable length field (type M or ML), then the 
record size includes the maximum length of the memo field as specified in 
N_XUSE().

See Appendix A for the display and internal lengths for each data type.

Example
N_XSELECT('patients')
? N_XSRECSIZ()
119
* Use this to help debug error code 22
IF ! N_XUSE(...)
  IF N_XERROR() = 22
    ? 'Error in record definition'
    ? 'Correct length = ', N_XSRECSIZ()
  ENDIF
ENDIF


See Also: Appendix A N_XFRECSIZ() N_XRECSIZ() N_XSLEN()

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