Results 1 to 2 of 2
  1. #1
    survivo01 is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    71

    convert result of date claculation to number

    Months left: Format(([Proj Rel]-Date())/30.4,"0.0") I have this date clculation in my query but the result is text instead of number. How can I change to number.

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    The FORMAT function returns a text value.

    If you are just trying to round it with one decimal place, use:
    Months left: Round(([Proj Rel]-Date())/30.4,1)

    You can control the format display in the field Properties.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 0
    Last Post: 10-22-2012, 02:45 PM
  2. Convert Number to Date/Time
    By Jerseynjphillypa in forum Queries
    Replies: 10
    Last Post: 06-13-2012, 12:33 PM
  3. Replies: 2
    Last Post: 11-22-2011, 11:45 AM
  4. Number convert to date
    By Argus in forum Programming
    Replies: 1
    Last Post: 08-05-2009, 02:21 PM
  5. how to convert week number to date range
    By qwang1115 in forum Access
    Replies: 1
    Last Post: 02-13-2009, 11:35 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums