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

Similar Messages

  • Multiple Rows Update / Refresh Toplink Query when database trigger involved

    Hi everybody!
    I have two easy troubles for you; the platform is the same as the SRDemo Toplink version.
    1.     Multiple Rows Update: I want to update with mergeEntity method, multiple rows for an isolated table; that method receives a parameter that I try to bind with the iterator "dataProvider" but it only merges the first row, not all, any other combination returns an error.
    What I want to do is to have a form (like tabular forms in Apex) that lets me update multiple rows in a single page. ¿May anyone tell me how to do it?
    2.     Refresh Toplink Named Query: I have a list on a page with two columns. From another page, a button does an action that fires a database trigger that updates one of the columns on the list´s page. When I go back to the list, it is not updated; however, the CacheResults´s property is set to false on the iterator.
    Thanks in advance,
    Alejandro T

    I didn't use it (yet), but - you might take a look. You'll find a [url http://www.oracle.com/technetwork/developer-tools/apex/application-express/apex-plug-ins-182042.html]Timer plug-in on this page. It is a dynamic action which allows you to periodically fire other dynamic actions in the browser. For example use the timer to refresh a region every five minutes. You can perform any dynamic action you want using this infrastructure.So I was thinking: you might use it to run a dynamic action which would check whether something changed in that table (I suppose you'll know the way) (for example, a database trigger might set a flag in some table, timestamp or similar), and - if you find that something really changed - refresh the page.
    As I said, I never used it so that's pure theory. Someone else might know better, though.

  • Multiple Rows Update

    Hi,
    I am creating a form which will display the multiple rows from the table. Is there any way to make multiple rows update at the same time.
    If it is report generated by the query, can we do multiple rows update.
    Regards,
    Munish

    Munish,
    Sounds like what you’re looking for is a tabular form. Click on create page, then choose form, then tabular form and follow the steps of the wizard. This will create a tabular form for you that lets you update multiple rows, add new rows and delete multiple rows.
    Regards,
    Marc

  • How To Delete Multiple Query Elements in a Transport

    Guys,
    How do you delete Multiple Query Elements in a transport in DEV? Or it's not posible.  I tried to select multiple but only one is being deleted.
    Thanks,
    Recca

    Hi Recca,
    As Nanda said, just go to tcode SE03..Click Unlock Objects (Expert Tool)..Paste your TR number (one at a time) then click Unlock..
    Go back to SE10 and delete your TR numbers..
    Regards,
    Loed

  • How to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part

    Hi,
    I want to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part like mentioned below:
    http://server/pages/Default.aspx?Title=Arup&Title=Ratan
    But it always return those items whose "Title" value is "Arup". It is not returned any items whose "Title" is "Ratan".
    I have followed the
    http://office.microsoft.com/en-us/sharepointserver/HA102509991033.aspx#1
    Please suggest me.
    Thanks | Arup
    THanks! Arup R(MCTS)
    SucCeSS DoEs NOT MatTer.

    Hi DH, sorry for not being clear.
    It works when I create the connection from that web part that you want to be connected with the Query String Filter Web part. So let's say you created a web part page. Then you could connect a parameterized Excel Workbook to an Excel Web Access Web Part
    (or a Performance Point Dashboard etc.) and you insert it into your page and add
    a Query String Filter Web Part . Then you can connect them by editing the Query String Filter Web Part but also by editing the Excel Web Access Web Part. And only when I created from the latter it worked
    with multiple values for one parameter. If you have any more questions let me know. See you, Ingo

  • Error while doing multiple object updation from EP ! object lock error

    HI all,
    I am doing multiple  object updation using a standard RFC(BAPI_PROJECT_MAINTAIN). The RFC i am calling from Enterprise portal. I am sending data to RFC one by one. But the error i am getting is object is locked by user so data can't be save.
    Though i am using Lock and unlock method before and after calling RFC the project lock error comes up.
    What might be the reason
    regards
    sandeep

    Hi Sandeep,
    Is the RFC you use for locking in the same model as the bapi BAPI_PROJECT_MAINTAIN? If it is not then you are using two connections for communication with the sap R/3 backend.
    You can do 2 things.
    1. You could add the RFCs for locking in the same model as the BAPI_PROJECT_MAINTAIN
    2. Instead of adding the RFCs in one model synchronize the connections the models use as follows:
    IWDDynamicRFCModel model1 = (IWDDynamicRFCModel) WDModelFactory.getModelInstance(Model1.class);
    IWDDynamicRFCModel model2 = (IWDDynamicRFCModel) WDModelFactory.getModelInstance(Model2.class);
    model1.setConnectionProvider(model2);
    You can do this in the wdDoInit. This will make sure both models use the same connection but closing a connection will close both at the same time.
    The same problem applies to commit/rollback functionality.
    Regards,
    Jeschael

  • Unable to display results of multiple query in grid in Oracle SQL Developer

    Hi, I am a newbie to this forum and couldn't find the Oracle SQL Developer forum so posting it here.
    My question: How to display multiple query results in grid in Oracle SQL Developer.
    Example:
    select * from Employee;
    select * from Department;
    - when I select both the queries and hit F5 in Oracle sql developer. By default it displays in output window.
    - How to display result of both the queries in Grid.
    Any thoughts on this would be really helpful.
    Thanks in advance.
    Harsh

    Hi Harsh,
    I'd say that the Results grid is designed to only show the results of 1 query at a time. I don't know/can't see how it would display multiple queries at a time.
    I would suggest either joining your tables to create a single query or opening another SQL Worksheet for one of the queries so that you can display the results side-by-side.
    Maybe you could explain what you're trying to do. Why are you trying to display multiple results in the same query grid?

  • Case statement in a multiple query

    Hi everyone,
    This is my first time to use case statement in a multiple query. I have tried to implement it but i got no luck.. Please see below
    set define off
    SELECT g.GROUP_NAME as Market
    ,t.NAME as "Template Name"
    ,t.TEMPLATE_ID as "Template ID"
    ,(SELECT created
    FROM material
    where template_id = t.template_id) as "Date Created"
    *,(SELECT DESTINATION_FOLDER_ID,*
    CASE DESTINATION_FOLDER_ID
    WHEN NULL THEN 'Upload'
    ELSE 'HQ'
    END
    from log_material_copy
    where destination_material_id in (select material_id
    from material
    where template_id = t.template_id ))as "Origin"
    ,(select material_id
    from log_material_copy
    where destination_material_id in (select material_id
    from material
    where template_id = t.template_id)) as "HQ/Upload ID"
    ,(SELECT COUNT (mse.ID)
    FROM MATERIAL_SEND_EVENT mse, material m, creative c
    WHERE mse.MATERIAL_ID = m.MATERIAL_ID
    AND mse.MATERIAL_TYPE_ID = m.MATERIAL_TYPE_ID
    AND m.ASSET_ID = c.id
    AND c.TEMPLATE_ID = t.TEMPLATE_ID) as Sent
    ,(SELECT COUNT (de.ID)
    FROM download_event de, material m, creative c
    WHERE de.MATERIAL_ID = m.MATERIAL_ID
    AND de.MATERIAL_TYPE_ID = m.MATERIAL_TYPE_ID
    AND m.ASSET_ID = c.id
    AND c.TEMPLATE_ID = t.TEMPLATE_ID) as Download
    ,(SELECT 'https://main.test.com/bm/servlet/' || 'UArchiveServlet?action=materialInfo&materialId=' || DESTINATION_MATERIAL_ID || '&materialFolderId=' || DESTINATION_FOLDER_ID
    from log_material_copy
    where destination_material_id in (select material_id
    from material
    where template_id = t.template_id)) as "URL to template on MPC layer"
    --, t.AVAILABLE_FOR_TRANSFER as "Available for transfer"
    FROM template t, layout l, groups g
    WHERE t.LAYOUT_ID = l.LAYOUT_ID
    AND l.ORGANIZATION_ID = g.IP_GROUPID
    AND g.IP_GROUPID in ( 1089, 903, 323, 30, 96, 80, 544, 1169, 584, 785, 827, 31, 10, 503, 1025 )
    ORDER BY g.GROUP_NAME ASC;
    The one in bold is my case statement.. Please let me know what is wrong with this.
    Regards,
    Jas

    I think you're getting the idea, but:
    You're still selecting 2 columns in the (scalar) subquery. Did you read the link I posted for you?
    "a) scalar subqueries - *a single row, single column query that you use in place of a "column"*, it looks like a column or function."
    You must move that query outside, join to template.
    Something like:
    NOT TESTED FOR OBVIOUS REASONS SO YOU'LL PROBABLY NEED TO TWEAK IT A BIT
    select g.group_name as market,
           t.name as "Template Name",
           t.template_id as "Template ID",
           m.created  as "Date Created",
           lmc.destination_folder_id,
           case lmc.destination_folder_id
             when null then 'Upload'
             else 'HQ'
           end as "Origin"
           (select material_id
              from log_material_copy
             where destination_material_id in
                   (select material_id
                      from material
                     where template_id = t.template_id)) as "HQ/Upload ID"
           (select count(mse.id)
              from material_send_event mse, material m, creative c
             where mse.material_id = m.material_id
               and mse.material_type_id = m.material_type_id
               and m.asset_id = c.id
               and c.template_id = t.template_id) as sent
           (select count(de.id)
              from download_event de, material m, creative c
             where de.material_id = m.material_id
               and de.material_type_id = m.material_type_id
               and m.asset_id = c.id
               and c.template_id = t.template_id) as download
           (select 'https://main.test.com/bm/servlet/' ||
                   'UArchiveServlet?action=materialInfo&materialId=' ||
                   destination_material_id || '&materialFolderId=' ||
                   destination_folder_id
              from log_material_copy
             where destination_material_id in
                   (select material_id
                      from material
                     where template_id = t.template_id)) as "URL to template on MPC layer"
    --, t.AVAILABLE_FOR_TRANSFER as "Available for transfer"
      from template t
      ,    layout l
      ,    groups group by
      ,    MATERIAL M
      ,    LOG_MATERIAL_COPY LMC
    where t.layout_id = l.layout_id
       and l.organization_id = g.ip_groupid
       and M.TEMPLATE_ID = t.template_id
       and LMC.destination_material_id in ( select material_id
                                            from   material
                                            where  template_id = t.template_id
       and g.ip_groupid in (1089,
                            903,
                            323,
                            30,
                            96,
                            80,
                            544,
                            1169,
                            584,
                            785,
                            827,
                            31,
                            10,
                            503,
                            1025)
    order by g.group_name asc;

  • Multiple Query/View usage

    "Avoid multiple query execution by assigning a query or view to just one data provider, which is used by all web items."
    could you please explain me the importance of this?

    the data provider is like a variable that you can use in multiple objects (charts, tables, navigational objects, filters, etc...).  If you assign a data provider to query XYZ, then you can assign that data provider to table, chart, and filter objects.  When you filter the data provider, then you also filter the charts and tables.
    If you assign the same query to different data providers and dp1 is used in the filter, dp2 is in the table, etc..., you cannot use your filter to filter your table. 
    It's just a method to link the objects together in an easier manner.
    Brian

  • Multiple record update extension issue (felixone

    I just purchased the Multiple Records at Once Extension by
    Felixone. I have put it to good use but have noticed an issue with
    it. PHP MySQL.
    I am using Dreamweaver 8 with the Repeat Region behaviour,
    and the Recordset Navigation Bar, along with the extension to
    update multiple values at once from a recordset.
    If there are more records than can be displayed on the first
    page of navigation. E.g. Showing records 1-10 of 15, when doing a
    multiple table update (in this case changing a single value from 0
    to 1 and vice versa) a MYSQL error comes up. The operation is still
    completed but it doesn't go to the page specified after the update
    in the extension, but stays on the current page with the following
    error at the top:
    You have an error in your SQL syntax. Check the manual that
    corresponds to your MySQL server version for the right syntax to
    use near '' at line 1
    In the mean time, to overcome the issue, I am able to display
    all records on a single page, however once the records build up it
    won't be acceptable to have a potentialy very long list of records
    when I would like to display only 15 at a time.
    Has anyone had any experience of this, and if so would you be
    willing to help me. I have emailed felixone but I need this sorting
    out ASAP.
    Notice I have changed the show results to 5000, as going into
    the repeat region behaviour and saying 'show all' would not do
    anything. It always put it back to ten.

    Thank you Anurag,
    I have already the db created ,
    My question is how best to get the users local time
    availability into the
    database, what is the best method to use, should I use list
    menus, etc, has
    any one had to do this in a project before.
    and then when some one comes to my site i want them to be
    able to compare
    the time stored with the time of the site users country
    locally using an if
    else statement. i am using asp vb and sql server
    regards
    kenny
    "Anurag" <[email protected]> wrote in message
    news:e58mta$kbg$[email protected]..
    > Well basically first you have to collect:
    > a, the users phone number
    > b, the "display times"
    >
    > and store those values in a database - don't even think
    about NOT using
    > one
    >
    > Then you simply check when the page is called whether
    the current time
    > is within the display time...
    >
    > Oh, btw you probably have to think about which time you
    are talking about:
    >
    > the mobile phone owner's local time, the viewer's local
    time, your
    > server time...
    >
    > That should do the trick...
    >
    > Anurag
    >
    >
    >
    > twocans wrote:
    >> hello,
    >> I am looking to give my user a "show my phone
    number" option to show his
    >> mobile phone number online and at selected times by
    that user, I need to
    >> create a page that will allow my user to apply this
    as best and as easy
    >> as
    >> possible, my users are unaversial based. how best
    can I do this, is thre
    >> a
    >> snippet out there that anyone knows that may help. I
    am willing to pay if
    >> any one knows of such suitable code.
    >>
    >> regards
    >>
    >> kenny
    >>
    >>

  • Multiple row update of a table from another one

    Im trying to make a multiple row update with date from a different table, but it's giving me an error.
    update inv.mtl_system_items_b
    set attribute1 = t2.description,
        last_update_date = SYSDATE,
        last_updated_by = 3606
    from inv.mtl_system_items_b t2
         inner join TMP.TMP_INACTIVAR_PRODUCTOS t1
         on t2.segment2 = t1.inventory_item_id;Edited by: user8986013 on 21-may-2010 14:15

    Hi,
    Whenever you have a question involving an error message, post the complete error message, including line number. Don't you think that might help people solve your problem?
    Whneve you have any question, post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data. (In the case of a DM<L statement, like UPDATE, the INSERT statements show the tables before the change, and the results are the contents of the changed table after it.)
    Review the syntax of the UPDATE statement in the SQL Language manual:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_10008.htm#sthref9598
    MERGE may be more efficient and easier to use than UPDATE.

  • How to make & edit multiple query report

    hi,
    how to make multiple query report & i have an existing multiple query report when i edit it all the structure gets disturbed whenever i want to add or delete any column from an query.
    how to do this ?
    txs

    Perhaps you have "Flex Mode" selected in the Layout Editor? It's the button next to the padlock button.
    Message was edited by:
    Dave Hemming
    Also PS: Vaguest. Question. Ever.

  • Multiple row update; CEV business rule parameters are not refreshed

    During a multiple row update, a business rule is fired for each row.
    This change event business rule must update the value of another column in the same table (and same row).
    Unfortunately, the parameters of the BR are keeping the values of the first row that has been checked. Since my parameter p_id always keeps the same value, I always update the same row.
    Does somebody have a hint on how to solve this problem ?
    I'm using Headstart R6i and Forms6i with Oracle9i DB.
    Thanks in advance for your help,
    Denis.

    I think that's how it works. I tried that with a variable where type is Members.
    It is not showing me a prompt when i select multiple rows. However works only for first row. (even if the menu is initiated from second row).
    Multiple rows selected, variable type is members. works only for first row in selection. (in 11.1.2.2) You can try log an SR and see what Oracle has to say.
    Regards
    Celvin
    http://www.orahyplabs.com

  • Having multiple query windows open at once.

    I wasn't sure how to phrase it so after some digging I'm resorting to asking on here.
    I've been working out of the 'Joes2Pros' series and I work within SMMS with SQL standard installed locally for playing.
    Most of the time I like to have multiple query windows open to save queries to reference later just for examples.
    My question is that is there a way to ensure a query window is not using any databases so that when I run the lab setup scripts for Joes2Pros I don't encounter any errors without having to close my other query windows?
    Any help is greatly appreciated! Thanks in advance.

    You can accomplish this multiple ways:
    1. Have your windows open with the database context set to master (select master DB in the dropdown on the toolbar) 
    2. "USE master; go" statement as the first line in all your query windows
    3. Before you run your setup scripts, issue a kill command to terminate all other query window sessions (this will still keep the query windows open but they won't be connected to any database)
    Satish Kartan http://www.sqlfood.com/

  • How can I remove the repetitive multiple daily updates from Mozilla

    Hello
    How can I remove the repetitive multiple daily updates from Mozilla?
    Within a day, each day I get prompts as: Mozilla Firefox Update is ready to install at your computer.........then I do install and update it.......then after few minutes again it asks to update the same edition.........again after logging in back few hours later it prompts me again with the same request........IT IS VERY ANNOYING!
    Thank You,
    Gene

    ''the-edmeister [[#answer-683804|said]]''
    <blockquote>
    You could allow the update to proceed - that will stop Mozilla from asking if you want to update every time you launch Firefox, as is supposed to happen.
    Any particular reason that you don't want Firefox 35.0.1 to be installed?
    </blockquote>
    Hi The EDmeister,
    Thank you for your response.
    Nevertheless, I have to repeat that I have ALREADY INSTALLED the Firefox 35.0.1 in my computer and ALLOWED IT TO PROCEED.
    The same edition is prompting me back again, and again and again, within a day, each day. I get that annoying message at the top-right hand.
    I do not want to see it every time, multiple times a day, that is the issue here, unresolved!
    Best regards,
    Gene

Maybe you are looking for

  • Nothingness... white limbo..is what I see when I try to boot up my mac pro.

    Left on my mac pro tower 4-core with 3 gigs of ram on all night as I often do. I merely power down the apple 23" monitor because that's the only that heats up. Came down in the morning, turned on the monitor and all I see is a white screen. just all

  • Output Type MLGR, 'Report Goods Receipt to Buyer' not proccessed correctly

    Hi We are using output type MLGR to send a doc 'Report Goods Receipt to Buyer' which is defined under->Output Types->Mail title and texts. Its 'Proccessing Routine' is: RSNASTSO Form Routine is: SAPOFFICE_AUFRUF All is well when we use MB02 MLGR,'Sim

  • Export and import entire database

    hi. when I did export all database to a file , and then i import it to unix machine with oracle 8.1.7 , it didn't gave me error messages, and all user were created as well. in unix (or maby in oracle 8.1.7) i didn't have to create all the users, tabl

  • Retreiving data from 2 tables using a sender JDBC Channel

    Hi all, We got anew requirement where we have to select data from 2 tables and update fields in 2 tables at the sametime. I have a few queries regarding this. Can we retrieve data from 2 tables using select query in sender JDBC channel? If yes, how w

  • Holidays in the calendar

    Does anyone know how to display holidays like Christmas in the calendar of the Curve 8310. I am stumped.  Solved! Go to Solution.