Topic Options
#451 - 02/11/00 04:54 PM strings in QR
Anonymous
Unregistered


Is there any way to Trim 3 characters off of a string in QR. ie. the first three characters of the Item Code from IC to use in a formula.

Top
#452 - 02/11/00 06:34 PM Re: strings in QR
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11560
Loc: Vancouver, BC Canada
Hi Jim,

Absolutely, there are a number of ways of extracting specific characters from a string-formatted field in Quik Reports.

If you want only the first 3 characters of an item code, create a formula with syntax:
Item Number[1 to 3]
Make sure you use the square brackets for this to work.

If you want all characters except the first 3, it's a little trickier, but still can be done. The syntax for the formula is:
Item Number[4 to count(Item Number)]

You can even concatenate non-consecutive groups of characters from the same field, and insert other characters:
Item Number[1 to 2] + '/' + Item Number [4 to 7]

[This message has been edited by Softrak Support (edited 02-14-2000).]


Top
#453 - 02/12/00 09:59 PM Re: strings in QR
Anonymous
Unregistered


Thank you ! I still could not find that in the help screens and my customer has the manual.

Top


Moderator:  Christa_Meissner 
Who's Online
1 registered (Samuel Kopstick), 68 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14474 Topics
70690 Posts

Max Online: 432 @ 01/20/25 10:17 PM
May
Su M Tu W Th F Sa
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31