|
rpg400-l-request@xxxxxxxxxxxx wrote: > 3. RE: Populating fields based on field name in a file (Joe Pluta) > >> And I'd still be interested in a good way to do it in RPG without SQL. > >And putting aside the fact that this is not what was asked for, I'd be >interested in a business application that needs it. I'm hard-pressed to >think of a situation where the same event can update one of two >completely arbitrary fields (and user-defined) fields based on the >setting of a third. Other than some sort of really ugly code-generator, >I just can't think of the need. I certainly agree with this. I.e., a business app should know its files, fields, etc., and provide the controlled interfaces for managing them. When it gets to the point of comparing unknown fields (or more accurately allowing the user to select fields from a large set) to unknown values in unknown files (selected from a set of files), there seems no business point to it. Why create such a function? -- Especially when SQL exists. Tom Liotta
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.