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_xpack0c()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XPACK0C()
Specifies sign flag for packed decimal (money) fields

Syntax
N_XPACK0C([<lUse0C>])

Remarks
Normally not needed, this function allows you to specify how RaSQL/B will 
write out packed decimals (money) fields.  Most Btrieve applications and 
interfaces, including RaSQL/B, can accept either 0Ch or 0Fh as the positive 
value sign flag.  By default, RaSQL/B writes out new values using 0Fh.  
However, some vertical market applications (Solomon Accounting, for one) 
require the use of 0Ch.  Specifying N_XPACK0C(.T.) at the start of the 
program will force RaSQL/B to use 0Ch when writing positive values to disk.

RaSQL/B never requires this function.  However some vertical market 
applications that RaSQL/B communicates with may need it.  You can generally 
tell that you need it if you write values using RaSQL/B that show up in the 
other application with the wrong sign (i.e., + when it should be - or vice 
versa).


See Also: N_XGATHER() N_XREPLACE()

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