Two INSERT into a form

Hello

I am newbee on DW CS4, but I need to insert into 2 tables with a single shape. The first INSERT Inserts information into the 1st table (I'm ok for that), but the second INSERT must enter 'inf_city' and 'inf_idcountry' in the table 'city' ONLY if 'inf_city' AND 'inf_idcountry' does not exist in the ' town "table of s...

So it is should be possible to have in the table 'city' the very name of the city, but with different countries...

something like this:

$ville = $_POST ['inf_city'];
$country = $_POST ['inf_idcountry'];

$req = mysql_query ("SELECT * FROM City WHERE cit_city AS $ville AND cit_idcountry AS $country");

If ($req = "") / / If no match
{
mysql_query ("INSERT INTO city (cit_name, cit_idcou) VALUE ($ville, $country) '");

mysql_close();
}
else / / OTHERWISE
{
no entry in the table
}

How to proceed with DW CS4?

Am I clear?

thx for your help

Tim

Tim, it looks like you have two types of users; suppliers that insert data into the table of infrastructure and consumers that the data content content research infrastructure.

You don't really need a table separated town, you can fill the drop down with a select simple from the table of the infrastructure:

Select distinct country, city infrastructure, whose country is $selected_country

or something similar.

There are reasons for which you can always use a separate City table:

(1) performance. If the table of the infrastructure becomes very large (tens of thousands of lines) select to fill the bottom drop can become slow. But it depends on many factors and a simple performance index could easily fix that.

(2) you want to limit the fall of the city down to include only the combinations valid city/country you inserted. But since you are authorizing providers insert cities, appears not to be a valid reason.

(3) you want to prepopulate the paintings of the city to allow the consumer to content select the cities that may not be in the table of the infrastructure. It would be of little use, as their search returns zero rows anyway.

Unless you manage the city table, and the table of the infrastructure does not grow very large, it can therefore not a reason to have the table of the city.

Tags: Dreamweaver

Similar Questions

  • pages cannot be inserted into a form

    I redid a Word form in Acrobat using the application 'create new form' (I did a printed form, not an online form). That worked very well, but now I want to set some pages of another document pdf for this and I can't figure out how. All the document merge options insertion do not appear as available. In the properties of the document it is stated that "change the document" and "document Assembly" is not allowed.

    So my question is how can I be "authorized" for this form of merger/integration options?

    Thank you, Kevin

    LiveCycle Designer in Adobe Acrobat, you cannot edit documents created.

  • How can I program a button to retrieve an image from a user base and insert them into a form field?

    I need help (I have not the slightest idea) with a java script to program a button to retrieve an image from a user base and insert into a form field. To go to the menu select icon.

    [edited by moderator - he had no body to the post office and it was while heading a long title.] [Shorten the title and pasted the original title, plenty of length as the message body]

    Okay, that's actually quite easily. As the l' evenement event MouseUp button, select "Execute JavaScript" and enter this code:

    event.target.buttonImportIcon ();

    When you click the button it will open a file selection dialog and the selected file is displayed under the icon of the button.

  • Having two channels separated by commas and try to insert into the table.

    Hi, in my procedure there are two upcoming channels as separated by a comma.

    Ex:
    Channel 1: 1: a, 2, 3: c, 4:d, 5:e, 6:f, 7:g, 8:h, 9:i, 10: I;
    Channel 2: 10: a, 11:b, 12:c, 34:d, 45:e, 112:f';

    I have a table like this:
     create table temp_updrop (id number ,valto1 varchar2(10),valfrom1 varchar2(10),valto2 varchar2(10),valfrom2 varchar2(10));
    Now I want to break the chain that he insert the records as:
    Channel 1: 1: a, 2, 3: c, 4:d, 5:e, 6:f, 7:g, 8:h, 9:i, 10: I;
    1 insert in valto1
    an insert in valfrom1

    2. insert into valto1
    b insert into valfrom1
    .
    . so now

    Second string
    Channel 2: 10: a, 11:b, 12:c, 34:d, 45:e, 112:f'

    10 insert into valto2
    an insert in valfrom2

    11. Insert in valto2
    b insert into valfrom2

    .
    .
    .so on.

    The chain might have a number any of values separated by commas or null as well.

    I started with something lie this but after that I don't know how any help appreciated!...
    declare
        vtab   dbms_utility.uncl_array;
        string1 varchar2(4000) :='1:a,2:b,3:c,4:d,5:e,6:f,7:g,8:h,9:i,10:j';
        string2 varchar2(4000) :='10:a,11:b,12:c,34:d,45:e,112:f';
        cnt number;
        
        begin 
                
         dbms_utility.comma_to_table(string1, vtab, cnt);
    Thanks in advance!

    Published by: BluShadow on 18-Sep-2012 15:28
    fixed {noformat}
    {noformat} tags.  Ensure you specify the word "code" in lower case in the tags.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    Glad I could help.

    Please check the question 'answered' if it is. That helps others to focus on the outstanding issues.

  • Record is not inserted into the transparent Table Forms 10g

    Hi all

    I have the built in 10g (10.1.2.0.2) form.

    Basically, the form has 2 blocks.
    1 block with a single element, where we enter a value and press on enter (this place you block2 and run the query).
    Block 2 (tabular) will get the records. This block2 have now 3 columns (caseid, userid, date).

    Now when I insert a new record, I just need to get the caseid only. And username and date must be filled in automatically.
    I can fill fields username and the DATE.
    And when I enter a value element of the block 2 caseid and then Control + S(to insert the record and Save the transaction),.
    I get the message saying FRM-40400: transactions: 1 applied and saved records.
    But when I ask again for the same thing, I do not have is the record inserted into the table.
    Why is this happening?

    Help please...

    Drop the trigger for INSERTION WE (do not comment code or write NULL) and move your code to INSERT before trying.

    -Clément

  • Combination of two fields to make a third then insert into DB

    I have this script:

    If ((isset($_POST["MM_insert"])) & & ($_POST ["MM_insert"] == 'form')) {}

    $insertSQL = sprintf ("INSERT INTO members (first name, family name, 'Section', Login, password, DefaultPassword, Email) VALUES (%s %s %s, %s, %s, %s, %s)',

    GetSQLValueString ($_POST ["Firstname"], "text").

    GetSQLValueString ($_POST ['name'], "text").

    GetSQLValueString ($_POST ['Section'], "text").

    GetSQLValueString ($_POST ['Login'], "text").

    GetSQLValueString ($_POST ['Password'], "text").

    GetSQLValueString ($_POST ["DefaultPassword"], "text").

    GetSQLValueString ($_POST ['Email'], "text"));

    But I want the value of the connection to be the first name + last name all in lower case.

    I tried this, but it does not work...

    $Login = strtolower ($_POST ["Firstname"]. $_POST ['Surname']);

    If ((isset($_POST["MM_insert"])) & & ($_POST ["MM_insert"] == 'form')) {}

    $insertSQL = sprintf ("INSERT INTO members (first name, family name, 'Section', Login, password, DefaultPassword, Email) VALUES (%s %s %s, %s, %s, %s, %s)',

    GetSQLValueString ($_POST ["Firstname"], "text").

    GetSQLValueString ($_POST ['name'], "text").

    GetSQLValueString ($_POST ['Section'], "text").

    $Login, "text",

    GetSQLValueString ($_POST ['Password'], "text").

    GetSQLValueString ($_POST ["DefaultPassword"], "text").

    GetSQLValueString ($_POST ['Email'], "text"));

    Any ideas what I am doing wrong?

    Your connection line must be:

    GetSQLValueString ($Login, "text"),

    There isn't that one statement here and you have written "$Login,"text") which is actually 2 statements."  (A) the text of $Login all about him running as an instruction as the DW code is looking for.

    Apart from that, it should work.

  • The values of cursor two corresponding and insertion into tables

    I ' am using sql developer oracle 11g.

    I have 3 tables called

    PRODUCT_NOTIFICATION

    RECORD

    PCS_NOTIFICATION

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

    PRODUCT_NOTIFICATION

    IDTITLEMessage
    21sale50% discount on all brand products

    RECORD

    IDREGNAMEACTIVATIONCODESTATUSMOBILENUM
    747407931107TESTTHERE12345
    39717371107TESTuco1THERE6789

    Now, I want to take only the message of product_notification table column and

    pick up the registered customer of registration table where the activationcode_status = 'Y '.

    PCS_NOTIFICATION

    Output of desire in the PCS_NOTIFICATION TABLE

    IDMOBILENUMMessage
    11234550% discount on all brand products
    2678950% discount on all brand products

    THEN insert the message in pcs_notification.

    It is the procedure goes as...

    create or replace

    PROCEDURE sp_notification)

    p_out_msg OUT VARCHAR2

    )

    AS

    CURSOR C_product_notification

    IS

    Select the description of product_notification;

    -Search for registered customer

    CURSOR C_registered

    IS

    Select * from registration where activation_code = 'Y ';

    for k C_INSERT

    LOOP

    THEN

    BEGIN

    If C_product_notification = C_registered THEN

    INSERT INTO PRODUCT_CLOUD_NOTIFICATION VALUES () - stuck here

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

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

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

    Goal is to send the generic message for every individual mobile numbers of registered customers.

    Help, please...

    Create a sequence object to fill PCS_NOTIFICATION.ID. allows you to call him PCS_NOTIFICATION_ID_SEQ.

    Now all you need is a simple insert statement.

    insert into pcs_notification (id, mobilenum, message)
    select pcs_notification_id_seq.nextval, r.mobilenum, pn.message
      from product_notification pn
      cross join registration r
     where r.activationcodestatus = 'Y';
    
  • Concatenation of strings to form an INSERT INTO statement

    I am trying to build an insert statement by concatenating strings. Basically, that's what I do:
    < cfset string1 = "INSERT INTO #tablename # (" > ").
    < cfset string1 = string1 & #colname # >
    < cfset string1 = string1 & ")" > "
    < cfset string2 = "VALUES ('" > ").
    < cfset string2 = string1 & #coldata # >
    < cfset string2 = string1 & "')" > "

    < cfquery = "insert" datasource name = "db" >
    # String1 string2 # #.
    < / cfquery >


    -----------------------------------------
    Also, if I change the < cfquery > tags to < cfoutput > I get a valid INSERT statement:
    INSERT INTO Habitat (AREA, ARTID, BIOTOP) VALUES (43, 37, ' text')

    But when I have the tag < cfquery > I get this error:
    Syntax error (missing operator) in query expression "' text"'.

    I tried to change the (' #coldata # ') to ("#coldata") and also tried ("#coldata #") and ("' #coldata # '"), but I get errors all the time...

    So. How can I do this?

    I'm not asking why you do this :)

    but you will need to use preserveSingleQuotes(). probably right around string2, but may not be wrong to just wrap the whole.


    #preserveSingleQuotes (string1 & string2) #.

  • Insert into DB using SQLservice: can't take the text with single quotes:

    I use Execute sql JDBC service statement.

    I'll explain with simple code:

    insert into mytable (id, desc) values (1, 'this is the document of the customer');

    This works perfectly.

    But if I have apostrophes in the desc-

    insert into mytable (id, desc) values (1, 'this is the document the customer' );

    It is throwing error at a standstill operation errors.

    I know that in Oracle, to escape the single quotes that write us

    insert into mytable (id, desc) values (1, "it is of customer" s document ");

    But, we can not control here in Adobe as the desc is from field on a form when the user enters it.

    I'm guessing that it might be a known issue & can someone tell me the solution.

    Thank you

    KC

    Use a parameter query to avoid this problem.

    insert into mytable (id, desc) values (?,?);

    The two parameters (? brands) can be replaced by actual values using XPATH Expression.

    If you do this, you query runs without raising any errors.

    Nith

  • INsert Into does not work in the query

    I wrote this part of my web site that allows you to insert records in the DB. Right now it does not work properly. I get no error, but I do not also get a new record. Can you see why this is happening? I write two pages of code, the edit page and the action page. I can't understand what Miss me.

    Change page:

    < name = "cfparam url.id' type = 'integer' default = '0' >"
    < name cfparam = "variables. ProjectID' type = "integer" default = "#url.id #" >
    < name = "cfparam variables.proj_name" default = "" > "
    < name cfparam = "variables. Default Description"=" ">
    < name cfparam = "variables. Default CategoryID"=" ">
    < name = "cfparam variables.cat_name" default = "" > "
    < cfif url.id GT 0 >
    "< name cfquery ="projMan"datasource =" "#sitedatasource #" username = "#siteUserID #" password = "#sitePassword #" >
    SELECT c.CategoryID,
    c.Name AS cat_name,
    p.ProjectID,
    p.Name AS proj_name,
    p.Description
    CATEGORIES AS c
    INNER JOIN project GOT p ON c.CategoryID = p.CategoryID
    WHERE p.ProjectID = < cfqueryparam value = "" #URL.ID # "cfsqltype ="cf_sql_integer">"
    AND c.CategoryID = p.CategoryID
    < / cfquery >
    < cfif projMan.RecordCount EQ 1 >
    < cfset variables. ProjectID = projMan.ProjectID >
    < cfset variables.proj_name = projMan.proj_name >
    < cfset variables. Description = projMan.Description >
    < cfset variables.cat_name = projMan.cat_name >
    < cfset variables. CategoryID = projMan.CategoryID >
    < / cfif >
    < / cfif >
    < name cfquery = 'catList' datasource = "" #sitedatasource # ""
    username = "" #siteUserID # "password =" #sitePassword #">"
    SELECT DISTINCT categories. CategoryID, Categories.Name AS cat_name
    Categories
    ORDER BY name
    < / cfquery >
    < head >
    < / head >
    < body >
    < cfoutput >
    < form action = method of "project - Action.cfm" = "post" name = 'projects' id = 'projects '.
    enctype = "multipart/form-data" onsubmit = "saveIt ()" >
    < input type = "hidden" name = 'ID' value = '#variables. ProjectID #">"

    < input type = "text" name = 'proj_name' class = 'textInputs"value =" ' #variables.proj_name # ' maxLength '510' = > "

    "< textarea cols =" "lines =" "name ="PDSeditor"style =" display: none "> #variables. Description # < / textarea >

    < select name = "CategoryID" size = "1" class = 'everyday' >
    < IsDefined ("projMan.CategoryID") cfif >
    < option value = "#projMan.CategoryID #" > #projMan.cat_name # < / option >
    < cfelse >
    < option value = "" >--select a category--< / option >
    < / cfif >
    < cfloop query = 'catList' >
    < option value = "#CategoryID #" > #cat_name # < / option >
    < / cfloop >
    < / select > < / cfoutput >
    < / body >


    «"" "Action page:»»"»

    "< cfquery datasource =" "#sitedatasource #" username = "#siteUserID #
    password = "#sitePassword #" >
    Projects UPDATE
    SET
    Projects.Name = < cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form.proj_name #" >.
    Projects.CategoryID = < cfqueryparam value = '#form. "CategoryID #" cfsqlType = "CF_SQL_INTEGER" >.
    Projects.Description = < cfqueryparam cfsqltype = "cf_sql_longvarchar."
    value = '#form. PDSeditor #">"
    WHERE ProjectID = < cfqueryparam value = "" #form.ID # "cfsqlType ="CF_SQL_INTEGER">"
    < / cfquery >
    < cflocation url = 'project - manager .cfm' >
    < cfelse >
    "< cfquery datasource =" "#sitedatasource #" username = "#siteUserID #
    password = "#sitePassword #" >
    INSERT INTO projects
    (Name, Description, CategoryID)
    VALUES
    (< cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form.proj_name #" >,)
    < cfqueryparam cfsqltype = "cf_sql_longvarchar" value = "#form. PDSeditor #">,"
    < cfqueryparam value = '#form. ("CategoryID #" cfsqlType = "CF_SQL_INTEGER" >)
    < / cfquery >
    < cflocation url = 'project - manager .cfm' >


    I don't see why there is no records are transferred to the DB. Can someone help me?

    Thank you.

    Phoenix

    the order of the values that you insert is different from the order of the array
    fields, that they are inserted in your INSERT query:

    INSERT INTO projects
    (Name, body, MYFile, CategoryID)
    VALUES
    (,
    ,
    ,

    NULL = "#NOT fileuploaded # ' >)

    in the part of the INSERTION, the order of the fields is NAME, BODY, MYFILE CATEGORYID
    in the part of VALUES, the order of the values is NAME, BODY, CATEGORYID, MYFILE

    HTH

    ---
    Azadi Saryev
    SABAI - Dee.com
    http://www.SABAI-Dee.com

  • Reflecting an SQL insert into a list

    Hello

    My app has a list on the main sprite.  The data source of this sprite is a class that manages a SQLite DB.  There is a function in this class that returns a dataProvider.  In the main sprite initializeUI(), I have contactList.dataProvider = contactSQLData.getTableData ();

    There's another sprite which is loaded when the application starts and hidden off the screen.  When the user presses the button Add, that another sprite slide in with a tweener.  The user fills out the form and record visits.  I'm passing the list of contacts and contactSQLData to the second sprite through a few affected public objects main sprite after initialization.

    When recording button, I run an insert statement, and then tweener the sprite off the screen.  Now, back to the main sprite with the list. I want this insert will appear in the list.  BTW, the list uses a custom converter in the list of the skin cells.

    For inclusion appears, I have tried, in the backup function:

    //insert into DB
    contactSQLData.addData(time.text, opname.text, notes.text);
    //reload dataProvider and assign to list
    contactList.dataProvider = contactSQLData.getTableData();
    //redraw list on main sprite
    contactList.invalidate(InvalidationType.ALL, false);
    

    Invalidate the list is the only way I can get to display any type of update, but it seems that to invalidate certain cells.  When I create first the DP in the SQL class I add a header in the first place, and then loop through the results of sql and add them to the RFP.  The invalidate on the list put the header next to the last line and I just added last and all previous Scriptures are before a new element.

    In fact the traces, I see that the items are added to the RFP in the right order, since they came out of the DB.  But when the list is invalidated, it seems not all of them are redrawn.

    Any ideas?

    Thank you

    Nick

    Hey nwgarner,

    the photos have not been approved will not be able to see them until they are. However, I think you could run a problem in the method drawLabel() of the cell display. This is called only once when the list is first created. So what you want to do is update your labels when new data are inserted in the cell renderer. for this, you need to replace the Set data() thus set accessor function. This way your custom CellRenderer will be able to handle the new data when it comes. so to do this, implement the following modified cell rendering engine:

    ContactsCellRenderer.as:

    package ContactsCellRenderer{  import flash.display.Shape;   import flash.text.TextFormat; import flash.text.TextFormatAlign;
    
      import qnx.ui.core.Container; import qnx.ui.core.ContainerFlow; import qnx.ui.listClasses.CellRenderer;   import qnx.ui.text.Label;
    
      public class ContactsCellRenderer extends CellRenderer    {     private var cellBackground:Shape;
    
          private var idLabel:Label;        private var timeLabel:Label;      private var opnameLabel:Label;        private var notesLabel:Label;     private var modeLabel:Label;
    
          private var LABEL_HEIGHT:int = 30;
    
          public function ContactsCellRenderer()        {         super();
    
              cellBackground = new Shape();
    
              idLabel = new Label();            timeLabel = new Label();          opnameLabel = new Label();            notesLabel = new Label();         modeLabel = new Label();      }
    
          override protected function init():void       {         super.init();     }
    
          override protected function onAdded():void        {         super.onAdded();          removeChild(label);           this.cellBackground.graphics.beginFill(0xBBBBBB, 1);          this.cellBackground.graphics.drawRect(0, 0, 900, LABEL_HEIGHT);           this.cellBackground.graphics.endFill();           this.addChild(this.cellBackground);       }
    
          override protected function drawLabel():void      {         trace("drawLabel()");         if (this.data)            {             var headerFormat:TextFormat = new TextFormat();               headerFormat = new TextFormat();              headerFormat.color = 0xFFFFFF;                headerFormat.bold = true;
    
                  /*                * Sometimes this function is called prematurely when there                * is no data object available and it is null so we only               * do our custom label when there is a data object available               */
    
                  this.idLabel.width = 30;              this.idLabel.x = 0;
    
                  this.timeLabel.width = 250;               this.timeLabel.x = 20;;
    
                  this.opnameLabel.width = 100;             this.opnameLabel.x = this.timeLabel.width + 30;
    
                  this.notesLabel.width = 100;              this.notesLabel.x = this.timeLabel.width + this.opnameLabel.width+ 30;
    
                  this.modeLabel.width = 100;               this.modeLabel.x = this.timeLabel.width + this.opnameLabel.width + this.notesLabel.width + 30;
    
                  if (this.data.id == "0")              {                 this.timeLabel.format = headerFormat;                 this.opnameLabel.format = headerFormat;                   this.notesLabel.format = headerFormat;                    this.modeLabel.format = headerFormat;             }
    
                  trace("Adding id cell: " + this.data.id);             this.addChild(idLabel);               this.addChild(timeLabel);             this.addChild(opnameLabel);               this.addChild(notesLabel);                this.addChild(modeLabel);         }     }
    
          override protected function onRemoved():void      {         trace("onRemoved");           super.onRemoved();
    
              //undo the add child          removeChild(this.cellBackground);         removeChild(this.idLabel);            removeChild(this.timeLabel);          removeChild(this.opnameLabel)         removeChild(this.notesLabel);         removeChild(this.modeLabel);
    
          }
    
          override public function set data(data:Object):void       {         super.data = data;
    
              if (this.data)            {             this.idLabel.text = this.data.id;             this.timeLabel.text = this.data.time;             this.opnameLabel.text = this.data.opname;             this.notesLabel.text = this.data.notes;               this.modeLabel.text = this.data.mode;         }     }          }}
    

    So now, we update the labels with the new set of data whenever there is a change. everything I think we can leave it intact as is and should not be a problem. so re-apply your cellrenderer and see what happens.

    Thanks for the appreication, it is always welcome! im just happy that I can be useful, the playbook needs all it can get its third-party developers like you to succeed. My theory is more quality apps more it will do on its competitors! good luck and let me know how it turns out that!

  • How to perform an addition of column values in an insert query that would insert in the 3rd column, and the values how to insert into another table.

    I have two tables (2) RESULT TAB (1)

    CREATE TABLE TAB

    (

    NUMBER OF SNO

    A NUMBER,

    B THE NUMBER.

    NUMBER OF THE SUM

    );

    CREATE AN ARRAY OF RESULT

    (

    NUMBER OF SNO

    NUMBER OF THE SUM

    )

    my doubt is:

    (1) I want to insert a table TAB, my question is how to insert a column to the SUM using the column A AND B... Here im adding two values of the column and store result in the AMOUNT column.

    SNO   A  SUM           

    1 100 150 250

    2 300 100 400

    I want to like this, it is possible with single insert query?


    (2) at the time of the insertion TAB of values that SNO, and the values of table TAB $ insert in the table of RESULTS... is it possible these two inserts at the same time?

    in fact, im using another this table.fro TAB and easy to understand I write like that, please solve this problem

    First, you post in the wrong forum as this one is only for Oracle's SQL developer tool. So you might ask your question in the general forum of SQL.

    Second, you might solve your problems with bind variable:

    Insert tab

    (sno, a, b, sum)

    values

    (: SNO,: A: B: A + B :))

    You should not use sum as column name because it is a reserved word.

    More you cannot insert into two different tables with a single SQL, but you can use PL/SQL to do this:

    Start

    insert into tab values (: SNO,: A: B: A + B :);)

    insert into result values (: SNO,: A + B :);)

    end;

    If you meet sno from a sequence, you could do something like this:

    Start

    insert into values tab (seq_sno.nextval,:,: B,: A +: B) return sno in: SNO.

    insert into result values (: SNO,: A + B :);)

    end;

    Hope that helps,

    dhalek

  • Inserting into a temporary table

    Hi all

    I use this code to insert into a temporary table

    INSERT INTO VISIT_TEST

    (NO, VISIT_ID)

    VALUES

    (1,: ALL_ADMITTED_PATIENT.) VISIT_ID);  -guess: ALL_ADMITTED_PATIENT. VISIT_ID is another number.

    COMMIT;

    It inserts nothing,

    but when I try to insert all the values of pl/sql with the same way

    INSERT INTO VISIT_TEST (NO., VISIT_ID) VALUES (2, 4);

    It inserts with success.

    the code for creating the table of tempo is

    CREATE A VISIT_TEST GLOBAL TEMPORARY TABLE (NO NUMBER, NUMBER VISIT_ID) COMMIT PRESERVE ROWS

    Why does not insert on it data?

    PS: the whole issue is that I run a report from a form, and the query of the report is based on the temporary table.

    what I want to know is, when I run the report from inside my form, is considered a new session, and this is why the report cannot see the data in the table of tempo or am I wrong?

    Thank you

    > when I run the report of my form, which constitutes a new session, and this is why the report cannot see the data in the table of tempo, or am I wrong?

    You're not bad. Forms and reports use separate database sessions. Reports can not see TWG data entered via Forms module.

    Concerning

  • insert into the table based on the difference in line (or using less)

    Hello

    Oracle Version: 11g

    Operating system: Solaris 10.

    I was wondering if it is possible to insert data in a table based on the operator 'less' Please?

    We have a very large table in a database, we moved to a different database. The table is cleared by a line for a certain range of dates, and we wondered if it is possible to insert this line of data in the remote database using the difference of rank between the two tables.

    Here's the query that we are running:

    SELECT ID , TO_CHAR (creation_datetime, 'yyyy-mm-dd')
    from TABB10 
    where TO_CHAR (creation_datetime, 'yyyy-mm-dd')='2014-03-18' 
    minus 
    SELECT ID , TO_CHAR (creation_datetime, 'yyyy-mm-dd')
    from TABB10@TABB_LINK.APDB00 
    where TO_CHAR (creation_datetime, 'yyyy-mm-dd')='2014-03-18'
    

    TO_CHAR (CR ID

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

    2.4111E + 17-18 / 03 / 2014

    Any ideas please?

    Thank you

    If I don't get me wrong, you can insert as below

    INSERT INTO REMOTE_TABLE@DBLINK

    SELECT ID, TO_CHAR (creation_datetime, "yyyy-mm-dd")

    of TABB10

    where TO_CHAR (creation_datetime, 'yyyy-mm-dd') ='' 2014-03-18

    less

    SELECT ID, TO_CHAR (creation_datetime, "yyyy-mm-dd")

    of TABB10@TABB_LINK. APDB00

    where TO_CHAR (creation_datetime, 'yyyy-mm-dd') ='' 2014-03-18

    Concerning

  • Library assets CC insertion into documents that bind files - why?

    I added a few vector illustrations to my CC library, but whenever I have insert / them in a document inserts it / them as linked files.  It does not change the background color or outline or do anything to the other picture that resize it.

    If I select window > links it is listed under the name of library CC gave me when I added it - 1 work for example - the format is "HAVE (linked file)" and the location is "libraries > Illustrations > work 1".»

    However, when I click on 'Edit the Original' in the window > links Panel, nothing happens.

    This is how the Illustrator must be react?  I assumed that my CC library assets would act as the stock images I could insert into any document and modify as required, however, such as it is, if I use a library stock chart in two documents, then if I change the original it will update in both documents!  In other words, I must reiterate, if 'Modify the Original' actually works, that it is not.

    How to untie my CC library graphics in a document?

    Would appreciate your advice and your expertise.  Thank you.
    NJ

    Press Alt when dragging into the document.

Maybe you are looking for

  • Satellite L450D-113 - black screen, does not start

    Laptop will not start. Power led lights up. Fan turns for a few seconds then stops. HARD disk rotates. No display. No JOB.Scratches it down. Nothing appears out of the ordinary.Searched the web. This seems to be a common problem with Toshiba laptops.

  • Why Microsoft is still leave innocent people am scam using the name of Microsoft

    After my Parents has been scammed on a £90 by am I was vary wary.  I received calls weekily of them trying to access my PC by declaring that there is a fault/virus/malware on it. On eachoccation they stated that they wrer working on behalf of Microso

  • VB 3.0 exe does not work on W7. I tried the compatibility. Nothing. I need them a lot.

    Suggested compatibility XP SP2.  Probably not the root OS but I copied with success all the way to Vista.  Worked.  Copied to W7 just before the computer Vista crapped out.  Have the OEM disks but no 3.5 drive.  Count as copies (1, 2, 3) hd and even

  • ISE PUA personalized for wireless comments

    Hi all I am trying to Setup wireless using Cisco ISE for the first time invited.  Under Configurations multi-portail, I was hoping to change the DefaultGuestPortal profile so that I could change the wording of the Blurb of Cisco's AUP.  Can someone p

  • OXB026355E error code

    Hello I can't print from my HP Deskjet 3055 printer. The error code above is highlighted on the screen of the printer. could you please tell what this error code means and is it possible to fix it? Concerning Graham Fielding