Counter increment w/o SET SUBFILE AT....
Ron Olenic
ROlenic@spectra-inc.com
Mon, 6 Nov 2000 15:44:25 -0500
Hi Al!
Try noreset on the subtotal. By default, QUIZ should reset the subtotal at
the sort break.
Ron Olenic
-----Original Message-----
From: Karman, Al [mailto:AKarman@USFreightways.com]
Sent: Monday, November 06, 2000 1:42 PM
To: powerh-l@sphere.swau.edu
Subject: Counter increment w/o SET SUBFILE AT....
Good day to all.......
It certainly seemed easy enough......sort on this 'ML-NO', and each time the
ML-NO changes, increment this SHIPMENT# by one....
e.g. ML-NO SHIPMENT#
001 10101
001 10101
002 10102
003 10103
What am I missing to get this badboy to increment...It's only writes '10101'
currently for all values of ML-NO
As Always, TIA...!!!
DEF SHIPMENT# NUM*5 = (10100 + 1)
;
SOR ON ML-NO
;
SET SUBFILE APPEND KEEP NAME SHIPMENT &
INDEX IX1 SEGMENT MR-NO, &
INDEX IX2 SEGMENT PO-NO, &
INDEX IX3 SEGMENT PL-NO, &
INDEX IX4 SEGMENT ML-NO
;
REP SUMM &
MR-NO &
PO-NO &
PL-NO &
ML-NO &
SHIPMENT# SUB AT ML-NO &
DIMENSIONS
Al Karman
IT Consultant
US Freightways
akarman@usfreightways.com
773.824.2284
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.