How to subtract days from a date?

Hi,

I'm trying to subtract days from a date but it gives me the following error when I try to print the report:

txtPrevLib: Error in expression: AddDays([Project.DaysToFinish], -30)

AddDays works perfect if I use a positive number, but I need to subtract days.

Thanks very much!

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.