Re: [?]How to limit disallow inserts in INPUT ARRAY
Posted in 1995
Quoting cpilot... } } Fourgen uses a display array to allow updates/inserts/deletes of detail } information in a header/detail screen. } } My problem is that I wish to allow only updates on the information } displayed. Deletes have been dealt with however that leaves inserts. } How do I disallow inserts? } } I have read over the Informix manual and suspect the AFTER ROW statement } may be key to the solution. If so, the method is still escaping me at the } moment. } Nope, I believe that AFTER ROW is too late (it's been awhile). (I think) we did an AFTER FIELD for every field and checked the value returned by arr_curr() against the value we passed to set_count() (before starting the INPUT ARRAY). If they were equal, we did a NEXT FIELD first_field_name which kept us on the last line. Like I said, it's been awhile, I could be wrong. DAS -- Dave Snyder @ Bell Atlantic - Philadelphia, PA WEB: http://www.ece.vill.edu/~dave/index.html EMAIL: (w) ddx85qr@boots.bell-atl.com (h) dave@das13.snide.com