TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Gunther.storme
NA
1
0
Using the RecordSelectionFormula in Crystal Reports
Jan 5 2005 3:07 AM
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?
Reply
Answers (
0
)
Creating new DataSet on Calling Base Class
time(NULL) in C# ?