|
I am in the process of building a new application, and I have a need to create some fields that must contain a certain list of values. I know that these files will be utilized by other programmers, and I would like to ensure, at the file level, that only certain values make it into these fields. I reviewed the DDS VALUES keyword for PFs, and it seems that this only helps when building DSPFs that REF the file. I am comtemplating creating these tables in SQL, and using the CONSTRAINT concept to block data being placed into this file that doesn't match the required list of values. This seems to work well, but I don't know performance-wise if this will cause slowdowns. I was wondering, am I missing something, or is there a way to create a PF using DDS (or Code Designer), such that only certain values are allowed into a field? Thanks! -- "Enter any 11-digit prime number to continue..."
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.