Inserting a record does not. Help, please

Hello;
I'm puzzled. I am trying to get this code to insert a new record, but as it passes through the code, it loses the record and he does not db insert. What Miss me? I can't understand.

My code:

< isDefined ("Form.newEdit_OK") cfif >

< isDefined ("Form.RecordID") cfif >
Here's my query, if it is updated and existing record
< cfelse >
< datasource = "" #APPLICATION.dataSource # cfquery "dbtype ="ODBC">"
INSERT INTO news
(title, newsDate, htmlList)
VALUES (< cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form.title #" >,)
< cfqueryparam cfsqltype = 'cf_sql_date' value = "#form.newsDate #" >.
< cfqueryparam cfsqltype = "cf_sql_longvarchar" value = "#form.body #">) "
< / cfquery >
< cflocation url = "news_RecordView.cfm" >
< / cfif >

What did I miss? I can't understand.

CFmonger

I have correct if/else for problems like this:


true

fake

Tags: ColdFusion

Similar Questions

  • width of 100% does not, help please?

    page_design_problem.jpg

    I hope that this picture will help to show the problem I have, I will paste the code I up this just in case it is not readable in the picture also.

    I'm working in Dreamweaver CM³ (updates) on a 64-bit Windows 7 platform.  I built a dozen web sites in dreamweaver, so I'm not an expert, but I'm not either totally distraught.  I did what I'm trying to do on other sites, I'm completely stumped on what I'm doing wrong here.  Any help is appreciated!

    So, it's the intro!  Here's what I'm trying to do:

    I want three background divs that are stacked on each other, with three of them covering 100% of the screen, regardless of the size of the screen (have not implemented for media queries yet go smaller, right now just trying to put it so circles fill all the screen sizes)

    If the top bar is the Tan, then the central bar is dark brown, and the lower bar is yellowish.  At the beginning I did not apply any width of 'body', but I tried to set it to 100% as well.  Each of the three background divs have been added then, and all three were set at 100%, with an image in the background (for texture and color) set to repeat everywhere.

    No matter what I try, the three bars appear to have a limit of about 740 pixels width.  It is not a setting I've ever created, and I started the page as an html page empty - not any model.  I can't find which requires this setting width on these items.

    Here's the weird thing... it really works on a big screen - the bars go all the way through... it's on small screens (my test of fifteen inches, my iphone, the ipad screen monitor) that the background is not going anywhere!

    The image in the header (all images are just an image) is 1280 pixels.

    I'm sure someone will point me to something that makes me slap my forehead in total embarrassment, but I would gladly take the humiliation of being able to move forward on this project!  Help?

    Thank you

    Michelle

    I did something like this for a client project (view source to see the code):

    http://ALT-Web.com/test/LHS-test.html

    Nancy O.

  • Wireless does not HELP Please

    Just today my wireless worked perfectly no problems at all. And then I'll be back from College 4 hours later and it seems not to work more, I called cisco and they want to charge me to fix it, and I don't have the money for it. I tried reseting the router (by pressing the small button with a paperclip for 30 seconds). And I also unplugged and plugged back in and still nothing. I called my internet provider and my modem works fine (im actually writing this with my laptop plugged directly on the Ethernet modem).  Could you guys help out me? exams are coming and I can't continue to take turns using the internet with other people in my house, and I can't continue to go to the library to study and do homework. Thank you, you have no idea how grateful ill be if this is resolved btw, I have a cisco linksys E2500 series wireless router

    If you have an extra ethernet cable, you can reconfigure the router manually. For step by step instructions you can check homesupport.cisco.com. You can also download this Web site configuration wizard.

  • Computer HP laptop window vista does not load please help

    someone asked this question and I have the same problem!

    I have a laptop HP who have dirtied pre-installed Vista and for some reason after installing automatically 3 updates the other day, he is not now charge up. The laptop is plugged in so it can configure 3 updates without failure (due to something like battery dying).

    When the laptop turns on, it gives me two options:
    • Start the reboot system (recommended)
    • Start Windows normally
    If I click on 'Launch Startup Repair', he comes back to do the same screen with them two options and when I click on "Start Windows normally", the laptop everything restarts and then return to this screen.
    Thus, F8-ing it does not help either - it gives me options like computer repair, Mode safe mode, last known good, etc... but none of these helped either.
    I looked around online for a solution, but most say on the use of the Vista installation CD, but the operating system is installed on a partition on the laptop (also there are files on what I would come down)... However I do not know if I can get it to boot on the installation partition either
    I tried F8, F11, F12 and nothing works

    If the system or Mode restore safe work not and you do not have a Microsoft Vista DVD, make a repair disc to do a Startup Repair:

    Download the ISO on the link provided and make a record of repair time it starts.

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.

    When you have changed that, insert the Bootable disk you did in the drive and reboot.

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    Link above shows what the process looks like and a manual, it load the repair options.

    NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.

    Read all the info on the website on how to create and use:

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    ISO Burner:http://www.snapfiles.com/get/active-isoburner.html

    It's a very good Vista startup repair disk.

    You can do a system restart tool, system, etc it restore.

    It is NOT a disc of resettlement.

    And the 32-bit is what normally comes on a computer, unless 64-bit.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Data recovery:

    1. slave of your hard drive in another computer and read/save your data out there.

    2. put your Hard drive in a USB hard drive case, plug it into another computer and read/save from there.

    3 Alternatively, use Knoppix Live CD to recover data:

    http://www.Knopper.NET/Knoppix/index-en.html

    Download/save the file Knoppix Live CD ISO above.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://isorecorder.alexfeinman.com/isorecorder.htm

    Download the Vista software from the link above.

    After installing above ISO burning software, right click on the Knoppix ISO file > copy the Image to a CD.

    Knoppix is not installed on your PC; use only the resources of your PC, RAM, graphics etc.

    Change the boot order in YOUR computer/laptop to the CD/DVD Drive 1st in the boot order.

    Plug a Flash Drive/Memory Stick, BOOT with the Live CD, and you should be able to read the hard drive.

    When the desktop loads, you will see at least two drive hard icons on the desktop (one for your hard drive) and one for the USB key.

    Click on the icons of hard drive to open and to understand which drive is which.

    Click the icon for the USB drive and click on "Actions > Change the read/write mode" so you can write to disk (it is read-only by default for security reasons).

    Now to find the files you want to back up, just drag and drop them on the USB. When you're done, shut down the system and remove the USB key.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Vista recovery media obtain and/or use the Partition Recovery Vista on your computer to the factory settings .

    There is no Vista free download legal available.

    Contact your computer manufacturer and ask them to send a recovery disk/s Vista set.

    Normally, they do this for a cost of $ small.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    In addition, ask them if you have a recovery Partition on your computer/laptop to restore it to factory settings.

    See if a manual provided with the computer or go to the manufacturer's website, email or you can call for information on how to make a recovery.

    Normally, you have to press F10 or F11 at startup to start the recovery process...

    Another way I've seen on some models is press F8 and go to a list of startup options, and launch a recovery of standards of plant with it, by selecting the repair option.

    See you soon.

    Mick Murphy - Microsoft partner

  • my audio does not work please help

    my audio does not work please help. Thank you!

    Hi no thanks,

    1. What is the brand and model of your system and sound card?

    2. when the problem started?

    3. did you of recent changes to the computer?

    You can try to run the sound troubleshooter and see if it helps.

    No sound in Windows

    For more information, you can also consult the following article:

    Tips for solving common audio problems

    Hope this information is useful.

  • Hi my audio - pc does not work please help me

    Hi my audio - pc does not work please help me

    Uninstall the driver, reboot the system. The attempt to install the same driver for Windows Vista using Windows troubleshooting. Make a right click on the file executable/installer driver-> properties and select the Compatibility tab. Click on the box to check run this program in compatibility mode for option and select Windows Vista from the drop-down list. then try to install the device driver using run as administrator.

    Resources:

    If your computer has problems play a sound, try using the Audio playback problems resolution to solve the problem. For measures and additional information, see o ink below.

    Open the troubleshooting of Audio playback

    http://Windows.Microsoft.com/en-us/Windows7/open-the-playing-audio-troubleshooterOpen

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx?type=hardware

    http://Windows.Microsoft.com/en-us/Windows7/tips-for-fixing-common-sound-problems

    In Windows 7

    Click Start > Control Panel

    Click on hardware and sound

    Under sound, click on manage audio devices

    Under playback (tab)

    Choose speakers you have in your output device

    Click Properties >

    Click levels (tab)

    check if the value is 100% >

    GoTo Enhancments > select Loudness balancing

    Apply and OK

    Should be much stronger now...

    For enhancment bit,.

    and if you have HD realtek soundmanager (R2.37) in your control panel

    Try a classic Equalizer setting

  • Sound Recorder does not work XP

    My recorder does not work.  The only way it works is that if I plug a headset with a microphone.  He worked at one time, but I ran HIJACK THIS and think that something has been removed.  Help, please.  Thank you!!

    You have posted on a Windows 7 forum, but referred to as "XP" - Please use the link at the top of the page to return to the XP forum.

    If you meant 'Windows 7' then use the audio troubleshooters in Control Panel, troubleshooting.

    If this does not help, check the devices errors & drivers updated in Device Manager.

  • Stereo video recording does not work after update to ICS

    HII am dido in the India. I've updated my xperia mini (ST15i) to ICS. After that the stereo video recording does not work. Last week, I found a new update for the CSI and I updated to construire.587, now also the same problem exsists. Someone please help

    You can fix it, but you need to root your phone

    Look at the xda forum how do (you must change a setting in a file config. Furthermore, also you can improve some other characteristics of the camera)

  • Urgent - the sound recorder does NOT work after getting the window system 7 (64-bit)

    I have a problem with the sound recorder. After that I got the system with Windows 7 (64-bit), the sound recorder does not work. It's very urgent because I need to procticing my English pronunciation and the test day is coming.

    Please would you give me help? I really appreciate!

    Thank you very much.

    Eleanor

    A prompt by right clicking and select "Run as Administrator"
    and then at the command prompt, type: chkdsk /f r, then press the Enter key.

    If you are asked to plan the volumn to check the next time that the system restarts,
    Enter: y

    If you know the manufacturing of your hard drive you can also download their diagnostic software.

    Another use: SpeedFan has an online health analysis function
    (SMART tab) for hard drives. It will show how your disks
    compared with other discs of the same brand and model.
    http://www.almico.com/SpeedFan.php

    ========================================================================

    Run the SFC/scannow command. This will check and repair if necessary all of the critical Windows system files.

    Click on start / all programs/accessories then
    Right-click on the command prompt option and select "Run as Administrator".
    (or "Safe Mode" open a command prompt)
    At the command prompt, enter: SFC/scannow

    Windows 7 - order SCANNOW SFC - System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    How to analyze the entries in log file generating the program Checker (SFC.exe) resources of Microsoft Windows in Windows Vista:
    http://support.Microsoft.com/kb/928228

    J W Stuart: http://www.pagestart.com

  • When not equal then delete target does not. Please suggest.

    When not equal then delete target does not. Please suggest.

    MERGE INTO pppp pp

    With the HELP of pppp1 p1

    WE (pp.productnr = p1.productnr)

    WHEN NOT MATCHED

    THEN

    DELETE

    Hello

    2751928 wrote:

    When not equal then delete target does not. Please suggest.

    Think about it logically, is that correct?

    You say: DELETE something that does not exist. The NOT MATCHED block will be executed only when the data being sought are not found.

    AS FAR AS I KNOW:

    For NON MATCHED block, INSERT only is allowed.

    For block MATCHED, UPDATE, and DELETE are allowed.

    Take a look at this point - ORACLE-BASE - improvements in Oracle Database 10 g MERGE statement

    Please explain, in other words English, what you are trying to reach.

  • Why any screen recorder does not work on my computer? __

    Why any screen recorder does not work on my computer?

    Hi I formatted my computer and downloaded all the conditions for this, I downloaded hypercam and installed, I tried to open it in the tool bar and the start menu, it still does not work.
    I downloaded another program for recording of the screen, it also did not work, I tried 3 programs, they all did not work
    by the way my computer: windows vista service pack 2 and the screen recorders have worked before I formatted my laptop
    I need a solution pleaseeeeee

    I got this error in the three programs

    Signature of the problem:
    Problem event name: APPCRASH
    Application name: ScreenVCR.exe
    Application version: 1.5.34.0
    Application timestamp: 2a425e19
    Fault Module name: StackHash_b4c3
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception code: c0000096
    Exception offset: 02e42a3b
    The system version: 6.0.6002.2.2.0.768.3
    Locale ID: 1033
    Additional information 1: b4c3
    More information 2: d2a8bebd21e0e9bfa99e084d53ece2b6
    3 more information: 74a 3
    Additional information 4: 0480b6e0a2e7a1df44ee618ae8d0084f

    Read our privacy statement:
    http://go.Microsoft.com/fwlink/?LinkId=50163&clcid=0x0409

    Please give me a solution... :(

    my laptop computers Info

    Windows is Windows Vista Home Premium
    Intel (r) core (TM) 2 Duo CPU 26500 2.10 GHz
    3.00 GB RAM
    Mobile Intel (r) 4 Series Express Chipset Family

    =============================================
    Just a thought... maybe your video driver or DirectX needs and update?

    Have you tried the following applications:

    (1) Windows Media Encoder 9 Series
    http://www.free-codecs.com/download/Windows_Media_Encoder_9_Series.htm

    Direct Download Link:
    http://www.free-codecs.com/download_soft.php?d=571&s=327

    First steps with screenshot
    Using Windows Media Encoder
    http://www.Microsoft.com/windows/windowsmedia/HOWTO/articles/ScreenCap.aspx

    (2) Microsoft Expression Encoder 4
    http://www.Microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=75402be0-C603-4998-A79C-becdd197aa79

    Expression Encoder training videos
    http://expression.Microsoft.com/en-us/cc197144.aspx

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • explore my internet does not work, please tell me how to solve this problem, it does not connect to internet

    explore my internet does not work, please tell me how to solve this problem, it does not connect to the internet while I have internet and other things could be used

    Hello

    Can you tell us more? What is the model of the unit? Do you have the same problem when using other browsers?

    Maybe you should just clear the cache or delete cookies? Try this link here.

    I hope that helps!

  • Smartphones blackBerry sync error, took place - you try to synchronize again. But a resynchronization does not help.

    Hello support,

    I use my MAC for the BlackBerry Desktop Manager 1.0.3 (16) for Mac. I've updated my BB9700 5.0.0.351 to 5.0.0.59 3. I use Mac OS x 10.63 32 bit. My Blackberry synchronization but calendar entries.

    I am a customer of T-Mobile. (Prosumer)

    When I try to synchronize my contacts with my Bold 9700, comes after a few seconds, the message "sync error has occurred - you try to synchronize again.» But a resynchronization does not help. A couple of contacts (20%) are transferred, so the process is canceled again and again. undecided

    Please help me!

    HI and welcome to the forums!

    An error is displayed during the synchronization after the default calendar service is changed on the BlackBe...

    Let us know how it goes!

    Thank you

    Bifocals

  • Photoshop CS6 crashes when starting my Mac. Reset preferences does not help. Download CS6 again if I have my serial number? And what do I need to uninstall the version crashed everything first?

    Photoshop CS6 crashes when starting my Mac. Reset preferences does not help. Download CS6 again if I have my serial number? And what do I need to uninstall the version crashed everything first?

    Hi christophp,

    Yes, you can do this, please follow the steps.

    Uninstall the existing version for Photoshop

    Then use the Adobe CC cleaning tool to remove files left link: http://download.macromedia.com/SupportTools/Cleaner/mac/AdobeCreativeCloudCleanerTool.dmg

    Restart the system

    Follow the link and download Photoshop CS6: applications download Creative Suite 6

    Enter the serial number to activate it.

    Let us know if that helps.

    Kind regards

    ~ Mohit

  • Update iOS yesterday again does not help Revel update.

    Yesterdays iOS update still does not help the revel update. Hoped Apple update would fix the path of Revel, but not so much.

    Please see the post below updates on the issue of the revel facilities:

    Problem installing Adobe Revel 2.3.2

Maybe you are looking for

  • In win 7, missing menu firefox, toolbars; Unable to access the reset

    Using Win 7 64 bit. All of a sudden everything disappeared from firefox except the URL line. When I ran a checkdisk, there was corruption in a bunch of files. May have caused the problem. Went to try the mozilla support reset suggestion. Can't do it

  • Vista stuck on the home screen, impossible to connect

    The problem came from last night after that my computer had a blue screen and proceeded to do some sort of system dump or something like that. Subsequently, I have been unable to connect to one of the five accounts on the computer because it stuck to

  • BlackBerry smartphone error: could not open file

    When I go into my computer to view the videos that I transferred my phone... it gives me a box that says: cannot open the file. Images and ringtones show very well. How to make videos to show on my laptop?

  • Edit in photoshop in lightroom

    Can someone help me please. I am very new to try to work with layers, masks and so on.  In lightroom when I go to the photo and select edit in the option I want to 'open as layers in photoshop' has not been highlighted and therefore not available for

  • resizing of a PDF file

    I need to resize a text document PDF of 8.5 x 11 in. to 6 x 9 to download on a book binding.