toggle menu
FastReport Forum
FastReport Forum
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Activity
Sign In
·
Register
×
Home
›
Fast Reports Products
›
FastReport .NET
Expression Question
pinbot
Texas
October 2009
edited 8:31AM
in
FastReport .NET
I'm passing a datetime to a stored procedure.
Trying to format the expression to pass the current date - 1 month.
When I set the expression to:
[AddMonths([Date],-1)]
I get the following errors in my parameter:
dateparam.png
11.7K
Comments
pinbot
Texas
October 2009
edited 8:31AM
Nevermind.
Writing it this way works: AddMonths([Date],-1)
When I double-clicked on the "AddMonths" function from the list it inserted:
[AddMonths(,)]
So I figured it needed the outer brackets.
Leave a Comment
Paragraph
H2
Toggle Heading Menu
List Unordered
Toggle Heading Menu
Quote
Toggle Heading Menu
Paragraph
Paragraph
H2
Heading 2
H3
Heading 3
H4
Heading 4
H5
Heading 5
List Unordered
Bulleted List
List Ordered
Ordered List
Indent
Indent
Outdent
Outdent
Quote
Quote
Paragraph Code Block
Code Block
Spoiler
Spoiler
Bold
Italic
Strikethrough
Paragraph Code Block
Link
Close
Emoji
Embed
Home
•
FastReport .NET
Comment As ...
Comments
Nevermind.
Writing it this way works: AddMonths([Date],-1)
When I double-clicked on the "AddMonths" function from the list it inserted:
[AddMonths(,)]
So I figured it needed the outer brackets.