How to write conditional region coding?

We know that the BEEP has conditional region. In a cell, you can use conditional region to control the issuance of data of special affection. What happens if this cell is controlled by month? If months = 1, this cell see the 110, month = 2 this cell see the 800 month = 3 this 100 etc see the cell... How can I make this code?

<? call: sub1? >

<? model: sub1? >
<? If: (months) = 1? > 110 <? end if? > <? If: (months) = 2? > 800 <? end if? >...

Sent u t updated RTF

Tags: Business Intelligence

Similar Questions

  • How to write conditional query?

    I have a use case-

    on the basis of the value of the entry, I need to run the query.

    for example

    Select * from employees where em em. empId =? and em.firstname =? and em.jobid =?
    Select * from employees where em em. empId =? and em.firstname =?

    I need to write a query that is used internally this time condition and return records

    Select * from employees where em
    If (EM.) JobID is nothing)
    {
    Select * from employees where em em. empId =? and em.firstname =?
    }
    on the other
    {
    Select * from employees where em em. empId =? and em.firstname =? and em.jobid =?
    }


    How could I write this problem in sql?

    Hello

    You can try the following:
    Select * from employees where em em. empId =? and em.firstname =? and (em.jobid =? or em.jobid is null).

    Kind regards
    Rommel Pino
    http://soadev.blogspot.com

  • How to write a region with white text?

    I working on the following JavaScript code to write the left in the header of the PDF documents, but after you run the code, the redacted area is black, how can I write the area with white rectagles? Thank you very much!

    for(var pg = 0; pg < this.numPages; pg++)
    {
      var rCrop = this.getPageBox("Crop",pg);
      this.addAnnot({
      type:"Redact", page:pg,
      quads:[[0, rCrop[1], rCrop[2] - 345, rCrop[1], 0, rCrop[1] - 14, rCrop[2] - 345, rCrop[1] - 14]],
      overlayText: "",
      alignment: 1,
      repeat:true });
    }
    this.applyRedactions({bKeepMarks: false, bShowConfirmation: false, cProgText: "Processing..." });
    
    

    Well done!

    You can get the most recent versions of the API from here: JavaScript for Acrobat. Adobe Developer Connection

    The API XI lie buried in the Acrobat SDK kit.

    You will find new features in the section "new features and changes".

  • How to write the condition

    Hi guys, I wonder how proceed in Disco Desktop (not admin). How to write exists it as a statement in 'where close.



    Select * from EMP
    where exists (select 'x' emp_1
    where emp_1.sal > 2999
    and empno = emp.empno)


    I thank in advance.

    Hello
    In order to use a subquery in a condition there must be already an existing worksheet in the workbook. If you do not have an existing worksheet, and then you will always see the ability to create subqueries, but you won't be able to use it.

    Here's a workflow to try using SYSDATE:

    1. first of all, make sure you open the Desktop, not more.
    2. create a new spreadsheet table containing only a calculation, SYSDATE - do you this by clicking on continually Next until you reach step 6 of the wizard, by ignoring the message that says that you have no items in the worksheet
    3. in step 6, click on the new button
    4 let the name of calculation as Calculation0 and add SYSDATE in computing
    5. click on the OK button
    6. click on the Finish button - you now have the current date in your worksheet
    7. in the menu bar, select sheet | New leaf and select the Table
    8. once more constantly click Next until you reach step 6 of the wizard, and ignore the message that says that you have no items in the worksheet
    9. in step 6, click on the new button
    10 let the name of calculation as Calculation1 and once more add SYSDATE in computing
    11. click on the OK button
    12. click on the Finish button - you now have the current date in your second worksheet
    13 remain in the second worksheet, in the menu bar select Tools | Conditions
    14. click on the button new to create a new condition
    15. in article , use drop down the menu and select Calculation1
    16. under the dropdown value (s) , you should see create subquery
    17 notice how discoverer has automatically selected Calculation0? It is the only element so naturally it will be selected. However, if you have more that one discoverer selects an item of the same type of data
    18. nothing to except click the OK button a few times now

    What you have done is said that the SYSDATE in worksheet2 depends on the formula in Sheet1, which is also be SYSDATE.

    To prove that this work, go back to the worksheet sheet1, change the formula of SYSDATE -1before returning to sheet 2 and then refresh it. This time, you should get no returned data showing that the subquery works.

    Moreover, any leaves that you create in Desktop using subqueries will still work even if you cannot change the subquery itself and more.

    Best wishes
    Michael

  • How to write the condition with the value of the parameter

    Hello
    I'm working on siebel BI publisher report. I am able to display the value of the parameter in the report.

    Now, I wanted to do something logical based on the value of the parameter.

    for example: If the user changes the value of the parameter then I have to call A submodel if user don't past not any value then it should not display A submodel

    can someone tell me how to write that above logic?

    If the parameter exists then MODEL of APPEAL one another do not call MODEL A

    Kind regards
    JAG


    Dial a submodel

  • How to write if another logic using time

    Hai All

    I have genetating a daily presence for employees, then there are three teams in the company

    0815 to 1645, 1200 to 2000 & 1715 at 0145


    So first quarter begins a.m. 0815 so I took just before an hour and after a time (0715 to 0915) means so intimate for all trips even.

    And there is a pause inbetween time travel, as of now, I coded for only the first post and works very well.


    declare
    Cursor c1 is
    Select the barcode, BARDATE, BARTIME
    Of temp_attendance
    Group of barcodes, bardate, bartime
    ORDER BY barcode, bartime.

    Start
    to r1 c1 loop
    If r1.bartime between 0631 and 0930 may
    insert into dail_att (barcode, respondent, attend_date) values
    (r1.barcode, r1.bartime, r1.bardate);
    on the other
    For r in (select empcode, empname, barcode, intimate, intrtimein, introuttime, addin, addout, outtime, dail_att attend_date) loop
    If r.intrtimein is null then
    Update dail_att set intrtimein is r1.bartime where barcode = r1.barcode and attend_date = r1.bardate and intimate is not null;.
    elsif r.intrtimein is not null and r.introuttime is null then
    Update dail_att set introuttime = r1.bartime where barcode = r1.barcode and attend_date = r1.bardate and intimate is not null and intrtimein is not null;
    elsif r.intrtimein is not null and r.introuttime is not null and r.addin is null then
    Update dail_att set addin is r1.bartime where barcode = r1.barcode and attend_date = r1.bardate and intimate is not null and that intrtimein is not null and introuttime is not null;.
    elsif r.intrtimein is not null and r.introuttime is not null and r.addin is not null and r.addout is null then
    Update dail_att set addout is r1.bartime where barcode = r1.barcode and attend_date = r1.bardate and intimate is not null and intrtimein is not null and introuttime is not null and addin is not null;.
    elsif r.intrtimein is not null and r.introuttime is not null and r.addin is not null and r.addout is not null and r.outtime is null then
    Update dail_att set outtime is r1.bartime where barcode = r1.barcode and attend_date = r1.bardate and intimate is not null and intrtimein is not null and introuttime is not null and addin is not null and addout is not null;.
    end if;
    end loop;
    end if;
    end loop;
    commit;
    end;


    When I use it once works very well and the next day when I added the next synchronization in the if clause

    If r1.bartime between 0631 and 0930 and r1.bartime between 1100 and 1300

    his does not work very well because some employees died in 1230 for interval and its addition of a new line it was not updated in the same line


    Then tell how to write some conditional for that

    Thanks in advance

    Srikkanth.M

    Hi Srikanth,

    Please use the code tags to your zip code.
    Can you specify your requirement as to what should be the output and under what conditions with some examples of data?

  • How the output voltage is coded on 16 bits DAQmx devices?

    In our laboratory, we have two devices DAQmx, the NOR-PCIe-6363 and the NOR-PCI-6733. Both have 16-bit for bipolar analog output precision. I understand that the small voltage difference that can be made is 2 * Vref/2 ^ 16, where Vref is the reference AO voltage (10 Volts or externally provided for 6733, 10 or 5 Volts or externally supplied for the 6363).

    I wanted to know how the output voltage is coded. DAQmx functions take 64 bit floats as input, and at some point, they must have their reduced accuracy. How is this done rounding, is a floating point around the nearest possible tension, or is always rounded down or always rounded upward?

    What is all the possible output voltages? Some diagrams in NOR-DAQmx help/measurement Fundamentals, signals, Analog, sampling considerations seem like they could involve the maximum voltage + Vref is not achievable, so I think that is all of the possible tensions - Vref + 2 * Vref * n/2 ^ 16, with n ranging from 0 to 2 ^ 16-1 included. This includes - Vref and does not zero but + Vref.

    Could I get confirmation on this point, or be corrected if it is wrong?

    Hi Chris,

    The scale of writing DAQmx version performs double floating precision scaling and then he made a turn, the closest to convert the resulting code of the DAC to double int16_t (or uint16_t for unipolar devices). Floating point scale includes the custom scale AO if you have configured one, the conversion of volts or AMPS to the codes of the DAC and for some devices, the calibration scale.

    You can check the coefficients of scaling using the AO. Property of DevScalingCoeff. It takes V / A-> CAD codes and scaling into account calibration, but not the scales to customized AO.

    The PCIe-6363 X series devices preset scaling in software. The internal reference of the AO is slightly higher than 10V, to correct the errors of gain and offset does not limit the output range. It also means that you are not limited to 9.9997 V on this device when you are using an internal reference.

    The PCI-6733 uses calibration DAC instead of software scaling. RAW - 32768 means - 10 V, 0 corresponds to 0 V, 32768 is impossible because of two of the 16 bits of the add-in and 32767 translates 9.9997 V. When you continue 10 V to write DAQmx with this device, DAQmx he forced into 9.9997 V.

    Note that for these two devices, the absolute accuracy full scale includes over 305 uV of error. Look at the tables of absolute precision AO in the specs of the device for the full story.

    Brad

  • How to write to the system event log

    Windows 7 Home Premium 64-bit Service Pack 1

    I run a daily work to create an image of my drive system hard. Repeatedly the work began and, due to a material error, be abandoned. In some cases (mostly), this will result in the image of yesterday being destroyed, leaving me with no viable image in case I need to restore. Although the reader is old enough (3 years), I'm not want to replace it, because I know no other activity that has had a problem with it and diagnoses reported no problem.

    So I want to execute a batch file or a script before the regular daily system backup operation. The script would go to a SMART short self-test, and if no errors are reported, would signal the backup task to run. Conversely, if the self-test report any error, the script don't trigger not the backup task to run. I think I will need to write an entry in a kind of system event log, which would be defined in the trigger condition in the entrance to the Windows Task Scheduler for the backup task. If anyone can help with the details of how to write an entry to a log of system events?

    Or, perhaps, there is better way to achieve what I want to do?

    I guess that there is not a very high probability that the script will always truly detect a problem and prevent the last image of the destruction. But I tell myself that it is worth the effort.

    TIA

    Assuming that smartctl generates an errorlevel nonzero in case it failed, the following script will work, as long as Smartctl is run under the same account as Casper.

    I also made your script more transparent control setting. The if/then/else/if/then embedded instructions are perfect for computers, but are often misconstructed by the human mind. I'm a big believer in the KISS principle.

    OFF @echo
    FOR %%d Ko (% Date %) Today SET = %% A

    SET now = time %
    echo =.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.
    ECHO% now %%d now %%d %2
    echo"=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.
    Si (« %3 « == » »
    echo of the provided insufficient parameters
    output/b 1
    )

    IF/i %1 is goto short Action
    IF/i %1 is goto long Action
    ECHO 1 Parm [%1] is INVALID
    output/b 1

    : Action
    smartctl t %1 %2
    the echo of SECONDS to WAIT for selftest %3
    choice/n/t %3/d N
    smartctl-l selftest %2%

    Set Flag="%temp%\Smartctl.log".
    If exist % del % % flag flag
    If %ERRORLEVEL% is 0 echo. > Flag %

    For the handshake to work, you must place the CASPER command inside a file of commands as follows:

    off @echo

    If exist c:\Casper\Casper.exe '% temp%\Smartctl.log '.

  • How to write a program that allows an HTTPs connection to the APACHE TOMCAT server in blackberry JDE

    Hello.. I am very new to the blackberry JDE environment. But then, I have a project in which I should write a program that will make an HTTPs connection to the apache tomcat server using blackberry JDE. The simulator which I use is 8330-JDE.

    Here is my code...

    import java.io.IOException;

    Import java.io.InputStream;

    Import javax.microedition.io.Connector;

    Import javax.microedition.io.HttpsConnection;

    Import net.rim.device.api.ui.UiApplication;

    Import net.rim.device.api.ui.container.MainScreen;

    public class Httproto extends UiApplication

    {

    public public static void main (String [] args)

    {

    Httproto instance = new Httproto();

    instance.enterEventDispatcher ();

    }

    public Httproto()

    {

    pushScreen (new HttpsConnectionScreen());

    }

    }

    final class HttpsConnectionScreen extends screen

    {

    public HttpsConnectionScreen()

    {

    HttpsConnection c = null;

    InputStream is = null;

    int rc;

    try {String url =

    "https://192.168.2.3: 8443/cit/j_acegi_security_check? j_username = sanogo & j_password = redhat;

    c = (HttpsConnection) Connector.open (url);

    c.setRequestMethod (HttpsConnection.POST);

    System.out.println ("connection is open with the server");

    Get the response code is open the connection,

    Send the request and read HTTP response headers.

    The headers are stored until asked.

    RC = c.getResponseCode ();

    System.out.println ("response from the server" + rc);

    if (rc! = HttpsConnection.HTTP_OK) {

    throw new IOException ("HTTP response code:" + rc);

    }

    is = c.openInputStream ();

    Get the ContentType

    The string of type = c.getType ();

    The length and process data

    int len = (int) c.getLength ();

    if (len > 0) {

    int actual = 0;

    int BytesRead = 0;

    byte data = new byte[len]; while ((bytesread! = len) & (real! = - 1)) {

    real = is.read (data, bytesread, len - bytesread);

    bytesRead += real;

    }

    } else {}

    int ch;

    while ((ch = is.read (())! = - 1). {

    }

    }

    } catch (ClassCastException e) { throw new IllegalArgumentException ("not a HTTP URL");}

    }

    catch (IOException ioe) {}

    finally {

    Try

    {

    if (is! = null)

    is. Close();

    if (c! = null)

    c.Close ();

    }

    catch (IOException ioe) {}

    }

    }

    }

    When I run this program in the Simulator, I can do nothing. Please correct me if I'm wrong in coding.

    As I am new to this blackberry JDE environment, ideas and suggestions on how to write and run the sample applications in the blackberry are more welcomed.

    Concerning

    Hinduja

    Make sure that your MDS starts when the Simulator starts.  In the JDE will in Edition > Preferences > Simulator > General and click the checkbox "launch Mobile Data System connection with Simulator Service.

  • links should stay in the same place when the other links disappear because of conditional regions

    I created a Recordset paging. paging consists of three links: previous, today, following.

    I also have conditional regions for the previous links and next, so that they disappear under certain conditions.

    Assume that the links are the words arranged like that in the upper left corner of the Web site:

    previous today next

    Thus, when a certain condition is met, and the previous link disappears, the other two links moving to the left. and that's what I find disturbing.

    How can I make the link disappears, but its place is replaced by blank spaces or something like that to keep the other links to the same place?

    .. .not sure if have put enough clear ^^

    Thanks for the help :)!

    MurraySummers wrote:

    What method do you use to the conditions?

    These three links are really just a menu short list of "chips" without the bullets. If you style this menu with a width explicitly to the

  • elements, and if the conditions cause the content of the list items to be written or not written on the screen, I think that you will reach your goal. This would allow you to have-

    previous | today | next
                  | today | next
    previous | today |
    

    Or other combinations these three meaningless...

    (EDIT - well spacing is off, but you get the idea!)

  • Well, I guess you can set it up like that.

  • < a="" href="previous.html">Previous

  • < a="" href="today.html">Today

  • < a="" href="next.html">Next

  • Conditional region - Advanced Edit tab

    I'm looking for include the XML of the Advanced tab. a conditional region have already filled the tab of properties with a condition, I want to add another. What is the context of the code I have to write? I've looked everywhere without success.

    Currently my Advanced tab shows:
    <? If: number (CompanyCode_ID) = 1? > result: see the "phone number".

    Example of what I'm trying to do:
    <? If: number (CompanyCode_ID) = 1? > AND / + <? If: number (Rep_ID) 010 <>? > need of these will cause: see the "phone number".

    Example of use - http://i50.tinypic.com/17tkpl.png
    Maybe you incorrectly set XPath to your XML tags? Try to use

    or better define it with absolute paths

  • How to write Save function based on the drop-down list box selection data in app mxml flex4 with as3

    Hi all

    I'm working on the application web flex4 with as3.

    I have a doubt, I've created a mxml it has two text boxes, except the button and a combo box that is has two option as a percentage and the amount.

    my needs are I gave here.

    need 1: when I choose option amount that two text boxes does not have to be editable.when I select text tat box two percentage option will be editable.

    need 2: when I select the percentage in combox option and two text boxes are empty, and then click the button Save-> I want to display warning msg

    need 3: when I select the option amount combox and the two boxes are emptu click the button Save-> I don't want any warning messages.

    How to validate it and how to write backup for this function.

    This is my sample code:

    list box ID = baseAmtPer

    ID TextBox1 = maxCommAmt.text

    ID = baseAmtPer.text text box

    If (((baseAmtPer.editable!=true) & & (maxCommAmt.editable! = true)) & & ((baseAmtPer.text=="") & &(ma xCommAmt.text=="")) |) (baseAmtPer.text == "") | (maxCommAmt.Text=="")) -> This condition not allowing while I'm selecing amount in combo box. How the TWO TEXT BOX WILL BE EMPTY for this problem

    {

    Alert.Show ("enter in all areas", "Information");

    }

    on the other

    {

    some encodings

    }

    Hello

    Please go through the following Code:

    http://ns.Adobe.com/MXML/2009.

    xmlns:s = "library://ns.adobe.com/flex/spark".

    xmlns:MX = "library://ns.adobe.com/flex/mx" minWidth = "955" = "600" minHeight >

    Import mx.collections.ArrayCollection;

    Import mx.controls.Alert;

    Import spark.events.IndexChangeEvent;

    protected function button1_clickHandler(event:MouseEvent):void

    {

    If (comboBox.selectedItem == "Percentage" & textBox1.text == "" & textBox2.text == "") {}

    Alert.Show ("enter the values");

    }

    }

    protected function comboBox_changeHandler(event:IndexChangeEvent):void

    {

    {if(ComboBox.SelectedItem=="Amount")}

    textBox1.editable = false;

    textBox2.editable = false;

    }

    else {if(comboBox.selectedItem=="Percentage")

    textBox1.editable = true;

    textBox2.editable = true;

    }

    }

    ]]>

    Amount

    Percentage

    Thank you and best regards,

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

    Vibhuti Gosavi . [email protected] | www.infocepts.com

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

  • How to write a custom component

    I have 3 quick questions on How to write a component. Here is the code in my main file I want to write as a component:

    buttonCanvas = new Toile;

    buttonCanvas.addEventListener (MouseEvent.MOUSE_DOWN, buttonMouseDownHandler)

    buttonCanvas.addEventListener (FlexEvent.CREATION_COMPLETE, setcanvasPosition)

    buttonCanvas.width = 300;

    buttonCanvas.height = 30;

    if (i%2==0){

    buttonCanvas.setStyle ("styleName" "style1");

    }else{

    buttonCanvas.setStyle ("styleName" "style2");

    }


    This is the component:


    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Canvas ' http://www.Adobe.com/2006/MXML "creationComplete ="init ()">
    < mx:Script >
    <! [CDATA]
    public var i: int
    public void init (): void {}
    trace ("i =" + i)
    This.Width = 300;
    This.Height = 30;
    If (i %2 == 0) {}
    this.setStyle ('styleName', 'style1');
    } else {}
    this.setStyle ('styleName', 'style2');
    }
    this.addEventListener (MouseEvent.MOUSE_DOWN
    }
    []] >
    < / mx:Script >
    < / mx:Canvas >

    Question 1: What is the best way to pass the value of the variable 'i' to the compoonent? What I have to write:

    buttonCanvas.i = i;
    or can I pass the argument to the component as follows, and if so, how I capture the value of the component? :

    buttonCanvas = new ButtonCanvas (i);


    Question 2: Where is the best place to put the listeners? Should I put them in the main file:

    buttonCanvas.addEventListener (MouseEvent.MOUSE_DOWN, buttonMouseDownHandler)
    buttonCanvas.addEventListener (FlexEvent.CREATION_COMPLETE, setcanvasPosition)
    or should I put them in the component like this:

    this.addEventListener (MouseEvent.MOUSE_DOWN, buttonMouseDownHandler)

    Question 3:If I put them in the component, how to point to the function named "buttonMouseDownHandler" in the main file?

    Thanks for your time!

    Hi SiHoop,

    Well come to your question, here is the solution:

    Question 1: What is the best way to pass the value of the variable 'i' to the compoonent? What I have to write:

    buttonCanvas.i = i;
    or can I pass the argument to the component as follows, and if so, how I capture the value of the component? :

    buttonCanvas = new ButtonCanvas (i);

    (A) you can use the method buttonCanvas.i = i; but not buttonCanvas = ButtonCanvas (i) again because this corresponds to an instantiation of the constructor, and you cannot specify a constructor explicitly for your component as the Flex compiler automatically provides at the time of the compilation;

    Using the second approach, you can pass that I appreciate, but you can use this syntax to get the value I have...

    buttonCanvas = new ButtonCanvas();

    buttonCanvas ["i"] = i;

    Question 2: Where is the best place to put the listeners? Should I put them in the main file:

    buttonCanvas.addEventListener (MouseEvent.MOUSE_DOWN, buttonMouseDownHandler)
    buttonCanvas.addEventListener (FlexEvent.CREATION_COMPLETE, setcanvasPo)
    or should I put them in the component like this:

    this.addEventListener (MouseEvent.MOUSE_DOWN, buttonMouseDownHandler)

    (A) it depends purely on your condition if you want to listen to these events with in your component and make somechanges in your component itself and not to other elements, then you can set headphones for events in the same component.

    But if you want to know or communicate with other components in your component event has occurred then define you the eventListeners in other components as below and update of data or make changes in the other component accordingly...

    buttonCanvas = new ButtonCanvas();

    buttonCanvas.addEventListener (MouseEvent.MOUSE_DOWN, buttonMouseDownHandler);
    buttonCanvas.addEventListener (FlexEvent.CREATION_COMPLETE, setcanvasPosition);

    Question 3: if I put them in the component, how to point to the function named "buttonMouseDownHandler" in the main file?

    (A) If you put the eventListeners with the component and if you want to point to the function named "buttonMouseDownHandler" in the main file, then you must do the following:

    In your component

    this.addEventListener (MouseEvent.MOUSE_DOWN, buttonMouseDownHandler);

    private void buttonMouseDownHandler(event:MouseEvent)

    {

    Here, you need to send a custim event to warn other components this thi event has been dispatched

    this.dispatchEvent (new Event ("buttonMouseDownEvent"));

    }

    Now in your main mxml, you have to listen to this event, as shown below:

    buttonCanvas = new ButtonCanvas();

    buttonCanvas.addEventListener ("buttonMouseDownEvent", buttonMouseDownHandler);
    buttonCanvas.addEventListener (FlexEvent.CREATION_COMPLETE, setcanvasPosition);

     

    private void buttonMouseDownHandler(event:MouseEvent)

    {

    It is the function in your main mxml file

    }

    Hope you understand most... If you have any doubts do let me know...

    Thank you

    Jean Claude

  • generator expressions multiple Variables GET conditional region.

    Hi all

    I hope someone can help (If master Günter Schenk thank your far in advance).

    I am at a loss with the selection of multiple variables for a conditional region IF.

    If there is a simple way for a person to give an example that would be great or please read below on what I am tring to do.

    What I need to do

    I have 2 images (1 is a button) with the command of one submission form, the other is just a message already sent to this user.

    When the form send it gets a unique result of generated URL for each of the presentations that I have to check agaist the IF conditional.

    So, if already present it button does not appear but the other saying you already sent message.

    The IF conditional is checked agaist a recordset using two of the main values of the URL that are VenueID and VFSENQI, but not checking the RandomEnquirySent.

    If the Recordset object checks the first 2 variables, which then produces the info to check the URL.

    Or another way to do this would be to check the

    Info

    Expression 1: <? PHP @$ row_rsCKEnqSent ['RandomEnquirySent']? > or @$ row_rsCKEnqSent ['RandomEnquirySent']

    That is the result of the database recordset based on below the URL that is submitted by a form.

    {GET. VFSRAND} IDENQ {SESSION. VFSENQID} IDVEN {GET. VenueID}

    Expression 2: be->

    <? PHP echo $_GET ['VFSRAND'];? > & IDENQ <? PHP echo $_GET ['VFSENQID'];? > & IDVEN <? PHP @$ _GET ['VenueID']? >

    or

    [@$ _GET ['VFSRAND'] & IDENQ@$_GET['VFSENQID'] & IDVEN@$_GET['VenueID "]"

    This is the URL paramiter sent to the database of unique to the message references.

    <? PHP echo $_GET ['VFSRAND'];? > & IDENQ <? PHP echo $_GET ['VFSENQID'];? > & IDVEN <? PHP @$ _GET ['VenueID']? >

    It is also the second part of the expression that should be removed from the URL & or a Session.

    Finishing

    So, if I know how to get the IF conditional to remove information from the URL to check the result recordset agast <? PHP @$ row_rsCKEnqSent ['RandomEnquirySent']? > I'd be a very happy man.

    Please let me know either or to see if it can or cannot be done I would be very grateful.

    Kind regards

    Joseph

    Another is important to keep in mind: What mix static strings (e.g. IDENQ) with dynamic values (e.g. $_GET ['VFSRAND']) inside the 'if' of a conditional region, the final result should be considered as a single string and must therefore be incorporated like the following, what - else - what is called "concatenation":

    method 1)

    $cond_combined = $_GET ['variable_1']. "" IDENQ ". $_GET ["variable_2"]. "" IDVEN ". $_GET ["variable_3"];

    method 2)

    $cond_combined = "{$_GET ['variable_1']} IDENQ {$_GET ['variable_2']} IDVEN {$_GET ['variable_3']}";

    Both methods work in the same way, the only difference from Dreamweaver, method 2 loses the colorization of PHP syntax for dynamic values that are wrapped in curly braces. Well, I´d personally consider cela a bug actually, but who am I to say ;-)

    However, I ve been playing with your stuff a bit using DW/uninstall. Please take a look at the attached screenshots and try to understand what I was doing and - in particular - * why * I did what I did

    See you soon,.

    Günter

  • How to write insert and update blocks about with an if

    Hai All

    How to write an insert and update block education about with in an if

    I had a condition Ie

    If the time is between 0630 and 1030


    then

    Insert into Daily_attend
    ----


    Update Daily_attend set

    -----

    Concerning

    Srikkanth.M

    There is nothing preventing you to do this:

    BEGIN
      INSERT INTO x (mycolumn) VALUES ('A');
    
      UPDATE x
      SET mycolumn = 'B'
      WHERE mycolumn = 'A';
    
      COMMIT;
    END;
    /
    

    other than the fact that he seems a bit inefficient. Yet once you try to do, and why, is not clear.

    Can you put an IF statement in there to choose one way or the other under certain conditions? Yes. But I wonder if what you
    are actually trying to do is to reinvent the MERGE statement.
    http://www.morganslibrary.org/reference/merge.html

Maybe you are looking for