Results 1 to 3 of 3
  1. #1
    msacswt is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jun 2016
    Location
    Cupertino, CA
    Posts
    5

    How to make -number out as words

    Have a logic as follow:




    If satisfying condition A, use calculation x-y, If x-y>0 take the result, if x-y<0, show "Red", If satisfying condition B, use x-z, if x-z>0 take the result, if x-z<0, show "Red".

    x, y and Z are all date. X is today.

    How to put function in a form field?

    Thank you very much !

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,526
    use CONDITIONAL FORMATTING

  3. #3
    msacswt is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jun 2016
    Location
    Cupertino, CA
    Posts
    5
    Would you please give more detailed procedure?

    Red highlighted is <Required>, Green is conditions.

    Days Late Due Date Extension Date Closed Date
    [Closed date]-[Extension] X X X
    [Closed Date]-[Due Date] X X
    Today-[Extension Date] X X
    Today- [Due Date]

    X

    Currently we do not need output as words, but need the requirement as above.

    In other words, 3 dates (Due date], [Extension Date] and [Closed Date], and 4 calculations.

    We tried different ways to use IIf function and finally solved it.


    Thank you very much!
    Last edited by msacswt; 06-20-2016 at 01:16 PM.

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

Similar Threads

  1. how to make such an invoice number?
    By ariansman in forum Access
    Replies: 1
    Last Post: 12-28-2014, 03:15 AM
  2. converting number into words in query
    By joshynaresh in forum Queries
    Replies: 3
    Last Post: 04-02-2014, 08:17 PM
  3. converting number into words
    By joshynaresh in forum Forms
    Replies: 16
    Last Post: 02-28-2014, 12:29 AM
  4. Make only 2 or 3 words in memo field italics
    By snowboarder234 in forum Database Design
    Replies: 13
    Last Post: 05-30-2013, 01:33 PM
  5. Word Automation VBA: Make few words in range bold
    By besuchanko in forum Programming
    Replies: 1
    Last Post: 04-01-2013, 10:12 PM

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