I use this in a calculated field for the RMADisp.reasoncode in a BAQ to replace the CR with //
replace(replace(HDCase.ResolutionText, chr(13), " // "), chr(10), " // ")
Â
This allows the ReasonCode to be copied and pasted into a single cell in an Excel spreadsheet. I haven't found a way to preserve the CR in a dashboard and still have it pasted into a single cell in Excel, but you can do a replace afterwards and replace all the // with a CR is you like.
________________________________
From: emailrashidforum <emailrashidforum@...>
To: vantage@yahoogroups.com
Sent: Tuesday, July 14, 2009 7:42:08 AM
Subject: [Vantage] Re: BAQ/Dashboard - Remove Carriage Return
I have tried all this Replace function but it doesnt work in dashboards, When I try to copy all from the BAQ and paste on Excel then it works fine but when I put this BAQ on a Dashboard and then Copy All from dashboard and paste in Excel CR and LF didnt work, Can any one help please. thanks
replace(replace(HDCase.ResolutionText, chr(13), " // "), chr(10), " // ")
Â
This allows the ReasonCode to be copied and pasted into a single cell in an Excel spreadsheet. I haven't found a way to preserve the CR in a dashboard and still have it pasted into a single cell in Excel, but you can do a replace afterwards and replace all the // with a CR is you like.
________________________________
From: emailrashidforum <emailrashidforum@...>
To: vantage@yahoogroups.com
Sent: Tuesday, July 14, 2009 7:42:08 AM
Subject: [Vantage] Re: BAQ/Dashboard - Remove Carriage Return
I have tried all this Replace function but it doesnt work in dashboards, When I try to copy all from the BAQ and paste on Excel then it works fine but when I put this BAQ on a Dashboard and then Copy All from dashboard and paste in Excel CR and LF didnt work, Can any one help please. thanks
--- In vantage@yahoogroups .com, "matt_rodenbaugh" <mattr@...> wrote:
>
> To answer the previous question, I need to be able to copy all from a
> dashboard query view and paste into excel without the return
> carriages forcing new lines and splitting up records. The copy and
> paste process needs to be done in a non-technical manner (i.e. simple
> stupid).
>
> Using a modified version of what Dave provided, I was able to get the
> following calculated field to work:
>
> Replace(Part. PartDescription, CHR(10), "")
>
> Thanks to Dave and everyone else who contributed! !!
>
> -Matt
>
> Fleetwood Fixtures
>
> --- In vantage@yahoogroups .com, "Dave Olender" <dolender@> wrote:
> >
> > --- In vantage@yahoogroups .com, Robert Brown <robertb_versa@ >
> > wrote:
> >
> > Mr. Matt: I have been using the following code for some time now
> and
> > it works great. Just create a calculated field and change the
> > table/field names to suit:
> >
> > If INDEX(JobAsmbl. Description, CHR(10)) > 0 Then
> > Replace(JobAsmbl. Description, CHR(13) + CHR(10), " ") Else
> > Replace(JobAsmbl. Description, CHR(13), " ")
> >
> >
> > Later,
> >
> > Dave Olender
> > dolender@
>
[Non-text portions of this message have been removed]