Re: Converting .dat files to Paradox
Posted in 1993
->From: barrett@forge.gatech.edu (James Barrett) ->Subject: Converting .dat files to Paradox ->Date: Mon, 7 Jun 1993 17:17:12 GMT ->Reply-To: barrett@forge.gatech.edu (James Barrett) ->Organization: Georgia Tech College of Computing -> ->I know *very* little about Informix, but have a need to convert a database ->from Informix to Paradox for Windows. Most of it is done, however the ->data type "money" is giving me some problems. Can anyone give me a ->description of the format this type is stored in, or point me to somewhere ->I can get this info? -> ->I assume it is some sort of floating point number, but I haven't been able ->to figure out how exactly it is stored in the file. -> ->Thanks, ->-------------------OS/2 v2.1--- Why settle for anything less?----------------- ->James C. Barrett (barrett@cc.gatech.edu)| Atlanta Braves - 1991 and 1992 ->Georgia Tech College of Computing | World Outdoor Baseball Champs!! Data type "MONEY" is essentially a DECIMAL(n,m), very much like a PACKED DECIMAL in some languages. Default size if no "n" and "m" are specified is MONEY(16,2). Width in bytes of a MONEY field is (n/2 + 1), rounded up. O ___________________________ Regards, H | R. Alan Popiel |__________________ Alan H | Martin Marietta, Tech Ops | Internet: |_________________________ H | P.O. Box 179, M/S 5422 | alan@den.mmc.com | / H | Denver, CO 80201-0179 USA | Voice: | Std disclaimers apply./ H |___________________________| 303-977-9998 | ( H (_____________________| (But you knew that!) \\ H (___________________________\\