QTP problem
Santo Perri
perri@excite.com
Thu, 30 Sep 1999 06:39:56 PDT
I was wondering if anyone has or held of this problem. I have a simple QTP
program that basically does subtotals. For those of you wondering, it is
the same process I was having the subfile problem with. Here is the source
that is causing me problems.
REQUEST Shipments
ACCESS MH-TRANS-DTL
&
LINK PRODUCT-ID TO PRODUCT-ID OF MH-PRODUCT-TBL
&
LINK PROD-SUB-CAT OF MH-PRODUCT-TBL TO PROD-SUB-CAT OF MH-PRODSUBCATTBL
&
LINK ("LE" + ASCII(CONTROL-NO,10)) TO LOAD-REQUEST-NO OF MH-SHIP-DTL
&
LINK CUSTOMER-ID TO CUSTOMER-ID OF MH-CUSTOMER-TBL
CHOOSE TRANS-DATE (T-YYMMDD)
SEL IF PROD-SUB-CAT OF MH-PRODSUBCATTBL = T-PROD-SUB-CAT AND
&
TRANS-CODE = "0015"
SORT ON PRODUCT-ID OF MH-TRANS-DTL
TEMP T-SHIP NUM * 12
ITEM T-SHIP SUBTOTAL PICK-WEIGHT OF MH-TRANS-DTL
&
IF REGION <> "99" RESET AT PRODUCT-ID
T-SHIP works properly if all the values from MH-TRANS-DTL are all positive.
Once it encounters a negative number, T-SHIP gets all messed up.
Any ideas??
Santo Perri
Programmer / Analyst
Cynaptec Information Systems
601 Main St.
Shediac NB
E0A 3G0
________________________________________________________________
Get FREE voicemail, fax and email at http://voicemail.excite.com
Talk online at http://voicechat.excite.com
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.