Problem with Qtp/Subfile/Item...Minimum --- 'How I Skinned The Ca t'

Robert Mills robert.mills@windsong-services.co.uk
Wed, 9 Aug 2000 12:41:24 +0100


In-case anybody did not get my last email on this subject -- there has been
a bug in the Minimum option since version 7.0 of Qtp. I understand that it
affects ALL platforms.

What follows is the modified Qtp code that now works. Thanks to everybody
for their ideas/info.

Richard, yours arrived just after I got this to work. Great minds think
alike ;-)

> Access detail-set                                                  &
>   Link key-item              Of detail-set                         &
>     To key-item              Of master-set                         &
> 
> Sort                                                               &
>   On key-item                Of detail-set
> 
> Define d-DATE-GOODS-REC      Zoned *8                              & 
>      = Nconvert(DATE-GOODS-REC Of detail-set) * -1
>
> Temporary t-RETURN-DATE      Zoned *8
>      Item t-RETURN-DATE      Maximum d-DATE-GOODS-REC              &
>                              Reset At key-item Of detail-set
>
> Define d-RETURN-DATE         Character *8                          & 
>      = Ascii(Absolute(t-RETURN-DATE))
>
> Subfile CM000EX3             At key-item Of detail-set             &
>                              Keep                                  &
>   Include                                                          &
>     key-item                 Of detail-set,                        &
>     d-RETURN-DATE                                                  &
>   Index key-item             UNIQUE                                &
>     Segment key-item  

Regards,
Robert

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Robert W.Mills (Senior Analyst/Programmer) |    >>>> Please Note <<<<    |
|Windsong Services, St. Mary Cray, ENGLAND  |The opinions expressed above |
|Tel  : +44 (0)1689 870622 x3005            |are my very own and NOT those|
|Fax  : +44 (0)1689 899026                  |of my employer. They are thus|
|Email: Robert.Mills@windsong-services.co.uk|subject to change or complete|
|URL  : www.windsong.co.uk                  |reversal without any notice. |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Robert W.Mills (Senior Analyst/Programmer) |    >>>> Please Note <<<<    |
|Windsong Services, St. Mary Cray, ENGLAND  |The opinions expressed above |
|Tel  : +44 (0)1689 870622 x3005            |are my very own and NOT those|
|Fax  : +44 (0)1689 899026                  |of my employer. They are thus|
|Email: Robert.Mills@windsong-services.co.uk|subject to change or complete|
|URL  : www.windsong.co.uk                  |reversal without any notice. |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.