Changing the default radio buttons in a Cognos 11 date prompt - cognos

I have a date prompt on my prompt page that is not required and does not accept multiselect. The queries being filtered have the filter set to optional. The prompt does work in terms of filtering, but I want to change the default radio buttons from earliest and latest date to the from and to calendars. I also need to keep the earliest and latest options.
I have tried a few different solutions using js, but none of them have changed the default radio buttons. I am expecting both calendars to display todays date and be automatically selected when the report loads and have the earliest date and latest date buttons in their default position, but unselected.

Related

Filter to show Last Selected Option Excel

I am using Microsoft Office LTSC professional plus 2021.
I have a problem with filter. I have a long list of different products, so I use filter to select 1 product at a time. Since I have over 100 positions, I need to scroll down each time when I use filter window.
The problem is that whenever I open filter window, it shows from the 1st option, not from the last selected option(image provided). I need the filter window to show me from the last selected option.
Please, provide step-by-step guide, I am not so good at computer-stuff.

vba and outputing data from hidden/Non-enabled multipages

I have a userform with various tabs on a multipage. I am using datepickers (Microsoft Date and Time Picker Control 6.0) and textboxes on the different tabs.
The problem occurs when I want to get the data from the hidden, non-enabled or simply non-active multipages to output to the worksheet.
For example, Multipage1 has a Date of Birth, Multipage 2 has a start date.
When I press the command button to execute the output of ALL data across all multipages to the worksheet, it will only output the value for the currently active multipage. The other values are default.
Mulitpage1 active means it will return D.O.B but returns a blank/default start date from Multipage2
Multipage2 active means it will return start date but returns a blank/default D.O.B from Multipage1
Multipage 3 active means neither D.O.B or Start Date will output anything other than their default values.
(Presume all fields across all multipages have actually been completed with a value)
Is there a way around this?
The command button to output data has a long list of statements like these:
Cells(6, 2) = Address1TextBox.Value
Cells(7, 2) = Address2TextBox.Value
Cells(8, 2) = Address3TextBox.Value
DatePicker was the issue here and I know textboxes do not have an issue with being output to the worksheet while hidden/disabled.
With this in mind I had to resort to using a textbox with validation which only allows the user to enter a date.
Answer = Don't use Microsoft Date and Time Picker Control 6.0

Spotfire Calendar Filter

Is there a way I can use calendar filter in Spotfire? I am aware of the range filter, but I want the user to only be able to select one date from a range of dates coming from a table.
it's a little bit advanced and requires some scripting (although code is provided), but a date picker can be used:
http://spotfired.blogspot.ch/2014/05/popup-calendar-webplayer-compatible.html
the result is something like this:
I know this is two years old but I still came across this post and I figured someone else will too.
To get the calendar to filter follow these steps:
Edit the Text Area
Click "Insert Filter"
Click the column from your data that contains dates
Click "Ok"
Once you save, you will have a slider in the text box and two calendars where dates can be picked or you can utilize the slider.
The current version of Spotfire has a calendar date picker built into the filter and data panels (but it is part of the range slider).
You can also insert this filter into a text area if you want a more custom user interface. See below:
Calendar date picker in Spotfire text area

ViewPanel does not honor Time Zone on Date-only field

We have an app running on 8.5.3 servers (windows) with a field set as Date-only in the Notes backend. No time component gets saved. There is a list style Xpage with a ViewPanel that displays these dates from a Notes view data source, and a form that opens from a link in that view that also shows the same field in the linked record. We are in North America.
After UTC midnight, which is 7 pm Eastern, all of the date column values shown in the view will roll back to the previous day. The linked document in the form-oriented Xpage still shows the proper date as can be seen in a Notes client, and in a Notes info box showing hidden field values.
The XSP application property setting for "Time Zone" has no effect on this behavior.
I added time zone to the display format pattern (MM/dd/YYYY vv) in the viewPanel and also to the field in the form's panel, and both are showing the same time zone, GMT -4. So the date displayed in the viewPanel is in error, as far as I can tell.
I also have verified the same behavior on a Domino 9 server. Is there a workaround for the view list or should we try it on 8.5.2?

How to set textfield only with Month and year from calender in CRM

After selecting calendar in campaign form , I need to set text field only display Month/Year
instead of Day/Month/Year. How can I do this?
I attached a screen shot below:
Here its Day/Month/Year, but I need Month/Year.
I suspect that the date-time field is formatted according to the system settings (be that picked from CRM or the user's computer). Not sure if it's editable other than that. I'll take a look at it later today.
In case it's not possible to customize the date format of a single field you've got three options (listed in increasing order of control but also of implementation workload).
Set the system settings according to your wishes.
Add custom fields and control the looks in these.
Create a web resource that behaves exactly as you wish.

Resources