View Full Version : DDS/Workstn File
Guest.Visitor
01-01-1995, 02:00 AM
I am writing a pgm and am using the same workstn file for display and update. I have a 'B' in Col. 38 of the DDS for the workstn file. Is there a way to Condition this use? I want the Data Entry people to only view the record once it has been created. I want the Programmer to be able to modify the record. Am I going to have to create another screen? One for update and one for display only? Thanks in advance, Colleen
daly.michael@verizon.net
01-11-1999, 02:56 PM
On Monday, January 11, 1999, 01:45 PM, Colleen Marone wrote: I am writing a pgm and am using the same workstn file for display and update. I have a 'B' in Col. 38 of the DDS for the workstn file. Is there a way to Condition this use? I want the Data Entry people to only view the record once it has been created. I want the Programmer to be able to modify the record. Am I going to have to create another screen? One for update and one for display only? Thanks in advance, Colleen <hr>Add the "Protect Field" display attribute to each field you wish to have as "view-only", and condition this keyword. For example: <pre> A S1SELC 1A B 8 2 A 36 DSPATR(PR)</pre> In this way, when indicator 36 is *ON, the field will be output-only. And setting the indicator *OFF will open the field for input. Does this help?<hr> <a > href="http://www.freshpoint.com"><imgsrc="http://www.freshpoint.com/graphics/f ooterlogo.GIF"border="0" width="162" height="48"> </a><font > color="#408080">Michael Daly, Sr. P/A FreshPoint, Inc. (972) 392-8169 </font></
Guest.Visitor
01-11-1999, 04:19 PM
Another way may be to create another record format that only contains the keywords OVERLAY and PROTECT. Write out your screen with your fields on it and then write this "protect" record format. All fields on the screen should be protected then... Chris
Guest.Visitor
01-12-1999, 06:40 AM
Thanks for the info. I've tried it and it is working, however, I now need to find out WHEN to turn it on and off! Thanks again,Colleen
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.