Topic Options
#100 - 06/21/99 03:50 PM Re: Subscript error in QR 6.5A
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11317
Loc: Vancouver, BC Canada
Hi John,

To verify just how large the data in the item number field is, use the Count(field) function in a formula (in the detail section) to verify the lengths of the item numbers. My guess is that one item in the data set has a length of less than 6 characters, thus causing the problem. You could also create a formula to label all of the records where this is true [If count(Item number)<6 then...].

When you determine the item number causing the problem, you will either have to modify your formula with the subscript to incorporate this data, or create a selection formula to dis-allow item numbers <6.

You probably should temporarily delete this formula while testing this out, so that the report can print.


Top
#101 - 06/21/99 04:55 PM Re: Subscript error in QR 6.5A
Anonymous
Unregistered


If you have different length item numbers you can pad the formula with spaces and still use the subscript function.

E.g. (String + " ")[1 to 3] should always work even if String only has 2 characters, of course the third character returned will be one of your 'pad' characters.


Top


Moderator:  Christa_Meissner 
Who's Online
0 registered (), 45 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1847 Members
5 Forums
14239 Topics
69728 Posts

Max Online: 359 @ 11/18/19 09:08 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