I have Sales reps and rate! Thanks to all that helped. What a
process, don't think I could have thought that one up on my own.
Thanks again,
Shari
--- In vantage@yahoogroups.com, "David Gartner" <dgartner@e...>
wrote:
process, don't think I could have thought that one up on my own.
Thanks again,
Shari
--- In vantage@yahoogroups.com, "David Gartner" <dgartner@e...>
wrote:
> Thanks Aaron for posting the better and more complete formulas. Imissed
> them the first time around. They solve the problem of not havingthe REPID's
> all the same length.{InvcHead.RepRate},";");
> This group, time and time again, finds the solutions.
>
> David Gartner
> EPG Companies Inc.
>
>
> > -----Original Message-----
> > From: David Gartner [mailto:dgartner@e...]
> > Sent: Friday, August 06, 2004 3:28 PM
> > To: vantage@yahoogroups.com
> > Subject: RE: [Vantage] Crystal Report Array
> >
> >
> > I have done this with significant help from people on this list.
> >
> > It has to be a subreport or a separate report all together.
> >
> > A SQL expression is used:
> > {fn SUBSTRING(RepRate, 1)}
> >
> > 1st rate is extracted by
> > Local numbervar varfirstsemi := InStr (1,
> > If varfirstsemi <> 0 Then tonumber (Mid ({InvcHead.RepRate}, 1,{InvcHead.RepRate},";");
> > varfirstsemi-1))
> >
> > 2st rate is extracted by
> > Local numbervar varfirstsemi := InStr (1,
> > Local numbervar varsecondsemi := InStr (4,{InvcHead.RepRate},";");
> > If varsecondsemi <> 0 Then tonumber(Mid({InvcHead.RepRate},When
> > (varfirstsemi+1), (varsecondsemi-varfirstsemi-1)))
> >
> > There may be an easier way... but it works.
> > Hope this helps,
> >
> > David Gartner
> > EPG Companies Inc.
> > dgartner@e...
> > 763-424-2613 (v)
> >
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: fselliott1 [mailto:fselliott1@y...]
> > > Sent: Friday, August 06, 2004 2:52 PM
> > > To: vantage@yahoogroups.com
> > > Subject: [Vantage] Crystal Report Array
> > >
> > >
> > > I need HELP! I'm trying to get the RepRate from the OrderDtl.
> > > viewed in Report builder it is RepRate[1], RepRate[2], etc...but in
> > > Crystal it is a 60 character string field in which each rate isbut it
> > > delimited by a ";". I have tried using the formula "Split"
> > > displays the error "the result of a formula can not be anarray".
> > > So I tried to make an array but am having no luck. Anyone outthere
> > > tried this yet?
> > >
> > > Thanks for any and all help.
> > > Shari
> > >