Problem using a checkbox in an update of the DB. Help, please

Hello;
I am writing a small application as a type of control. I use a box like lets say a switch off market. All my pages work well until you turn the check, or removing so the table BD field is empty. I get an error when I uncheck the box and click Update. Can someone help me? I will attach my code, here is the error I get:

Run database query error.
[Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] Syntax error in UPDATE statement.

The error occurred in C:\websites\108392zj7\sound\sound_RecordAction.cfm: line 9

7: < cfif ParameterExists (Form.btnEdit_OK) >
8: < cfif ParameterExists (Form.RecordID) >
"9: < cfupdate datasource =" "#sitedatasource #" username = "#siteUserID #" password = "" #sitePassword # "tableName = 'his' = formFields" #Form.FieldList # ">"
10: < cflocation url = "sound_RecordView.cfm" >
11: < / cfif > < / cfif >



--------------------------------------------------------------------------------

SQL update sounds on = (param 1) where ID = (param 2).
DATASOURCE ETUCE
VENDORERRORCODE-3503
SQLSTATE 42000

attached is the code for the 3 pages that I use to run this little app for now. (Will be condensing it down to 1 or 2 pages soon.)

Please help, I looked at this code for 2 days now and can't get it to work properly.

Phoenix

This code sets!

checked>

It works now!

Maybe you can help me with a more difficult question?

I want to do this for each user who logs on the site, always on sound, (Session management that I believe) they need to turn it off during their session using this little app. It is possible to write code for managing session making this happen for all users have to disable it?

Phoenix

Tags: ColdFusion

Similar Questions

  • BlackBerry Smartphones having problem using BB Tour with Mobile 3 Australia network. Help please

    The problem I have with my BB Tour is I can't make call, retriving phone number (example: 0401010134) of my directory which is free on all names country code. The message that I received from operator was "" the number you dialed could not be connected, please check and try again ", however if I manually dial the same number (example: 0401010134 ) without referring to the phone book, the call has been thru without problem, but of course I don't want to deal each phone number whenever I need to make a call because I paid an amout of $ for a gadget" technology advanced.

    Then I discovered that if I change all the phone number in the phone book with a country code (for example: + 61401010134 ), the problem is solved (temporary), I can make a call, retriving the directory phone number now, but when the same person called, their name does not appear on the screen because the recognized only mobile phone the mobile number that only with the country code at the beginning of the phone number which will not not a local call. Because the mobile phone is not recognized without the country code phone number, so I guess that the camera cannot associate name stored in the directory so I think it's the reason that the name will not appear in the display of the number.

     

    To overcome this problem, I found a key solution - in 2 same with and without country code phone number in the same name (for example: John WORK: 0401010134 / WORK 2: + 61401010134 ), but another problem. The ringing will be the default value no matter how adjust ringtone custom in the Setup folder because the mobile phone detects the duplicate phone number (I guess!, can someone enlighten me please ~ ~).

    It's so frustrating, does anyone have the solution for this?

    1. make sure that you set your own country code to the Phone Dialer screen > Options > smart dialing.
    Set your country code in this format: "+ xx" where xx = country code. Some countries have two or three-digit country Codes. Do not place not the '+' in the entrance of your contact.
    * In the United States, the value of this country as '+ 1' Code and place your local area code in the appropriate box (this normally the default setting in a new BB).

    2. in the same place, change the length of National number for the number of digits corresponding to your country (since some countries have less than 10 as that set by default in the BB). Check out the total numbers, less country code. Do not place not the '+' in the entrance of your contact.
    * For example, some countries have a total number to 8 (more than 3 for the country code). You must enter '8 '.

  • Trying to send a scanned document and I get an error of missing file: api-ms-win-crt-string-11-1.0.dll never had a problem before and I've recently updated to the office of 2016 and that's when I got this message.

    Trying to send a scanned document and I get an error of missing file: api-ms-win-crt-string-11-1.0.dll never had a problem before and I've recently updated to the office of 2016 and that's when I got this message.   Anyone know if it's related to Adobe or Outlook?  I am able to send emails on Outlook.

    Thank you

    Hi lorid74531323,

    Latest version of MS office will not work with your Acrobat 9.

    May be a compatibility issue, please check the web browsers and applications of PDFMaker

    Kind regards
    Nicos

  • When I try to update indicating the error 8024402f please fix this

    When I try to update indicating the error 8024402f please fix this

    Why did you switch to Win7?

    What application or antivirus security suite is installed and your current subscription?  What anti-spyware (other than Defender) applications?  What third-party firewall (if applicable)?

    A (another) Norton or McAfee application has already been installed on the computer (for example, a free trial version which is preinstalled when you bought it)?

    You may encounter temporary connection [e.g. 0x8024402F] errors when you use Windows Update or Microsoft Update to install updates
    http://support.Microsoft.com/kb/836941

    How to reset the Windows Update components?
    [Skip the section to APPLY to; run the difficulty in default and aggressive mode]
    http://support.Microsoft.com/kb/971058

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Error "Generic Host process for Win 32 services has encountered a problem and needs to close." Sorry for the inconvenience. "Please tell MIcrosoft this problem."

    Original title: programs appearing and disappearing

    Generic Host process for Win 32 services has encountered a problem and needs to close.
    Sorry for the inconvenience.
    Please tell this problem to MIcrosoft. We have created an error report that you can send to help us improve the generic
    Host Process for Win 32 Services. We will treat this report as confidential and anonymous. To see the data click on send
    Error report or not send.
    I clicked on the error report, and that's what he said... szAppname:svchost.exe szAppver: 5.1.2600.5512
    szModver: 5.1.2600.5755 szModname: ntdll.dll compensate 00023845 etc, etc.

    Hi 1jimbo1,

    1. when exactly you receive this error message?
    2. did you of recent changes to the computer?

    Method 1:

    Step 1:

    You can try to start in safe mode and check if the problem occurs.

    Check out the link for more information on starting your computer in SafeMode below:

    http://support.Microsoft.com/kb/315222

    Step 2:

    If the problem does not happen in safe mode and then, try to perform a clean boot.

    A clean boot to check if startup item or services to third-party application is causing this issue.

    You can read the following article to put the computer in a clean boot:

    http://support.Microsoft.com/kb/310353

    If your problem is resolved after the clean boot, and then follow the steps mentioned in the article above to refine the exact source.

    After you have used the boot is a way to solve your problem, you can follow the steps to configure Windows XP to start normally.

    Method 2:

    You can also check the following link and complete the scan line on your computer to check whether your computer is infected with a virus or not.

    http://OneCare.live.com/site/en-us/default.html

    Thank you, and in what concerns:
    I. Suuresh Kumar - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I reinstall xp on my toshiba laptop Dungeon wonders for SDBUS. SYS file that is not on the cd help please, I did once before without this problem

    I reinstall xp on my toshiba laptop Dungeon wonders for SDBUS. SYS file that is not on the cd help please, I did once before without this problem

    Please try to use different CD or simply remove the CD then insert again the installation request for the files.

  • When I open pdf files using acrobat 9, I get error 148: 3. Help, please

    When I open pdf files using acrobat 9, I get error 148: 3. Help, please

    Error: "License has stopped working". Windows

  • I am currently using Adobe Acrobat Pro and cannot use thumbnail images in some of my PDF files. I have not upgraded and have always the possibility to use with certain PDF files, but not all. Help, please!

    I am currently using Adobe Acrobat Pro and cannot use thumbnail images in some of my PDF files. I have not upgraded and have always the possibility to use with certain PDF files, but not all. Help, please!

    Version: Adobe Acrobat 9 Pro

    Windows

    I found the solution:

    In the PDF file, click View > Navigation panel > Pages

    I had to reset panels to view the Pages again.

    Thank you!

    Heather Solis | Operations associate | Crown AFAM Capital, Inc.

    [personal information deleted by Moderator]

  • I have really big problems using my Bell turbo key card to the internet can help you?

    I click on icon will not appear anywhere I'll try. This last bracket upward, I unplugged then tried power .it connected

    Hi CarolHalliday,

    I understand that you are facing problems connecting to Internet using turbo Bell key. I understand the inconvenience.

    (1) you get an error message?

    (2) did you of recent changes to the computer before the show?

    (3) what version of the Windows operating system is installed on the computer?

    I suggest also please contact the Bell Support for further assistance.

    Here is the link: http://support.bell.ca/

    Please respond with the above information so that I can help further.

    Kind regards.

  • unknown problem using WMP 12 no sound when played the song in the folder but has sound when he played in the player

    Hi all

    I have a weird problem using WMP (Windows Media Player v12).  When I double-click a song of in my library, the trail seems to play, but didn't have all the sounds.

    However, if I hover over the same path and then click Preview, the pop-up, the track plays with sound.

    When the track (s) do not play, all indications show the way to correctly play through of progress ' Now Playing ' screen, but no sound.

    In the past, when I clicked on any MP3 file, he would play using WMP.  Now, when I click on an MP3 file, it brings just "Now Playing" and looks LIKE he plays, but no sound.

    I have looked & looked for clues as to why it may be of WMP, but I can't understand the problem.  I also searched the Web for 'day' drivers in the Win System Manager, but Win says that pilots are "up to date".

    I have rebuilt the DB Library (twice) by removing the DB files in from WMP to a procedure in a WMP support forum. I also went to check the audio device in Device Mgr Win (mine is one on one). Everything seemed ok.  I also changed the devices to "Win by default" to what I think my onboard audio device is called.  I thought that that can do, but it's not.

    I was struggling with this since the day of the year.  Please help me solve this problem!

    Here is a link to my system features:

    http://Speccy.Piriform.com/results/0JAQshtlODwFxgwHeGb4rfq

    Hi, Pie,

    Welcome to the Microsoft community.

    Appreciate your efforts to try to resolve the problem that you have set so far. I guess that is not a problem with the driver that ultimately, the songs are playable using the media player. It could be a corrupted in Windows Media Player framework that is causing the problem. Let's run the Windows Media Player troubleshooting utility that resets all parameters to the player. Check out the link to do so:

    http://Windows.Microsoft.com/en-za/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    Please let us know the results.

  • How to replace "apply downloaded update now" with "Check for Updates" in the menu help when the update fails because the downloaded update files are missing but the "Ready to install update" window keeps appearing?

    Question

    I have another type of problem with Firefox

    Description

    Window "Ready to Install" Firefox "Software Update" appeared. The folder "C:\Program Files\Mozilla Firefox\updates\0" contained the files update.mar, update.status and update.version. Each of the 3 files have been deleted. The next time that Firefox has been started, no update occurred because update files were missing. In the Menu bar, clicking Help showed in the menu drop-down that "apply downloaded update now" was always on the list. By clicking on "Apply downloaded update now" open "Software Update" window "Ready to install update", so that Firefox still considers that the update files exist, but they do not. In the window "Software Update", by clicking on "Restart Firefox" restart of Firefox, but once again it there's no update, and remains "apply downloaded update now" on the Help menu. How can "Apply downloaded update now" be replaced by "Check for Updates" so the update files can be downloaded?

    Version of Firefox

    3.6.3

    Operating system

    Windows XP

    User Agent

    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; RV:1.9.2.3) Gecko/20100401 Firefox/3.6.3

    Plugins installed

    • npmnqmp - 989898989877
    • NP-mswmp
    • Adobe PDF plugin for Firefox and Netscape "9.3.2.
    • Default plugin
    • Foxit Reader plugin for Firefox and Netscape
    • Shockwave Flash 10.0 r45
    • Version 1.0.3 copyright 1996-2009 The VideoLAN Teamhttp: / /www.videolan.org/

    You can manually reset the software update feature by closing Firefox and remove the file "updates" (which seems you have done) and the two files "active - update.xml" and "updates.xml" - these are in the installation (C:\Program Files\Mozilla Firefox) directory or in the profile folder (C:\Documents and Settings\nom_utilisateur\Application Data\Mozilla\Firefox\Profiles\something.default).

    If it does not, see our KB article How to resolve the failure of the update of Firefox update error message - the section of 'last resort' can be useful, or or read this article from MozillaZine KB, software update.

    Please let us know how the above work, and if we can be of further assistance.

  • BlackBerry Z10 Z10 will not accomplish configuration after the update of device software, help please.

    Help please, cannot complete phone ater installation performing a software update by using the link to Blackberry.

    Sequence of events;

    Recognized by link to Blackberry phone.

    Reload the selected device - available 10.0.10.90 updated version software.

    Get - software update seems to load correctly then unplugged Z10.

    Phone restarts, welcome to Blackberry, English (UK) checked, swupe left.

    No available SIM card, slide to WI - Fi.

    Password entered for home network and confirmation screen displays connected.

    Agree screen - countries changed to United Kingdom (English),

    the bottom slot, I agree to the Blackberry ALS...
    "I agree" and "I do not accept" buttons cannot be selected and
    After a short delay could not connect appears.

    By pressing "Settings" goes back to the page of the networks Wi - Fi with
    confirmation that the connection is good and round, there it is again.

    Completing the update software several times as indicated above and also of

    www.BlackBerry.com/updates by forum next display to

    http://supportforums.blackberry.com/t5/General-BlackBerry-10-Smartphone/How-

    to-Reload-your-Blackberry10-OS/td-p/2187545

    and get the same result every time I would appreciate help to solve this problem.

    Result, I thank you, using a WiFi hotspot from another phone installation completed perfectly. Now curiously etc.on Z10 browser works perfectly uning home WiFi. Again, thank you for your advice. Best regards, Bob

  • Why FF keep telling me to update to 3.6.15 when I run already 3.6.6? This happens on the calendar and when 'check updates' in the menu help.

    Since when is a "downgrade" updated?

    Thank you

    3.6.15 , it is newer than 3.6. 6, please proceed with Firefox updated to the latest version that your version is rather old and prone to security vulnerabilities.

  • I want to use my i phone to pay for stuff. any help please

    UM new to this I have bin trying to find out how to use my iPhone 5 s to pay online with my master card?

    Looks like you want to use Apple pay. See the following help articles: define and use the Apple pay on your iPhone or iPad - Apple Supportand http://www.apple.com/apple-pay/

    With children of 5 years, you must have a Apple Watch as well. Apple pay is only on iPhone 6 and later versions.

    -AJ

  • updates does not stop, help please

    I'll start, windows update, and a window opens which gives me a button "check for updates".  I click the button and it starts to run, looking like it is looking for updates.  But just to stay there and keeps going, never arrived.  I said "check for Updates" and the color of the bar moves from left to right as if she does something.  It will continue for a day or two sometimes and end with something indicating that it cannot check the updates.  Help, please

    Start by:

    How to reset the Windows Update settings?
    http://support.Microsoft.com/kb/971058

Maybe you are looking for