Messy maybe, but it works.
Thanks,
Mark Smith
Director of Information Systems
Innerpac, Inc
(p) 708-863-8300
(f) 708-863-9770
www.innerpac.com
________________________________
From:
vantage@yahoogroups.com [mailto:
vantage@yahoogroups.com] On Behalf
Of Aaron Hoyt
Sent: Tuesday, May 10, 2005 9:19 AM
To:
vantage@yahoogroups.com
Subject: RE: [Vantage] RE: Crystal Question
Mark,
This should lead you in the direction you need to go. This method is
messy,
and there may be a much cleaner way to get at it.
RepRate1...Left ({OrderDtl.RepRate}, (InStr ({OrderDtl.RepRate},
";")-1))
RepRate2...Mid ({OrderDtl.RepRate},(InStr ({OrderDtl.RepRate}, ";")+1),
(InStr ((InStr ({OrderDtl.RepRate}, ";")+1), {OrderDtl.RepRate},
";")-(InStr
({OrderDtl.RepRate}, ";")))-1)
RepRate3...Mid ({OrderDtl.RepRate},(InStr ((InStr ({OrderDtl.RepRate},
";")+1), {OrderDtl.RepRate}, ";")+1), (InStr ((InStr ((InStr
({OrderDtl.RepRate}, ";")+1), {OrderDtl.RepRate}, ";")+1),
{OrderDtl.RepRate}, ";")-(InStr ((InStr ({OrderDtl.RepRate}, ";")+1),
{OrderDtl.RepRate}, ";")))-1)
RepRate4...Mid ({OrderDtl.RepRate},(InStr ((InStr ((InStr
({OrderDtl.RepRate}, ";")+1), {OrderDtl.RepRate}, ";")+1),
{OrderDtl.RepRate}, ";")+1), (InStr ((InStr ((InStr ((InStr
({OrderDtl.RepRate}, ";")+1), {OrderDtl.RepRate}, ";")+1),
{OrderDtl.RepRate}, ";")+1), {OrderDtl.RepRate}, ";")-(InStr ((InStr
((InStr
({OrderDtl.RepRate}, ";")+1), {OrderDtl.RepRate}, ";")+1),
{OrderDtl.RepRate}, ";")))-1)
RepRate5...Mid ({OrderDtl.RepRate},(InStr ((InStr ((InStr ((InStr
({OrderDtl.RepRate}, ";")+1), {OrderDtl.RepRate}, ";")+1),
{OrderDtl.RepRate}, ";")+1), {OrderDtl.RepRate}, ";")+1))
Good Luck,
Aaron Hoyt
Vantage Plastics
-----Original Message-----
From:
vantage@yahoogroups.com [mailto:
vantage@yahoogroups.com]On Behalf
Of innerpac_il
Sent: Tuesday, May 10, 2005 9:51 AM
To:
vantage@yahoogroups.com
Subject: [Vantage] RE: Crystal Question
I need to pull a value from rep rate in the invoicedtl table, which is
an array. I only want to pull the first value in the array for each
rep. In report builder this is essentially done for you (i.e., reprate
[1]), but I don't know how to "code" it to get crystal to pull this
value.
Thanks,
Mark Smith
Innerpac, Inc.
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder
and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<
http://groups.yahoo.com/group/vantage/files/>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Yahoo! Groups Links
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder
and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<
http://groups.yahoo.com/group/vantage/files/>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
________________________________
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/vantage/
* To unsubscribe from this group, send an email to:
vantage-unsubscribe@yahoogroups.com
<mailto:
vantage-unsubscribe@yahoogroups.com?subject=Unsubscribe>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <
http://docs.yahoo.com/info/terms/> .
[Non-text portions of this message have been removed]