Need help with the update server behaviors and deleting records

I am 'trying' to use the update and delete record server behaviors and I can't get the redirection page to set up correctly. What I'm trying to do, is to have the redirection came up with the right records depending on the CompId page. It seems that it is taking the CompId and agreementId (which are my unique ID) and use them in the url of the redirection page. Also, it updates the table. Here is the url that appears after I have send the update:

http://localhost:8888/dotweb/maintenance/agreement_home.php?CompId= & agreementId = 7

Here is the code for the update page:

Name of the document
Signed?
First name
Family name
Date of signature

Pending patent, trade mark, Tradesecret and straightened to copy recorded
Copyright KML designs 2009

Can someone tell me why it would show the CompId and agreementId when everything I asked the CompId? Thanks for your help. Just in case, I enclose you an html version of this file. It must be a php file, but is not one of the allowed file types.

CompId is not filled in the URL because you try to use the result of the rsAgree recordset object until the result of the recordset is created. However, you pass the CompId value via array $_POST as a hidden field.

Change this line (52):

$updateGoTo = "agreement_home.php?CompId=" . $row_rsAgree['CompId'] . "";

to do this:

$updateGoTo = "agreement_home.php?CompId=" . $_POST['CompId'];

Tags: Dreamweaver

Similar Questions

  • need help with the Update statement

    Hello
    I received a question in a course and I tried my best to respond, and now my brain is giving. I would really appreciate help with the update statement. I don't mind if you do not validate a solution, a little nudge in the right direction would be really useful. I'll post that I got.

    THE QUESTION
    / * For these agents disabled on more than seven missions, change their date of deactivation of the first date of deactivation of all the agents that have been activated in the same year as the agent that you update currently.
    */

    I have it divided into parts, here is my select statement to agents disabled on more than 7 missions, which produces the deactivation_dates in the agents table that I want to update...
    SELECT
    s.deactivation_date
    FROM
    (
    SELECT
    a.deactivation_date,
    count(m.mission_id) as nomissions
    FROM
    agents a
    INNER JOIN
    missions_agents m
    on
    a.agent_id=m.agent_id
    GROUP BY
    a.deactivation_date
    ) s
    WHERE
    s.nomissions>7 AND s.deactivation_date IS NOT NULL
    .. .and the code for the first date of deactivation for each year of activation agent
    select 
    a2.deactivation_date
    from
    agents a2
    where a2.deactivation_date= 
    (
    select min(a.deactivation_date)
    from 
    agents a
    where to_number(to_char(a.activation_date,'YYYY'))=to_number(to_char(a2.activation_date,'YYYY'))
    )
    ..... I am not real to marry these two statements together in the Update statement. I can't extract each date of deactivation produced in the first select statement and their match against the first date of deactivation in the year they have been activated for the second select statement.

    Any help greatly appreciated... :))

    I began to wonder how things would :)

    user8695469 wrote:
    First of all why he chooses the date the earliest of all agents

    UPDATE  AGENTS_COPY AC /* (1) */
    SET     DEACTIVATION_DATE = (
    SELECT  MIN(AGS.DEACTIVATION_DATE)
    FROM    AGENTS_COPY  AGS
    ,       AGENTS_COPY AC /* (2) */
    WHERE   TRUNC(AGS.ACTIVATION_DATE,'YEAR') = TRUNC(AC.ACTIVATION_DATE,'YEAR') /* (3) */
    )
    

    He recovers as soon as the subquery has not been correctly set in the SET clause. It seems you are trying to update a correlated, but we are still having a conceptual shift. I have added a few comments to your code above and below will explain.

    (1): when you do a correlated update it is useful to the table alias that you did right here.

    (2): this table statement is not necessary and is the reason why the FIRST deactivation date is selected. The alias that you use (3) refers to THIS table, not the one defined in the update statement. Remove the line indicated by (2) in the FROM clause and a correlated update will happen.

    and secondly why is it to update each row, when I thought that I'm just the lines where the agents are disabled and missions > 7? Pointers on where I'm wrong would be very appreciated. (SQL = stupid query language!) :)

    user8695469 wrote: then why is it to update each row, when I thought that I'm just the lines where the agents are disabled and missions > 7? Pointers on where I'm wrong would be very appreciated. (SQL = stupid query language!) :)

    
    WHERE EXISTS
    (
    SELECT
    a.agent_id,
    count(m.mission_id)
    FROM
    agents a
    /* INNER JOIN AC ON AC.AGENT_ID = A.AGENT_ID */
    INNER JOIN
    missions_agents m
    ON
    a.agent_id=m.agent_id
    GROUP BY
    a.agent_id,
    a.deactivation_date
    HAVING
    count(m.mission_id)>7 AND a.deactivation_date IS NOT NULL
    )
    

    Once again this problem is similar to the question above that a correlation update doesn't work. Test existence of lines in an EXISTS subquery. Since your subquery is not related to the table that you are trying to update, it will be always return a line and, therefore, it returns true for EACH LINE in the AGENTS table. To limit the game to only agents > 7 missions results, you need to add a join condition that references the table in your update statement. I added one above (with comments) as a sample.

    I recommend you look over all material that you have associated with correlated subqueries, including documents that I posted above. This seems to be what you're having the problem more with. If you need me to explain the concept of correlated queries any better please let me know.

    Thank you!

  • Need help with the update with several joins statement

    I have the following select statement, which takes 29 records:
    SELECT
    PAA. PROJECT,
    PAA. SEGMENT1,
    PEIA.expenditure_item_id,
    PEIA.expenditure_type,
    PEC.expenditure_comment
    OF PA.PA_PROJECTS_ALL APP.
    PEIA PA.pa_expenditure_items_all,
    PEC PA.pa_expenditure_comments
    where PPA.segment1 < '2008' and
    PPA.project_id = 52 and - just run for project # 20077119 for the test
    PEIA.expenditure_type = 'PAY' and
    PEIA.project_id = ppa.project_id and
    PEC. EXPENDITURE_ITEM_ID = PEIA. EXPENDITURE_ITEM_ID;

    I need to update the pec.expenditure_comments to a static field for 29 records. I guess I should start with the following, but don't know how to fill in the where:
    Update
    PEC PA.pa_expenditure_comments
    Set pec.expenditure_comment = ' REFERENCE HD #728'.
    where
    ???

    First time we have ever needed to update, so any help appreciated.

    Try using are:

    update pa.pa_expenditure_comments pec
    set    pec.expenditure_comment = 'REFERENCE HD#728'
    where exists ( select null
                   from   pa.pa_projects_all ppa
                   ,      pa.pa_expenditure_items_all peia
                   ,      pa.pa_expenditure_comments pec2
                   where  ppa.segment1 < ''    -- not sure what you posted here, so for next time:
                                               -- please put your examples between the code tags.
                   and    ppa.project_id = 52  -- just run for project # 20077119 for testing
                   and    peia.expenditure_type = 'PAYROLL'
                   and    peia.project_id = ppa.project_id
                   and    pec2.expenditure_item_id = peia.expenditure_item_id
                   and    pec2.expenditure_item_id = pec.expenditure_item_id
                 );
    
  • Need help with the update of Windows (OS-Windows 7)

    Hello world

    Recently, I met a problem with Windows update on my laptop (OS-Windows 7). Everything is fine with it, but when I try to install updates (recommended or optional) window says that it downloads the updates, but the progress remains to 0KB and 0% downloaded status. I tried to restart the service of windows update with utility update of windows running, but without success. However, I was able to install updates, most of them associated with Microsoft.NET framework 3.5.1 (I'm not sure of the version of the .NET Framework is installed in my computer). But when I tried to install other updates updated security windows or .NET Framework 4. XX version update, he gave the same answer that I mentioned above.

    I can give my specifications and other information required if necessary.

    Please help me with this problem about the update of windows.

    Thanks for your time and your help.

    Try the following: set never 'Find updates' automatic updates and then restart Windows. Download and install KB3161608.

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

    Best regards, VZ

  • Need help with the update for my 11 elements

    I have 11 items and just switch to the Canon 7 d Markii and shooting in RAW for the first time last night and the editor and organizer elements does not files because it does not acknowledge the BRUTE of the 'new '... device information I tried the update and he offered only a 7.4 update, where the 7 5 d Markii must at least a 8.7 update... How can I get the latest update if my program does not by itself? I DON'T like the way Canon program from the disk provided with the camera is set for RAW images, and I don't want to have to change all the RAW files to only align my items... I enjoyed how the older my camera RAW files were brought in Editor with the pop-up window which allow me to make changes to quick for photos before opening them in the editor... Yet once I don't like how the Canon window works for RAW images... Thanks for any help on this... Nicole

    Camera Raw 8.7 was introduced in PSE13. If your software is too old to be compatible. Yu have two choices:

    1. Upgrade to the latest version PSE14
    2. Converting your CR2 for Adobe (DNG) Raw and DNG files will work with PSE11

    The Adobe's DNG Converter is free, and you can batch process all of a file CR2 by selecting a source folder and destination folder.

    Download the latest DNG Converter 9.6.1 Mac | Win

  • Need help with the classes of structure and folders!

    Hello all :)
    I've been programming some time in Actionscript 3 now. But most of the time I did not so much major projects. So I just had 1 folder with the Fla and class and other classes for different objects. But yesterday, I discovered that I need some more when structuring projects is growing. So what I would like is to have the main file with fla and a file in this folder with the classes or something. But I can't understand it. Searched around the web and Yes tried many things. So now, I have discovered that I need help to solve this problem :)!
    Hope someon can help me with this one, it should be pretty easy, but I understand it now.

    Thanks to !

    You have assigned the MainAs as the file MainFLA.fla document class?

    You have an object in the library that is linked to the class 'Classes.Animal '?

    I would like to declare the variable of animal1 where you have one, but I would not instantiate until, within the service of MainAs.

    SerializableAttribute public class extends MovieClip {} MainAs

    public var animal1:Animal;

    public void MainAs() {}

    the constructor code

    animal1 = new Animal();

    addChild (animal1);

    }

    Is the code that show you for the placement of the Animal object a typo or do you really have it assign the property x twice?

  • I need help with the updates listed below

    I tried several times to install updates as follows: KB 2468871 KB 2533523 for my Vista SP2 program with a 32-bit and I get the error message 643 / I use Chrome most of the time, but I also have IE.

    You're certainly not alone...

    You can try to repair the .NET Framework 4 and if that doesn't work, download updates relevant manually and install the same.

    To repair the .NET Framework 4 Client Profile or .NET Framework 4 extended etc. -.

    ·         Click on start/Orb and click on Control Panel.

    ·         Go to the program and features.

    ·         Locate the Microsoft.Net Framework 4 Client Profile or .NET Framework 4 extended, right-click.

    ·         You should have the choice to repair or uninstall/change, click it.

    ·         This will then give you the opportunity to fix it

    ·         Select the repair option.

    Manual download of updates (just search for the most relevant to your problem)

    1. http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27017 (KB2539636)
    2. http://www.microsoft.com/download/en/details.aspx?id=3556 (KB2468871)
    3. http://www.microsoft.com/download/en/details.aspx?id=27014 (KB2533523)

    Make sure you download the one appropriate for your system.

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

    Install as administrator.

    Addition, it is rather a big discussion here:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_update/Windows-update-fails-to-install-updates-kb2539636/039d7c34-5e25-4cbe-bc47-e0620a6d5b7e

  • Need help with the portion of Base and bind the DSN of the configuration of worskpace

    I use a simple laboratory setting.  My DC is called "dc" and my domain name is called horizon.local - I am using the 'administrator' account that I did not move and is still under the Group of users.  What would be my BASE and DN LINK?

    BASIS would be: DC = Horizon, DC = local

    Bind would be: cn = administrator, OU = users, Dc = horizon, dc = local

  • I'm on Acrobat 10 and I need help with the distribution of shape feature. Is there a way to change the registration e-mail download addressed to the? Currently all forms I create and then distribute may only be subjected to my email account... I appreciat

    I'm on Acrobat 10 for mac and I need help with the distribution of shape feature. Is there a way to change the registration e-mail download addressed to the? Currently all forms I create and then distribute may only be subjected to my email account... I appreciate any help!

    Do not use the feature distribute the form. Instead of this, just put up a button "submit" and configure it to send email using any email address you want. Just add a button and set the action of the mouse upward on "Submit a form" and use a type mailto URL and specify that you want to send the full PDF. Then activate the reader of the document: where "Advanced/extended features in Adobe Reader" is located in Acrobat XI?

    If you really want to use distribute the form for some reason, change the e-mail address in your preferences: Edit > Preferences > identity > Email address

  • I need help. I updated Adobe cc and now my photoshop does not work. Here is the error message:

    ' I need help. I updated Adobe cc and now my photoshop does not work. Here is the error message:


    Problem event name: APPCRASH

    Application name: Photoshop.exe

    Application version: 16.0.0.88

    Application timestamp: 55681d 39

    The default module name: StackHash_76b2

    The default module version: 0.0.0.0

    The default module timestamp: 00000000

    Exception code: c0000005

    Exception offset: 0000000000000006

    The system version: 6.1.7601.2.1.0.768.3

    Locale identifier: 3084

    Information extra No. 1: 76 b 2

    Information extra No. 2: 76b2e5a7b24373bbe6f47563f13e47b1

    Information extra No. 3: 51ff

    Information extra No. 4: 51ff68a42cf4d2164e10e22e1f794f34


    Hi Oscar,.

    Please see the thread below:

    Photoshop CC 2015 crashing?

    You can also check: 2015 release of Photoshop CC: FAQ

    Kind regards

    Sheena

  • Making the ear of corn and need help with the ball.

    I do some corn on the COB for an illustration and I need help with the texture of the ball. I've been slowly making progress with gradient for kernels mesh, but I can't seem to recreate the look of the ball at all. I tried to recreate it in a rectangle by using the option in the menu object (1 row, 50 columns) gradient mesh and I'm trying with the fusion in object mode, but not lucky yet. Can someone help to put me on the right track to make the texture:

    http://images.clipartof.com/sweet-corn-on-the-cob-with-husk-royalty-free-vegetable-stock-photo-by-kennygadams-4501068853.jpg

    http://image.shutterstock.com/display_pic_with_logo/660550/660550,1298544740,8/stock-photo-ripe-corn-vector-illustration-on-white-background-71847955.jpg

    http://static5.depositphotos.com/1012047/533/v/950/depositphotos_5336961-Corn-oil.-Stylized-drop-of-oil-and-corn-cob..jpg

    I've been slowly making progress with gradient for kernels mesh, but I can't seem to recreate the look of the ball at all.

    Tank,

    You have published three images stylistically very different. The first is photographic and call probably (but not necessarily) for graduates of mesh. The other two are graphical treatments (and frankly, they're both rather flat; lack of depth).

    Illustration style extends the range of cartoonish in sketchy photo-realism and all the rest. The problem is you didn't show your own attempt so that anyone can have an idea of what you're trying to achieve the stylistic point of view.

    I just need to put in place so that the final step does not appear the whole box. The problem now is trying to make the style of the good brush to reproduce the effect...

    You seem to think you have to build a kind of linear construction and then find a way to reshape the shape of each part of the leaf. Yes, you pouvez approach it this way, but Illustrator users has often tend to be what aunt Molly would call "too clever by half."

    Not everything must be something semi intelligent auto or complex and tedious consruct involving brushes, envelopes, masks, etc, etc. Much can be accomplished by thinking that he just thanks to measure you draw directly economic paths and constructions, which take no more time (often less) and result in very tidy, simple files. Again, a lot depends on what you are trying to achieve the stylistic point of view. But here's an example that only took a few minutes to draw:

    If the above consists of:

    Three roads closed, 8 points each, with ordinary linear degrees

    Three mixtures of open path with three anchor points for each key path

    Six paths closed for shadows / highlights, with 19 points in total

    Mixtures being directly from the paths drawn comic forms, the spacing of the veins 'automatically' and intuitively follows the width from point of view of the worksheet.

    Rather than to build a boilerplate brush, colouring and the weight of each of the three main paths of the vein mixtures can be set individually at any time, simply directly by selecting the key path.

    JET

  • I need help with the program of Photos on my macbook pro

    I use a Macbook Pro with OS of Yosemite. I really need help with the Photo program. I never really got the hang of IPhoto and now that it's a new program, I'm really confused. Where can I go to learn this without waiting for the next workshop in a local store?

    Hi, I'm fighting to open same mine, making a new software update

  • Hi, I need help with installing updates for CS5

    Hi, I need help with the installation of the updates of CS5. I get the following message: some updates to installation failure. My product is already registered. Can someone help me, please?

    Erkan please download and apply updates directly from updates.

  • I need help with the control of two .swf in third.

    Hi, thanks for reading!

    I need help with the control of two .swf in third.

    I have a problem when I need to use a .swf in a digital signage solution, but were advised by the Legal Department, it cannot be changed in any way, I can not also have the source file blah blah blah. I pulled the .swfs on their site and I decompiled to see what I was up against.

    The main SWF that I need control is HCIC.swf and the problem is that it starts with a preloader, which, after the loading stops on a framework that requires user input to (button) on a play button, until the film will proceed and replay.

    What I've done so far is to create a SWF container, HCIC_container.swf, which will serve as a target for the HCIC.swf and I would like to send actionscript in the file, I am not allowed to edit.

    I managed to get done with help from someone on another forum. It is my hope that the following script just start HCIC.swf a framework after the preloader and button play and just play through.

    var container: MovieClip = createEmptyMovieClip ("container", getNextHighestDepth());
    var mcLoader:MovieClipLoader = new MovieClipLoader();
    mcLoader.addListener (this);
    mcLoader.loadClip ("MCIC.swf", container);

    function onLoadInit(mc:MovieClip) {}
    mc.gotoAndPlay (14);
    }

    But unfortunately it does not solve my problem. Because there is a media - controller.swf, which is charged by HCIC.swf who has orders, including the play button to start HCIC.swf.

    Here is a link to a .zip with all 3 files .swf file and all 3 .fla files.

    http://www.axiscc.com/temp/HCIC.zip

    What I have to do is to automatically start the HCIC.swf file, bypassing the pre-loader and play button without having to edit it or in the media - controller.swf in any case. Thus, all scripts must be done in HCIC_container.swf.

    I know it is confusing and it is difficult to explain, but if you look at the files it must make sense.

    ActionScripting is far from my point hard, so I'm definitely over my head here.

    Thanks for your help.

    Got my solution on another forum.

    http://www.ActionScript.org/forums/showthread.php3?t=146827

  • Need help with the installation of an adapter of Palit GeForce 9500GT Super chart - 512 MB in a M2N68 (narrated

    Need help with the installation of an adapter of graphics Super Palit GeForce 9500GT - 512 MB - DDR2 SDRAM in a M2N68 motherboard (narra6). Should I disable the onboard graphics in the bios? When the card is installed, no VGA work outs and the PC does not start. Checked and recontroler implementation of the card in the PCI slot. PC is a desktop HP G5200uk PC. Windows 7 operating system.

    Hello

    The link below is a guige to install a video card in your Pc.  In particular, it seems that you will have to perhaps specify the location of the new card in the bios and save this change before you install the new card - see step 4 in the guide on the link below.  If your new card fits into the PCI Express x 16 slot, you will need to define PCI Express in the bios and save the changes.

    http://support.HP.com/us-en/document/c01700855

    Kind regards

    DP - K

Maybe you are looking for

  • HP Pavilion 17-f231nd: Windows 7 drivers for HP Pavilion 17-f231nd

    Hello I bought a HP Pavilion f231nd 17 and stayed to Windows 7 because of the old software I use. I was able to download the correct player to the wireless network adapter using the hardware id. No other material-id with Google search results.  Does

  • Mid-2013 13 "Macbook Pro unusable slow, beachballing"

    I would appreciate if anyone could help out... my mid-2013 13 "Macbook Pro became unusable. It is slow to start, slow down open apps, slow to react and the spinning beachball at any time, there is an action of the user. I can't attach the degradation

  • HP ENVY 17-j006ea SSD Upgrade - necessary caddy?

    Hello My model (HP ENVY 17-j006ea) came with two hard drives. I use the primary for windows and only for programs and I would like to replace it with an SSD.Do I need to buy a Bay secondary adaptar - or can I use the same parts that are currently use

  • Missing SampleMatrix1

    Hi all... I installed NI - Switch executive, in the Guide Getting started that came with it, he talks about the creation of a virtual switch, called SwithExecutiveGettingStarted, In what it says on the addition of two 'SampleMatrix1' and 'SampleMatri

  • How can I record video using my web cam of 1407

    I have a webcam of 1407 of microsoft. I want to know is how can I record video? I connected it to an old dell with windows xp. and the only thing I can do is take a picture. Is it possible that I can get to record a video.