To create a user administration module in Cold Fusion, you would need to create templates that both provides a means to search for or select a user record, and updates the database using an update query. In this example, I created a form that uses a link with a URL parameter to select a user. Other methods would include a search block that would send information to a SELECT query.
After the update is processed, a message is displayed. I also included the userinclude.cfm so that you could update another record.
Conclusion
Creating a module to update records utilizes update queries, as well as selecting records using a URL parameter. A search box could also be utilized to search for the records. These techniques could be used anytime there is a need to search for and update a record from a browser.
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.