Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MM/YYYY prompt in 7.4 impromptu

Status
Not open for further replies.

Sidney786

Programmer
Aug 7, 2000
64
GB
Hi,

I have a date/time field in my cognos 7.4 catalog, im trying to create a prompt where the user can select only MM/YYYY.

Does anyone know how I can just strip the date/time element and just display MM/YYYY in the prompt for a period of 10 years.

thanks

Sid
 
How about using a Report Picklist in the Prompt Manager?
Create a picklist report that shows a MM/YYYY format prompt, but uses a datetime field in the main report's filter.

Base the picklist report on a numbers table and use add-months function on curdate() (or whatever the current date function you have) to create the required date range.

soi là, soi carré
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top