Query updation

hi all,
SELECT T0.[Quantity] + (T0.[Quantity]/10), T0.[ItemCode] FROM RDR1 T0  INNER JOIN ORDR T1 ON T0.DocEntry = T1.DocEntry WHERE T1.[DocNum] =[%0]
This query select particular sales order and then item is selected one by one in this order, after every selection we have to again run this query but my client want to select item by pressing ctrl button so that item can be selected at one time.so please provide me updated query.
thanks and regards
rahul

Hi Rahul,
You can use between condition i where clause so as to select a range of items.
Again here you may not be able to select in random the items required, they will be in sequential order only.
SELECT T0.Quantity + (T0.Quantity/10), T0.ItemCode FROM RDR1 T0 INNER JOIN ORDR T1 ON T0.DocEntry = T1.DocEntry WHERE T1.DocNum  between [%0] and [%1]
Hope this solves ur issue!!!
Regards
Reno

Similar Messages

  • Asking about query update sql to UDF or UDT

    Hi experts,
    Is it possible to do a query update/ insert SQL to  UDT or UDF in SP notification ? I don't touch any core SAP's table. Just to UDF of UDT that i create  myself. Is it possible ?
    thanks in advance
    regards
    KK

    To Rahul,
    Thanks For your answer . So what is differences between SBO_SP_PostTransactionNotice and SBO_SP_TransactionNotification ? Usually i use SBO_SP_TransactionNotification for blocking some document or alert. So how about SBO_SP_PostTransactionNotice ?
    Please tell me. I'm new in this.
    To Gordon ,
    So can i just make a query insert sql to UDT in SBO_SP_TransactionNotification ?
    Thanks in advance
    Regards
    KK

  • Power Query Update breaks connection to PostgreSQL database

    After the update to Power Query 2.11.3625.144, we can't connect our PostgreSQL database anymore. 
    Error message is: 
    DataSource.NotFound: PostgreSQL: Unable to find a database provider with invariant name 'Npgsql'.
    This error may have been the result of provider-specific client software being required but missing on this computer.  To download client software for this provider, visit the following site and choose at minimum 'Npgsql version 2.0.12': http://go.microsoft.com/fwlink/?LinkID=282716
    Readding the Npgsql driver doesn't solve the issue. Has the version requirement changed with the Power Query update? Or is PostgreSQL connectivity completely broken?

    Hmm, 
    If I add the line, I get the following error message in Power Query: 
    'Npgsql' returned the error: 'Unrecognized element. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 169)'.
    This error may have been the result of provider-specific client software being required but missing on this computer.  To download client software for this provider, visit the following site and choose at minimum 'Npgsql version 2.0.12': http://go.microsoft.com/fwlink/?LinkID=282716
    The code in the machine config looks like this: 
      <system.data>
            <DbProviderFactories />
            <add description=".Net Framework Data Provider for Postgresql Server" type="Npgsql.NpgsqlFactory, Npgsql, Version=2.0.12.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7" name="Npgsql Data Provider" invariant="Npgsql" support="FF"/>
        </system.data>
    The node seems to be empty by default. Can it be that the surrounding stuff has to be differently written in that case?

  • Cannot locate policy manager query/update service

    Hi,
    I installed soa_server 11.1.1.4.0 on windows server 2003 machine, I got a weird issue while accessing the weblogic policy manager through em. I logged into em console, weblogic domain, domain, webservvice, policy throw this erro below
    "*Cannot locate policy manager query/update service. Policy manager service look up did not find a valid service, due to: Unable to connect to WS Policy Manager. <- oracle.wsm.policymanager.PolicyManagerException: WSM-02118 : The query service cannot be created. <- javax.naming.NameNotFoundException: While trying to lookup 'QueryService#oracle.wsm.policymanager.ejb.IStringQueryServiceRemote' didn't find subcontext 'QueryService#oracle'. Resolved ''; remaining name 'QueryService#oracle/wsm/policymanager/ejb/IStringQueryServiceRemote'*"
    even my wls-m is running , I can access the http://host/wls-pm.
    Last three days I have spend for this issue but no clue.I disabled SSL, enable with SSL host validation false but also get this error.Please sort out this issue.
    Thanks
    Govindan

    Problem solved.
    Soln:
    Given ip address in the Listen Address field of weblogic Admin and SOA server. :)
    Thanks
    Govindan P

  • Query update on each iteration problem (MS SQL Sever / ODBC / Native Driver

    Hello,
    I�ve been working to learn some Java and now JDBC over the past 10 or so months.
    I think I have a general understanding of how to perform queries and work with data using JDBC. However, I�ve run into a problem. I�m trying to do a query of a set of data in a database based on the value of a status column. I want to loop over the messages and perform various functions with the data then update their status in the database. It�s preferable to do these 250 to 1000 rows at a time, but no more and no less.
    I�m connecting to MS SQL Server 2000, currently with ODBC. I�ve also tried it with the Java SQL Server 2000 drivers provided by Microsoft with the same results.
    I�ve found that I can do a one table query and loop though it with a while (rs.next()) {�} and run an Update statement with executeUpdate on each iteration without any problems, no matter the number of rows returned in query.
    I have not been able to use the updateString and updateRow inside the while loop. I keep getting errors like this at the line with the updateRow():
    Exception in thread "main" java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Row update failed.
    This occurs no mater how many rows I select, 1 or more.
    The real problem I�ve been having is that the query I need to loop though joins across several tables and returns some rows from some of those tables. This only seems to work when I query for 38 or less selected rows and I use an Update statement with executeUpdate on each iteration. The updateString and updateRow methods never work. Any number of rows selected greater than 38 causes a deadlock where the Update is waiting for the select to compete on the server and the Update can�t proceed until the Select is complete.
    As I stated above I�ve tried both ODBC and the native SQL Server driver with the same results. I have not tried any other databases, but that�s moot as my data is already in MS SQL.
    Questions:
    How can I avoid or get around this 38 row limit without selecting each row, one at a time?
    What am I doing wrong with the updateString and updateRow?
    Is there a better approach that anyone can suggest?
    Here�s some sample code with the problem:
    import java.sql.*;
    public class db1{
         public static void main(String[] args) throws Exception{
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              String url = "jdbc:odbc:eBrochure_live";
              Connection con = DriverManager.getConnection(url, "sa", "d3v3l0p");
              Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
              Connection con = DriverManager.getConnection("jdbc:microsoft:sqlserver://dcm613u2\\dcm613u2_dev:1433", "sa", "d3v3l0p");
              Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
              Statement stmt2 = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
              stmt.executeUpdate("USE [myDatabase]");
              stmt2.executeUpdate("USE [myDatabase]");
              String qGetMessages = "SELECT TOP 250 t1.messageUUID, t1.subjectHeader, t2.emailAddress as toAddress " +
              "FROM APP_Messages as t1 JOIN APP_addressBook_contacts as t2 " +
              "     On t1.toContactID = t2.contactID " +
              "WHERE t1.statusID = 'queued'";
              ResultSet rs = stmt.executeQuery(qGetMessages);
              while (rs.next()) {
                   String messageUUID = rs.getString("messageUUID");
                   String subjectHeader = rs.getString("subjectHeader");
                   System.out.println(messageUUID + " " + subjectHeader);
                   String updateString = "UPDATE APP_Messages " +
                        "SET statusID = 'sent' " +
                        "WHERE messageUUID = '" + messageUUID + "' ";
                   stmt2.executeUpdate(updateString);
              con.close();
    Thanks for the help,
    Doug Hughes

    // sorry, ps.close() should be outside of if condition
    String sql = "UPDATE APP_Messages SET statusID = 'sent' WHERE messageUUID = ?";
    Statement statement = con.createStatement();
    PreparedStatement ps = con.prepareStatement(sql);
    ResultSet rs = statement.executeQuery("your select SQL");
    if ( rs.next() )
    ps.clearParameters();
    ps.setString(1, rs.getString("your column name"));
    ps.executeUpdate();
    ps.close();
    rs.close();
    statement.close();

  • Need help in SQL Query: Update a row in a table & insert the same row into another table

    I want to update a row in a table say Table A and the updated row should be inserted into another table say Table B. I need to do it in a single SQL query and i don't want to do it in PL/SQL with triggers. And i tried with MERGE statement but its working with this scenario. (Note: I'm using Oracle Database 10g Enterprise Edition Release 10.2.0.1.0).
    Thanks in Advance.

    Using Sven's code as an example, you could save the updated row in a sql plus variable. (also untested):
    SQL> var v_id number
    update tableA  
    set colB='ABC' 
    where colC='XYZ' 
    returning id into :v_id;
    insert into table A_History (ID, colA, colB, ColC)  
    select id, ColA, ColB, ColC  
    from tableA  
    where id = :v_id;   

  • SQL query  update to the Effective Dated Row in PS_JOB table?  SQL Server

    Hi,
    I have a requirement to update the Holiday Schedule field in the maximum effective date row based on the criteria: EMPL_RCD and BUSINESS_UNIT.
    Initially I ran a select query to see how many rows will gets affected.It fetched rows properly with the criteria.
    When I am trying to update the query with the same criteria its showing error message.
    But I don't find any mistake in my query...
    Here is the query I have used:
    UPDATE PS_JOB J SET J.HOLIDAY_SCHEDULE='HLDY' WHERE
    J.EFFDT=(SELECT MAX(A.EFFDT) FROM PS_JOB A
    WHERE A.EMPLID=J.EMPLID
    AND A.EMPL_RCD=J.EMPL_RCD
    AND A.EFFDT<=GETDATE())
    AND J.EFFSEQ=
    (SELECT MAX(A1.EFFSEQ) FROM PS_JOB A1
    WHERE A1.EMPLID=J.EMPLID
    AND A1.EMPL_RCD=J.EMPL_RCD
    AND A1.EFFDT=J.EFFDT)
    AND J.BUSINESS_UNIT='HLDY1'
    AND J.EMPL_RCD=0
    Try with differnt ways but no result. Could anyone please guide me how I can update it....
    Thanks in Advance!

    My database is MY SQL server.
    I found the issue and it is working now. Update syntax works diffrently when we use alias name in set column.
    UPDATE PS_JOB SET HOLIDAY_SCHEDULE='HLDY' FROM PS_JOB J WHERE
    J.EFFDT=(SELECT MAX(A.EFFDT) FROM PS_JOB A
    WHERE A.EMPLID=J.EMPLID
    AND A.EMPL_RCD=J.EMPL_RCD
    AND A.EFFDT<=GETDATE())
    AND J.EFFSEQ=
    (SELECT MAX(A1.EFFSEQ) FROM PS_JOB A1
    WHERE A1.EMPLID=J.EMPLID
    AND A1.EMPL_RCD=J.EMPL_RCD
    AND A1.EFFDT=J.EFFDT)
    AND J.BUSINESS_UNIT='HLDY1'
    AND J.EMPL_RCD=0
    This has worked in SQL server.
    Thanks for looking into this.

  • Multiple query update

    Hi i am create a site for a solicitors which allows the
    clients to be able to keep updated on there case.
    The solicitors input the updates so that the clients can view
    there progress.
    I need to be able to update 2 or 3 records in a table which
    all have the same ID as some clients have more than 1 transaction
    when the solictors have an update for them
    Can you please let me know how to do this
    Thanks
    Carly

    That is correct. I have 2 tables. One has the client ID and
    is defined by the client id. The other is purchase. This is linked
    by client id and has its own Id for each transaction. once we have
    displayed the clients transaction (both on same page) you an update
    both and then click update to go to a submit page that updates the
    database. This is the part i cannot do. I have tried to do a normal
    update
    But keep getting the following error
    ODBC Error Code = 37000 (Syntax error or access violation)
    [Microsoft][ODBC Microsoft Access Driver] Syntax error
    (comma) in query expression 'ID =88,94'.
    The error occurred while processing an element with a general
    identifier of (CFQUERY), occupying document position (44:8) to
    (44:75).
    Date/Time: 06/05/07 12:00:30
    Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
    SV1; .NET CLR 1.1.4322)
    Remote Address: 127.0.0.1
    HTTP Referer:
    http://127.0.0.1/cfdocs/hvld/tracker/admin/finddetails.cfm?clientid=166&staffID=3
    here is the update code

  • How to add a row-selector to an existing SQL Query (updatable report)

    Hi,
    I screwed up an extensive updatable report in Apex 4.2 region by one time indicating the page may be parsed at run time.
    After setting this back (to validate query) a lot of the columns setting were gone, and also the row-selector
    I actually don't kno how to simply add this row-selector back into place.
    Anyone who can point me in the right direction?
    Thanks a lot
    Wim

    Wim,
    >
    Hi,
    I screwed up an extensive updatable report in Apex 4.2 region by one time indicating the page may be parsed at run time.
    After setting this back (to validate query) a lot of the columns setting were gone, and also the row-selector
    I actually don't kno how to simply add this row-selector back into place.
    Anyone who can point me in the right direction?Have you been able to recover all your other configuration and this is the last thing you need to fix? Or are all those other things needing to be fixed as well?
    The reason I ask is that you may want to consider just starting from scratch, if you haven't put lots of effort into recovering everything else just yet.
    On the other hand, if you just want to add a checkbox back into the SQL statement then you can add this, substituting your column name for empno of course:
    APEX_ITEM.CHECKBOX2(1,empno,'CHECKED') "Select"When you do this you'll get a warning that you're changing the interactive report, which you should accept. Then you need to make sure that the column is actually shown in the interactive report by making sure it's in the displayed columns list. And you may also need to change the display type of the column to "Standard Report Column"
    Hope that helps.
    Earl

  • PLS CONVERT QUERY-  UPDATE to MERGE

    Hi all,
    Can you help me in converting this update statement into merge? I will really appreciate your help. Thanks
    UPDATE dm_organizations tt
    SET (cost_ctr_desc, cost_ctr_hier_lvl_1, cost_ctr_hier_lvl_2,
    cost_ctr_hier_lvl_3, cost_ctr_hier_lvl_4, cost_ctr_hier_lvl_5, rgn_nm,
    cntry_nm, load_date, update_date) =
    (SELECT t.cost_ctr_desc, t.cost_ctr_hier_lvl_1,
    t.cost_ctr_hier_lvl_2, t.cost_ctr_hier_lvl_3,
    t.cost_ctr_hier_lvl_4, t.cost_ctr_hier_lvl_5, t.rgn_nm,
    t.cntry_nm, t.load_date, SYSDATE
    FROM dmi_cc_upload_stg t
    WHERE t.run_id = 1831
    AND t.status = 'Published'
    AND t.cost_ctr_id = tt.cost_ctr_id
    AND t.div_code = tt.div_code
    AND t.fcn_code = tt.fcn_code
    AND t.mkt_code = tt.mkt_code
    AND t.corp_id = tt.corp_id
    AND ROWNUM = 1)
    WHERE EXISTS (
    SELECT t.cost_ctr_desc, t.cost_ctr_hier_lvl_1,
    t.cost_ctr_hier_lvl_2, t.cost_ctr_hier_lvl_3,
    t.cost_ctr_hier_lvl_4, t.cost_ctr_hier_lvl_5, t.rgn_nm,
    t.cntry_nm, t.load_date, SYSDATE
    FROM dmi_cc_upload_stg t
    WHERE t.run_id = 1831
    AND t.status = 'Published'
    AND t.cost_ctr_id = tt.cost_ctr_id
    AND t.div_code = tt.div_code
    AND t.fcn_code = tt.fcn_code
    AND t.mkt_code = tt.mkt_code
    AND t.corp_id = tt.corp_id);

    Duplicate thread!
    PLS HELP CONVERT QUERY FROM UPDATE TO MERGE

  • Crystal Reports 10 Datasource Location and SQL Query update

    I am running Crystal Reports 10 accessing SQL Server 2008 database on Windows 7. Our product changed database names and I'm trying to update reports to point to the new database. Sounds nice and simple. The database has no structure changes yet, it's just a copy and rename of the old database. Both databases exist, same SQL instance, same permissions, etc. ...
    Existing working report:
       Has an ODBC (RDO) location to database DbVersion1
       If I run Show SQL Query, the database name is in the query text (i.e. FROM DbVersion1.dbo.MyTable)
    Attempted:
       In Set Database Location popup, I created a new ODBC (RDO) connection to database DbVersion2
       Updated Current Data Source for report to this new ODBC (RDO) connection.
       Ran Verify Database. Popup stated "The database is up to date."
    But when I run "Show SQL Query", is still shows DbVersion1 in the text, and the report displays data from DbVerison1. When I display the Datasource Location for the report, it shows DbVersion2 as I changed to above. How do I "refresh" the SQL Query to recognize the new Datasource Location?
    Thanks,
    Gary

    Hi Gary,
    A possible couple of issues, CR 10 doesn't support SQL Server 2008 and it doesn't support Windows 7. We had to update CR XI R2 SP 6 and above to make SQL 2008 work. MS changed the name of their client dll so CR is not aware of the new drivers.
    MDAC native driver may work but not sure....
    Try OLE DB, it may work better.
    Thanks
    Don

  • Update users in Active Directory form SQL query update

    I need to update the fields in the
    Active Directory 2003 users from a
    SQL Server 2003 query. Any idea plissss???

    This is an powershell example to create AD users from SQL Server.
    The Powershell cmdlet Set-ADUser will update the AD User fields.
    $SQLText = "SELECT e.BusinessEntityID, p.Title, p.FirstName, p.MiddleName, p.LastName, p.Suffix, "+
    "e.JobTitle, d.Name AS Department, d.GroupName, edh.StartDate, e.LoginID"+
    " FROM HumanResources.Employee AS e"+
    " INNER JOIN Person.Person AS p ON p.BusinessEntityID = e.BusinessEntityID"+
    " INNER JOIN HumanResources.EmployeeDepartmentHistory AS edh ON e.BusinessEntityID = edh.BusinessEntityID"+
    " INNER JOIN HumanResources.Department AS d ON edh.DepartmentID = d.DepartmentID"+
    " WHERE (edh.EndDate IS NULL)"+
    " AND (p.FirstName ='Brian')"
    $SqlCon = New-Object System.Data.SqlClient.SqlConnection
    $SqlCon.ConnectionString = "Server=localhost;Database=AdventureWorks2012;Trusted_Connection=yes;;"
    $SqlCon.Open()
    $SqlCmd = New-Object System.Data.SqlClient.SqlCommand
    $SqlCmd.Connection = $SqlCon
    $SqlCmd = $SqlCon.CreateCommand()
    $SQLCmd.CommandText = $SQLText
    $Result = $SQLCmd.ExecuteReader()
    $Table = New-Object System.Data.DataTable
    $table.Load($Result)
    $SqlCon.Close()
    $Password = "P@assword1"
    foreach($Item in $Table)
    $newUserID=@{
    Name=$item.FirstName+$Item.LastName
    Description="This is a test of a bulk user add"
    GivenName=$item.FirstName
    Surname=$item.LastName
    DisplayName=$item.FirstName+" "+$Item.LastName
    UserPrincipalName="$($item.FirstName+"."+$Item.LastName)@corp.contoso.com"
    EmployeeID=$item.BusinessEntityID
    ScriptPath='login.cmd'
    Company="Contoso"
    Department=$Item.Department
    EmailAddress="$($item.FirstName+"."+$Item.LastName)@corp.contoso.com"
    Title=$Item.JobTitle
    $TargetOU="OU="+$item.Department+",DC=corp,DC=contoso,DC=com"
    Try{
    $newUserID
    New-ADUser @newUserID -Path $TargetOU -ErrorAction Stop -AccountPassword (ConvertTo-SecureString $Password -AsPlainText -Force) -Passthru
    Enable-ADAccount -Identity $newUserID.Name
    Set-ADUser -Identity $newUserID.Name -ChangePasswordAtLogon $true
    Write-Host "UserID $($newUserID.Name) created!" -ForegroundColor green
    Catch{
    Write-Host "There was a problem creating UserID $($item.UserID). The account was not created!" -ForegroundColor Red

  • Sql Query - Update Closing Balance

    Hi
    I am trying to write  a SQL Query , for the following table , I want to update Closing Balance in the table during Query refresh and it should update Closing Balance.
    First Row Cl Balance : Op Balance + Receipt - Issue = Cl Balance
    From Second row      :  Last row Cl Balance + Rec - Issue = Cl Balance up to the end of row .
    Date
    Code
    Op Balance
    Rec
    Issue
    Cl Balance
    01/04/2014
    10001
    5000
    0
    0
    5000
    01/04/2014
    10001
    2000
    7000
    01/04/2014
    10001
    200
    6800
    01/04/2014
    10001
    2500
    9300
    05/04/2014
    10001
    300
    9600
    05/04/2014
    10001
    400
    10000
    05/04/2014
    10001
    2000
    8000
    05/04/2014
    10001
    100
    8100
    09/04/2014
    10001
    50
    8050
    10/04/2014
    10001
    250
    8300
    11/04/2014
    10001
    3000
    5300
    Thanks in advance
    Sandy

    Hi
    Thanks for Instant Solution .
    while running the script its been found that all the entries are not calculating correctly , Kindly find here below Calculated Cl Balance and the correct cl.balance
    select trandate,productcode,nvl(opbal,0)opbal,
                                nvl(ptnqty,0)ptnqty,
                      nvl(waybillqty,0)waybillqty,
                    nvl(clbal,0)ClBal,nvl(first_value(opbal)
    over (partition by productcode order by productcode,trandate), 0 )
    + nvl(sum(ptnqty) over (partition by productcode order by productcode,trandate), 0 )
    - nvl(sum(waybillqty) over (partition by productcode order by productcode,trandate), 0 )
    clbalance_calculated
    from fgaging where productcode = 499001
    order by productcode,trandate
    TRANDATE
    PRODUCTCODE
    NVL(OPBAL,0)
    NVL(PTNQTY,0)
    NVL(WAYBILLQTY,0)
    NVL(CLBAL,0)
    CLBALANCE_CALCULATED
    Correct Cl.Balance
    01-Apr-14
    499001
    812720
    0
    0
    0
    812720
    812720
    23-Apr-14
    499001
    0
    610800
    0
    0
    1423520
    1423520
    30-Apr-14
    499001
    0
    0
    1172590
    0
    250930
    250930
    31-May-14
    499001
    0
    1641750
    0
    0
    27330
    1892680
    31-May-14
    499001
    0
    0
    1865350
    0
    27330
    27330
    30-Jun-14
    499001
    0
    1231250
    0
    0
    729110
    1258580
    30-Jun-14
    499001
    0
    0
    529470
    0
    729110
    729110
    30-Jul-14
    499001
    0
    1767500
    0
    0
    2496610
    2496610
    31-Jul-14
    499001
    0
    0
    1304260
    0
    1192350
    1192350
    19-Aug-14
    499001
    0
    702000
    0
    0
    1894350
    1894350
    30-Aug-14
    499001
    0
    0
    958785
    0
    935565
    935565
    30-Sep-14
    499001
    0
    0
    743943
    0
    495622
    191622
    30-Sep-14
    499001
    0
    304000
    0
    0
    495622
    495622
    31-Oct-14
    499001
    0
    895500
    0
    0
    566322
    1391122
    31-Oct-14
    499001
    0
    0
    824800
    0
    566322
    566322
    26-Nov-14
    499001
    0
    617300
    0
    0
    1183622
    1183622
    30-Nov-14
    499001
    0
    0
    837560
    0
    346062
    346062
    29-Dec-14
    499001
    0
    891000
    0
    0
    1237062
    1237062
    31-Dec-14
    499001
    0
    0
    518000
    0
    719062
    719062
    31-Jan-15
    499001
    0
    0
    1116060
    0
    334002
    -396998
    31-Jan-15
    499001
    0
    731000
    0
    0
    334002
    334002

  • Query update using checkbox

    I have an admin page for a secure site where I am trying to
    add a function using a checkbox to create a true-false condition on
    each record in a database. What I have is a webpage with several
    records (pulled from the database using the cfquery loop, and
    assigned an ID that is stored in the database). Each record on the
    page has a checkbox; checked=true. What I want to do is make it
    possible to edit the checkboxes on the page, then have the user
    refresh the page using a submit button on the form, which will then
    update the database. However, I'm having a problem passing the
    value of the checkbox correctly to a cf page to run the update
    query and refresh the page.
    What values am I passing forward from a form using a
    checkbox, and what datatype should I be using to store that value
    in a SQL Server 2000 database? (Right now I'm testing with Access.)
    How do I convert the value from the checkbox to the true/false
    condition for the database to fit that datatype?
    My understanding is, the criterion for a checked box is
    checked="checked", and nothing if not checked. But how do I check
    to see if that value has changed? I'd rather do this without
    Javascript.
    Thanks!

    Tried it. Didn't work.
    Here's the code:
    <td><input type="checkbox" <cfif
    (#GetHeadlines.Show# EQ true)>checked="checked"</cfif>
    value="chk#getheadlines.id#" /></td>
    Here is also the code it's going to:
    <cfif isdefined ("form.value")>
    Value: #form.value#<br />
    </cfif>
    For good measure, I thought I'd include the form declaration:
    <form name="update" action="update_admin.cfm"
    method="post">
    This is just for testing purposes for now. However, I'm
    getting nothing on the back end page. So the value isn't being
    passed. I must be doing something wrong with the form, but
    what?

  • Power Query Update 2.16.3785.242 (64-bit) has Corrupted Excel

    The most recent update to Power Query has rendered Excel useless.  Any use of the Ctrl key (copying, pasting, etc.) will cause Excel to crash and restart.
    A co-worker had the same problem yesterday and we were perplexed in its origin, though it became clear the update was the source after updating this morning.
    We need a fix ASAP!

    Hi W. If you can still repro the crashes, can you please do the following to get a crash dump and then send it to us? (You can use the Send a Frown functionality on the working version of PQ.)
    Edit the registry, open the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting and change the DWORD value ForceQueue to 1
    Open %LOCALAPPDATA%\Microsoft\Windows\WER\ReportQueue in Windows Explorer to monitor it
    Reproduce the crash – at this point something should appear briefly in the ReportQueue folder 
    Thanks,
    Ehren

Maybe you are looking for

  • Acrobat 7.1 IE plugin cannot open .pdf Files with mt/application/octet-stream

    Hi Folks, we have some problems to open pdf - files via Hyperlink in an IE Explorer. this files get from the web-server the MIME-Type "octet-stream". the only option is to save and then open the pdf files. But we want to open the pdf files directly I

  • IPhoto interacting with Facebook Albums...

    I just reorganized all of my facebook photos into new albums.  I wanted to upload some more photos directly from iPhoto but it is NOT recognizing any of my new albums.  How do I get it to bring in the names of these new albums so I can use them prope

  • Pricing Tables for subcontracting PO

    Hi The scenario is: creation of PO for subcontracting, in my pricing procedure I need to use a discount condition that depends on the meterial code that I issue as component, using pricing rule I have structures KOMK and KOMP but there isn't the comp

  • Pictures in Mail

    Few if any of my pictures open up when I forward or send open JPEG pics through email. Does the Mac reformat pics? and is there anything I can do?

  • Looking for a Free RAW file to play with

    I don't have my SLR yet and Adobe seems to have not included a "sample" RAW image to play around with. Does anyone know where I might be able to download one for free just to mess around with? I've been playing with some jpg images and it's GREAT! I'