Is it possible to perform a cfinsert within an cfupdate?

Posted on 2011-05-11
Last Modified: 2012-05-11
Hello again. I have a webpage that allows a user to do a cfupdate of a record successfully. I was wondering if it was possible to also allow the user to add a new record on the  same webpage in a similiar way as the cfupdate but to do an insert not an update? If this is not possible then I will proceed with creating a "add new" link to allow users to add a new record via a separate form.

thanks in advance.
Question by:jslaught
    1 Comment
    LVL 22

    Accepted Solution

    the pathe of least resistence would be two button(insert, update) two forms (insert, update)  No need to make a mess out of things ...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    PROBLEM:  How to open a cfwindow or run a function on double click of a cfgrid row. One of my clients wanted to be able to double click on a row item to get more detailed information about a transaction and to be able to modify the line items i…
    Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now