DMXzone Server Connect Support Product Page
Answered
Using Current Date
Asked 20 Apr 2017 18:39:45
1
has this question
20 Apr 2017 18:39:45 Brad Lawryk posted:
Any tutorials on :- Filtering a recordset by current date
- Styling a table row based on current date
Can't seem to find anything on using the current date to display specific data or classes with latest extensions
Replies
Replied 20 Apr 2017 19:22:16
20 Apr 2017 19:22:16 Teodor Kuduschiev replied:
Hi Brad,
Yes there is a tutorial showing how to filter a query by current date: www.dmxzone.com/go/32650/filtering-a-query-by-date-range-with-server-data-formatter/
As for table row styling - what exactly do you need to achieve?
Yes there is a tutorial showing how to filter a query by current date: www.dmxzone.com/go/32650/filtering-a-query-by-date-range-with-server-data-formatter/
As for table row styling - what exactly do you need to achieve?
Replied 20 Apr 2017 19:27:15
20 Apr 2017 19:27:15 Brad Lawryk replied:
Thanks Teodor,
I'll look at the tutorial. As for the row styling basically I need to style the row to 'danger' of the date in the record is past, 'success' if it is todays date ..... I know how to style the row based on other expressions but just can't figure out how to do it with the current date.
I'll look at the tutorial. As for the row styling basically I need to style the row to 'danger' of the date in the record is past, 'success' if it is todays date ..... I know how to style the row based on other expressions but just can't figure out how to do it with the current date.
Replied 21 Apr 2017 08:02:24
21 Apr 2017 08:02:24 Teodor Kuduschiev replied:
Hi Brad,
In App Connect, add new Component > Data > Date And Time - this var returns the current date.
Then in the App Connect formatter, select your database date, apply days until formatter, and select this date and time variable as a value to compare.
Then with the operation filters, just adjust add "<" with the required number of days as a value.
In App Connect, add new Component > Data > Date And Time - this var returns the current date.
Then in the App Connect formatter, select your database date, apply days until formatter, and select this date and time variable as a value to compare.
Then with the operation filters, just adjust add "<" with the required number of days as a value.
Replied 21 Apr 2017 17:04:49
21 Apr 2017 17:04:49 Brad Lawryk replied:
That didn't work, it styled all of the rows regardless. However, I do like that Date and Time Variable!
Replied 24 Apr 2017 07:12:51
24 Apr 2017 07:12:51 Teodor Kuduschiev replied:
Hello Brad,
What exactly did you add, that didn't work? Can you provide a link to your page?
What exactly did you add, that didn't work? Can you provide a link to your page?