} Subject: [?]How to limit disallow inserts in INPUT ARRAY
} Date: 29 Mar 1995 11:43:32 -0800
} Reply-To: cpilot@teleport.com (cpilot)
} Organization: Teleport - Portland's Public Access (503) 220-1016
}
} Dear Net.Wisdom:
}
} 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.
}
} Thanks for any help!
}
} -Todd
}
} Willamette Industries, Inc.
} --
} Richard Shannon
} cpilot@teleport.COM
} Todd Bernhardt
} cpilot@teleport.COM
I have disabled both inserts and deletes by using the OPTIONS statement
to assign the INSERT KEY and DELETE KEY to some hard or impossible to
generate key codes, such as F35 and F36. I know you can create termcaps
for these keys, but they are not in our standard termcaps, so for us
they are effectively impossible to generate. To re-enable inserts and
deletes, just use another OPTIONS statement to reset the keys to their
normal key codes.
Regards,
Alan
+---------------------------+-----------------------------------------------+
| R. Alan Popiel | Internet: alan@den.mmc.com |
| Lockheed Martin, SLS | Voice: 303-977-9998 |
| P.O. Box 179, M/S 3810 | Standard disclaimers apply. Cutesy ones, too. |
| Denver, CO 80201-0179 USA | Your mileage may vary. Void where prohibited. |
+---------------------------+-----------------------------------------------+