Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
Using the RecordSelectionFormula in Crystal Reports
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Gunther.storme
19y
6.8k
1
Reply
I'm trying to use the RecordSelectionFormula on a datetime field. something like: string time = DateTime.Now.ToString(); reportDocument1.RecordSelectionFormula = @"{Alarms.Moment} < " + time ; returns: "The remaining text does not appear to be a part of the formula" and: string quotes = @""""; string time = DateTime.Now.ToString(); reportDocument1.RecordSelectionFormula = @"{Alarms.Moment} < " + quotes + time + quotes; returns: "A date-time is required here" and: reportDocument1.RecordSelectionFormula = "{Alarms.Moment} < " + DateTime.Now; also returns: "The remaining text does not appear to be a part of the formula" What I'm I doing wrong?
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Creating new DataSet on Calling Base Class
time(NULL) in C# ?