Problem with Qtp/Subfile/Item...Minimum

Robert Mills robert.mills@windsong-services.co.uk
Tue, 8 Aug 2000 11:30:40 +0100


Can someone tell me why the following bit of Qtp code does not work?

> Access detail-set                                                  &
>   Link key-item              Of detail-set                         &
>     To key-item              Of master-set                         &
> 
> Sort                                                               &
>   On key-item                Of detail-set  
> 
> Temporary t-RETURN-DATE      Character *8
>      Item t-RETURN-DATE      Minimum DATE-GOODS-REC Of detail-set  &
>                              Reset At key-item Of detail-set
>
> Subfile CM000EX3             At key-item Of detail-set             &
>                              Keep                                  &
>   Include                                                          &
>     key-item                 Of detail-set,                        &
>     t-RETURN-DATE                                                  &
>   Index key-item             UNIQUE                                &
>     Segment key-item  

The item DATE-GOODS-REC is a char 8 field and holds the date in CCYYMMDD
format. Some records do not have a date but most record do.

The value returned in the subfile item t-RETURN-DATE is 'FF FF FF FF 20 20
20 20' in hex. That is 4 high-value characters and 4 space characters.

We're running 819C5 under MPE/iX 6.0 if that helps anybody.

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. |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.