Re: Need help converting a Sined field
- From: strive4peace <strive4peace2006@xxxxxxxxx>
- Date: Thu, 19 Oct 2006 09:04:47 -0400
Hi Gene,
if you are wanting the DATA TYPE of the resulting colum to be specified, you can use a data conversion function such as
cLng -- convert to Long Integer (pos and neg ... BIG whole numbers)
cInt -- convert to Integer (limit 32K positive or neg)
cCur -- convert to currency (pos and neg)
etc
about the only numeric data type in Access that is not signed is byte, which is only good for 0-255
if you want to DISPLAY the column in a particulat format:
turn on the properties window in the design view of the query (right-click anywhere on query layout and choose Properties from shortcut menu)
once the properties window is showing, you can type a format for your number by clicking in the appropriate column and filling the format property (if you choose from the drop-list, you can also specify the Decimal property -- specifying Decimal without Format has no effect).
Warm Regards,
Crystal
*
(: have an awesome day :)
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*
Gene wrote:
I'm sure its already been posted but I wasn't able to find anything on this. I have a table that has a field "Unit Price" which is a sined field. I need to convert the field to regular number or even better an implied decimal(eg., 10058=100.58) But dont worry too much about that. Just need a query or a way to convert the sined field into a large interger. Thanks advance..
Gene
- Follow-Ups:
- Re: Need help converting a Sined field
- From: Jamie Collins
- Re: Need help converting a Sined field
- Prev by Date: Re: 'Lord Help Me' Project
- Next by Date: Re: DLookup Help Needed. New. Easy Question!
- Previous by thread: Re: Need help converting a Sined field
- Next by thread: Re: Need help converting a Sined field
- Index(es):
Relevant Pages
|
Loading