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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

substr function error

Status
Not open for further replies.

S4E

Technical User
May 6, 2005
10
US
I receive an error message when I attempt to create a new variable. The variable I am using in the substring function is designated as "long text" within the universe. The value for this variable is a converted date/timestamp formatted as dd/mm/yyyy hh:mm:ss. All I am trying to do is strip away the date while leaving the time portion.

Could someone possibly shed some light as to what this beginner Business Objects user is doing incorrectly?

Thanks,

S4E
 
Check in data manager how BO designates the type. Even if the universe setting is long text, it may be parsed as a date. In that case you can use :

Code:
=FormatDate(<Date Received LONG TEXT> ,"hh:mm:ss")

Ties Blom
Information analyst
 
Thanks,

I used the FormatDate(), and was able to achieve the desired results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top