Skip to Content
author's profile photo Former Member
Former Member

I want to show Numberic data in database colomn as a Date_type format in report header

Post Author: tripus

CA Forum: Formula

I want to show Numberic datatype colomn in database as a Date_type format in report header, For example

Data in Database I want to show in Report heading as

200412 December, 2004

200506 June, 2005

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 26, 2007 at 05:55 PM

    Post Author: yangster

    CA Forum: Formula

    stringvar year_string := totext(field)[1 to 4];stringvar month_string := monthname(tonumber(totext(field)[5 to 6]));month_string&", "&year_string

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 26, 2007 at 06:15 PM

    Post Author: tripus

    CA Forum: Formula

    Thanks Yangster. The formula is working fine.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.