Results 1 to 7 of 7
  1. #1
    satz is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jun 2016
    Posts
    8

    Add 15 days to a date column

    There is a column called Revenue plan (Date/Time) Format, which has a date.


    I have a column called Billing Value, where I want result Revenue plan + 15 days ( I used calculated and added this same formula it says different data type)

    Please help me to do this?

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,934
    you need to clarify - what is the full error message? what is your code? From what you have provided so far I can only suggest using the dateadd function

  3. #3
    satz is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jun 2016
    Posts
    8

    Error Message

    "Syntax error in expression" this is the error message.

    Click image for larger version. 

Name:	Date add.png 
Views:	10 
Size:	151.6 KB 
ID:	24997

  4. #4
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,934
    you should not be storing this as a calculated field in a table, but calculate as required in a query

    calculated fields are very limited in their use and in any event you cannot use things like the dateadd function here.

    if you must, try

    [RevenuePlan]+15

  5. #5
    satz is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jun 2016
    Posts
    8
    [Revenue Plan] + 15 directly not working

  6. #6
    satz is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jun 2016
    Posts
    8

    This is how it shows when i directly type [Revenue Plan] +15

    Click image for larger version. 

Name:	Date add.png 
Views:	9 
Size:	135.8 KB 
ID:	24998

    This is how it shows when i directly type [Revenue Plan] +15

  7. #7
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,934
    a) you've changed the field name from billing due to billing value
    b) you have not specified a result type
    c) I don't use calculated fields, too limiting - but try putting an = before the formula
    d) compare with what you have in the Expected delivery date field

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

Similar Threads

  1. Replies: 1
    Last Post: 04-29-2016, 04:03 AM
  2. Replies: 23
    Last Post: 04-08-2015, 12:38 PM
  3. Replies: 1
    Last Post: 11-26-2013, 09:25 AM
  4. Replies: 1
    Last Post: 02-12-2013, 03:48 AM
  5. Replies: 7
    Last Post: 01-28-2013, 05:21 PM

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