Colors in subfile

2,410 pts.
Tags:
AS/400
AS/400 Subfiles
In my subfile, when I delete some records, I don't want to remove that records from the subfile. Instead, I want to show them in red color. What is the best way to achieve this?

Software/Hardware used:
AS400
ASKED: September 18, 2012  5:30 AM
UPDATED: September 18, 2012  12:34 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    What is the best way to achieve this?   There is no "best" way for most programming problems. There are usually many ways, and different ways may be better for different circumstances.   I'd probably assign a DSPATR() with a program-to-system field to the columns in my subfile rows. After reading a row and performing the DELETE against whatever you're deleting, I would UPDATE the subfile row with a new color attribute value in the associated program-to-system field.   But that's just what I would do. I don't know what's best for you to do.   Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following