If it's truly a 10 digit number, it may just be an unsigned 4 byte integer. As long as the value doesn't exceed 4,294,967,295 that's all it is. However, VFP stores signed integers, so yes, you would have to store it as a N(10).
Fred On Wed, Dec 21, 2011 at 2:43 PM, MB Software Solutions, LLC < [email protected]> wrote: > On 12/21/2011 4:21 PM, Ed Leafe wrote: > > On Dec 21, 2011, at 3:09 PM, MB Software Solutions, LLC wrote: > > > >> However, when I run some tests, the resulting number is a 10-digit > >> numeric. Perhaps I'm mixing units here, but isn't that beyond 8-byte? > >> I mean, I've dealt with packed decimals years ago in Assembler, but when > >> he says "8-byte numeric", isn't he meaning a type of n(8) ? > > > > Bytes are binary, not decimal. The largest 8-byte number is > hexadecimal FFFFFFFF > > > >>>> print int(0xFFFFFFFF) > > 4294967295 > > > > Count the number of digits in the output. > > I thought it might be something like that. So how do I store this > returned value (field type/width) from his function in my table? N(10)? > > > -- > Mike Babcock, MCP > MB Software Solutions, LLC > President, Chief Software Architect > http://mbsoftwaresolutions.com > http://fabmate.com > http://twitter.com/mbabcock16 > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CAJCBkso1b9gGACpaKghGz6ExHqJT2-fSizL3WO9+ncB26=-d...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

