velvettiger
New Member
Hi everyone,
So I am really new to Progress and I was wondering if there is a way to make the below piece of code run faster. I know that you could use an INDEX but when i looked in the help it is soooo confusing. Can anyone shed any light.
Thanks a lot
So I am really new to Progress and I was wondering if there is a way to make the below piece of code run faster. I know that you could use an INDEX but when i looked in the help it is soooo confusing. Can anyone shed any light.
Thanks a lot
Code:
OUTPUT TO C:\cal\custTT.TXT.
SESSION:DATE-FORMAT = "ymd".
FOR EACH tranfile FIELDS(card-no donor-card-no on-statement original-card-no post-date subsidiary-id tender-code tran-date tran-value tran-points
)
where (
(CARD-NO = '488')
OR(card-no = '496')
OR (CARD-NO = '907')
)
NO-LOCK:
EXPORT
DELIMITER ","
card-no
donor-card-no
on-statement
original-card-no
string(tranfile.post-date, '9999/99/99')
subsidiary-id
tender-code
string(tranfile.tran-date, '9999/99/99')
tran-value
tran-points
.
END.
OUTPUT CLOSE.