|
WolfShade wrote:
REST and WebService API's are not allowed - security risk. This has to be a straight forward query.
|
No problem. You could still use the exact same principle, but without REST or a Web Service. Just let separate CFCs perform the various tasks.
| Currently, it's looking as though I will have to write an almost endless list of conditional statements for both columns and tables. |
Not necessarily. You will make your code more scalable and more maintainable by passing parameters to the CFCs, telling them of the query, set of columns and table. (You may need to pass a set of tables in the case of join queries). Then you will be dealing with at most 4 to 5 parameters instead of an endless list.
|
Requirements: There are 17 columns of data pulled from (I think) six or seven tables. The customer wants to be able to (from a form) check boxes indicating what columns they want for their customized report.
Last Name, First Name, TCID, EPID, DODID, Organization, Duty Location, Duty State, Duty Country, and eight other columns that are all DOD-related information that I (from home) don't currently have access to. Tables are for personnel records, normalized with a table each for the person, organization, location, and three other factors.
|
No problem. Extend the client's choice to include specifications for putting a query together on the fly. Remember to take join queries into account.