Simple question for all you QTP Guru's ?
Jones Allen (Van)
Allen.Jones@vpgroup.com
Thu, 2 May 2002 08:40:36 -0700
This technique depends on the timing of item statement processing. It will
work if you don't need to compare too many items, otherwise you can save the
current and previous items and link back to the records in anoter pass:
access TABLE
temp t_PREV_TABLE_ID char*12 ; whatever you need
subfile TABLE_SUB keep include TABLE_ID of TABLE, t_PREV_TABLE_ID
item t_PREV_TABLE_ID = TABLE_ID of TABLE
go
Now you can access the subfile and see the previous and current TABLE_ID
fields. You can compare them, or link back to the real TABLE file and
compare any field you like.
good luck!
-----Original Message-----
From: mjohns@accubanc.com [mailto:mjohns@accubanc.com]
Sent: Thursday, May 02, 2002 8:24 AM
To: Deskin, Bob
Cc: PowerHouse List (E-mail)
Subject: Simple question for all you QTP Guru's ?
Is there a way to retrieve the previous record to compare to the current,
if so what is the syntax.
running Vax alpha
Q U I Z (7.10.G1)
Copyright 1998 COGNOS INC. (ALPHA)
thanks
Margaret Johns
Group Lead Accutrac Development
Information Services (Dallas)
National City / Accubanc
Telephone: 972-982-7236
Fax: 972-982-7290
E-mail: mjohns@accubanc.com
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.