awesome, thanks Gerry, I'll have a play.
--- In vantage@yahoogroups.com, "Gerry Loranger" <gloranger@...> wrote:
>
> Here's a couple of functions that check the part description for a carriage
> return and return only the first line in a msgbox:
>
>
>
> lib\PublishInfoMsg.i &InfoMsg =
> "substring(ttPart.PartDescription,1,index(ttPart.PartDescription,Chr(13),1))
> "}.
>
>
>
> Gerry
>
>
>
>
>
>
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
> Kerry_Muntz
> Sent: Wednesday, October 14, 2009 3:00 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Crysta syntax for carriage return?
>
>
>
>
>
> Kinda the same subject: Does anyone know how a carriage return can be
> detected? eg in a method directive (BPM)? Part descriptions are
> occassionally made with a carriage return - which stuffs up some
> import/export stuff for us. I'd ideally like to shut the carriage return
> down for the description field.
>
> --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> , "Gerry
> Loranger" <gloranger@> wrote:
> >
> > The following prints "a" on one line and "b" on the next:
> >
> >
> >
> > "a" & chr(13) & "b"
> >
> >
> >
> >
> >
> >
> >
> > From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
> Behalf Of
> > advantage@
> > Sent: Wednesday, October 14, 2009 1:40 PM
> > To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> > Subject: [Vantage] Crysta syntax for carriage return?
> >
> >
> >
> >
> >
> > Brain fade here. What is the crystal syntax for carriage return Chr13?
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>