Table updation with field name

Hi All,
There is a question running in my mind. If i am filling multiple data in a same text area then whether it will update the database table for that column or not. Lets take an example.
I have a workspace MTN, USERNAME: [email protected] and PASSWORD is tiyotim. In that i have an application made 41727. Under page 1 of ths application i have created few items in one region and a submit button.
If you see my database i have a table called CLUB which is having columns ID, NAME, CLASS, CLASS_ATTRIBUTE_NAME_1, CLASS_ATTRIBUTE_VALUE_1 etc. The table dont have any data as of now
In my application page when i am putting
ID as 1,
NAME as MARKETING,
CLASS as MARKET,
CLASS_ATTRIBUTE as NAME - COSMETIC
NAME - PEN
NAME - PAPER
When i press the GO button my CLUB table columns should update in this form
ID as 1,
NAME as MARKETING,
CLASS as MARKET,
CLASS_ATTRIBUTE_NAME_1 = NAME
NAME
NAME
CLASS_ATTRIBUTE_VALUE_1 = COSMETIC
PEN
PAPER
Would like to hear from you on all.
Thanks in advance.
Regards

Hi Munky,
I understand what you are tried conveying me...but my question is not that. If you see my fields in the application you will find it is taking the database column and on basis of that it is updating the database columns. But for the field CLASS_ATTRIBUTE_NAME_1 which is the text area. If i write in the text area NAME- COSMETIC, it should update NAME data in the CLASS_ATTRIBUTE_NAME_1 column of database and COSMETIC data in the CLASS_ATTRIBUTE_VALUE_1.
Hope i made you able to understand what i am trying to ask.
Regards

Similar Messages

  • Creating a view on KONA & KONH -  Failed with 'Field name DATAB not unique'

    Hi all,
        I am creating a view on KONA (Rebate Agreement) & KONH (Conditions Header) tables. The link is KONA-KNUMA = KONH-KNUMA_AG.
       The field 'DATAB' exists in both tables and I have included those two fields under 'View Fields' . When I tried to activate the View, it fails with 'Field name DATAB not unique'.
       The following is the complete error message:
    Message no. MC060
    Diagnosis
    When you define aggregates (views, lock objects or matchcode objects), you can assign the aggregate fields your own names (the system assigns names to the basic fields automatically). These names must be unique.
    System response
    The system has established that the names assigned to the aggregate fields in an aggregate definition are not unique and issues an error message.
    Procedure
    Assign unique names to the aggregate fields in question.
       Why I am not able to create the view after including a field that EXISTS in two tables, PLEASE ?
    Thanks,
    Venkat.

    Hi,
    you can include both fields (but what for??); most likely KNUMH will also complain after fixing DATAB (just a guess...).
    You can include both fields if you name them differently (different aliases):
    In the view fields tab, enter two different names in the column "view field".
    this will work.
    hope this helps...
    Olivier.
    Message was edited by:
            Olivier Cora

  • CFUPDATE problem with field name beginning with a number

    I have a form (actually several) that is gathering data for a survey. I tried to use cfupdate to update the data elements and got a string index out of range error. I tested again without the form fields that began with numbers and it worked just fine. I then tried to enclose the offending field names in () and []. Both times I got same error. Does anyone have a work around for this? The code and error are below.
    Changing the field names is not really an option. This survey has almost 400 data points and most of the fields begin with the question number.
    Thanks
    DW
    <cfupdate datasource="#application.fdp_datasource#" tablename="arra_survey1" dbtype="ODBC" formfields = "entry_no, 2_a_fy09, '2_a_fy10', '2_a_fy11', '2_a_fy12', '2_b_fy09', '2_b_fy10', '2_b_fy11', '2_b_fy12', '2_c_fy09', '2_c_fy10', '2_c_fy11', '2_c_fy12', '2_d_fy09', '2_d_fy10', '2_d_fy11', '2_d_fy12', '2_e_fy09', '2_e_fy10', '2_e_fy11', '2_e_fy12', '2_f_fy09', '2_f_fy10', '2_f_fy11', '2_f_fy12', '2_g_fy09', '2_g_fy10', '2_g_fy11', '2_g_fy12', '2_h_fy09', '2_h_fy10', '2_h_fy11', '2_h_fy12', '2_i_fy09', '2_i_fy10', '2_i_fy11', '2_i_fy12', '2_j_fy09', '2_j_fy10', '2_j_fy11', '2_j_fy12', '2_k_fy09', '2_k_fy10', '2_k_fy11', '2_k_fy12', '2_l_fy09', '2_l_fy10', '2_l_fy11', '2_l_fy12', central_office, dept_office, incl_other, 3_a_fy09, 3_a_fy10, 3_a_fy11, 3_a_fy12, 3_b_fy09, 3_b_fy10, 3_b_fy11, 3_b_fy12, 3_c_fy09, 3_c_fy10, 3_c_fy11, 3_c_fy12, 3_d_fy09, 3_d_fy10 3_d_fy11, 3_d_fy12, 3_e_fy09, 3_e_fy10, 3_e_fy11, 3_e_fy12, 3_f_fy09, 3_f_fy10, 3_f_fy11, 3_f_fy12, 3_g_fy09, 3_g_fy10, 3_g_fy11, 3_g_fy12, 3_h_fy09, 3_h_fy10, 3_h_fy11, 3_h_fy12, 3_i_fy09, 3_i_fy10, 3_i_fy11, 3_i_fy12, 3_j_fy09, 3_j_fy10, 3_j_fy11, 3_j_fy12, 3_k_fy09, 3_k_fy10, 3_k_fy11, 3_k_fy12, 3_l_fy09, 3_l_fy10, 3_l_fy11, 3_l_fy12">
    String index out of range: -2
    The error occurred in C:\Inetpub\wwwroot\directory\process_arra_suvey_2.cfm: line 12
    12 : <cfupdate datasource="#application.fdp_datasource#" tablename="arra_survey1" dbtype="ODBC" formfields = "entry_no, 2_a_fy09, '2_a_fy10', '2_a_fy11', ...

    I think you have run one of CFUPDATE's limitations.  I am not 100% certain, but I do not think cfupdate provides a way to escape invalid column names like yours.  In which case you may need to do a regular UPDATE within a  cfquery instead... or rename your columns.
    fields that began with numbers
    Most databases discourage creating column names that start with a number (or other restricted characters).  While many databases will allow you to escape invalid names, it is simpler all around to avoid them altogether.  Otherwise, you may have to escape the names in every single query. The recommendations vary, but usually object names that begin with a  letter, and contain only letters, numbers and underscores are considered  safe.
    This survey has almost 400 data points and most of the fields begin with the question number.
    Four-hundred (400) is a lot of columns for a single table.  The fact that they all them seem to contain the same type of information (ie response to a question) is an indication that data should probably be stored in a separate table, as rows, not columns.  For example questions could be stored in one table, possible answers in another, and the results of an individual test/survey stored in a third table.  A structure like that is much easier to query, can easily accommodate changes (add/remove questions, responses, etcetera) without having modify the table every time.

  • Save the PDF Form with Field Name

    HI Guys,
    I have the Requirment in PDF Form.The PDF Form is generated with the Adobe Live Cycle Designer.After generating the PDF Form the user filled the details in the form and save the filled form.while clicking the Save button the default PDF name is displayed in the File name box.The Requirement is iam having one field in the form.The Field name value should needs to displayed in the File name box during saving.Is it possible.Once its possible please let me know.This is needs to be delivered very shortly.
    Thanks & Regards,
    SatheshKumar R

    You can save the form with name generated from a field's value, but therefore you will have to install a folder level script first and design a custom save button in your form.
    You cannot do this with the applications save or save as... buttons, and you also cannot rename a file on submit.
    Here's an example form and a folder level script. (Maybe to complicated fdr newbies)
    http://thelivecycle.blogspot.com/search/label/Save

  • Table nyoame and field name..

    hi frds
    can anyone explain me what is OPEN PO Number and Qty and give its table name and field name ??
    by
    PARI VENDHAN.R

    Hi,
    EKKO - Pur. Doc Header
    EKPO - Pur. Doc Item
    Logic:
    1. Read PO headers from EKKO
    2. Read Items from EKPO
        Here check the field EKPO-ELIKZ (Delivery Complete Indicator).
    3.If for all items if delivery complete indicator is set that is not a open PO
    4. If you have atleast one non-delivery complete then it will be a open PO
    Rewards if this answer is useful.
    Thanks,

  • Tables created with weird names

    I ran some insert scripts on a 10g oracle db and found that some tables have been created with wierd names like 'BIN$+2KAmAoPTKO5tzd9l1bmBQ==$0' . I could not even rename/drop these tables. I get the error message
    "ORA-27235: Message 27235 not found; product=RDBMS; facility=ORA
    if someone has encountered this prob before please help..

    They're already deleted tables....
    Oracle 10g has a recycle bin, where deleted tables are not actually deleted.
    You have to run a command ( think it's "purge recyclebin" ) to delete them permanantly.
    regards,
    Owen

  • Oracle  deleting rows from tables starting with the name PQ

    hai friends
    we are given access rights to delete only tables starting with PQ. HAVING PQ_NUM as primary key for all the PQ tables.
    totally we have 6 tables. PQ_01,PQ_02, PQ_03,PQ_04,PQ_05,PQ_06.
    ALL This tables will have one primary key. for example pq_01 willl have pq01_num as primarykey and pq_02 table will have pq02_num as primary
    key.
    pq01_num value will exist in all the primary key of pq tables.
    i want query to delete rows from the pq tables based on the input value i give.
    for example if i give primarykey value 122 then that value in pq tables should be deleted.
    One more problem is there. pq_06 table does not have pq02_num column. here the column differs. it is pq06_num_req.
    so give your idea of deleting the rows from pq tables
    waiting
    S

    I dont have access to databse,this is untested
    declare
      v_cmd  varchar2(2000);
      columnname varchar2(30);
    input_value number:=??;
    tabowner varchar2(30):=???
    begin
    --step 1 identify table
      FOR sub IN (SELECT table_name table_to_delete
      FROM all_tables
    WHERE table_name LIKE 'PQ%'
    and owner=tabowner
    ) LOOP
      ----step 2 identify column
    v_cmd :='select t.column_name from all_constraints S,All_Ind_Columns T where
    S.OWNER=T.TABLE_OWNER
    AND S.TABLE_NAME=T.TABLE_NAME
    AND S.INDEX_NAME=T.INDEX_NAME
    and s.owner=tabowner
    AND S.TABLE_NAME='||table_to_delete||'
    and s.constraint_type='''P'';
         execute immediate v_cmd into columnname; 
         --step 3 delete records
        v_cmd := 'delete from '||tabowner||'.' ||
                 sub.table_to_delete || '
       where '||columnname||'='||input_value; 
         execute immediate v_cmd;
        commit;
         END LOOP; 
    end;Edited by: user5495111 on Aug 11, 2009 6:35 AM

  • Export tables  starting with same name format

    Hi All,
    I need to export set of table below
    it_approvals
    it_attachments
    it_dev_schedule
    it_dev_schedule_log
    it_email
    it_email_group
    it_filetype
    it_group
    it_group_system
    it_manage_system
    it_menu
    it_page
    it_page_action
    it_parameter
    it_personal
    it_release_update
    it_releases
    it_request_forms
    it_request_update
    it_role
    it_role_filetypes
    etc....
    When i perform the export are there any option to take export all tables starting with it,
    below is the command i'm willing to use, what are the parameters should i use to do the above task
    exp system/oracle tables=ABC.it_it_page,ABC_it_email file=ABC.dmp log=ABC.log owner=ABC

    Try to use datapump export and import.
    Please refer this thread
    export issue

  • Cfpdfform issue with field name

    We have a pdf that is filled out by ColdFusion using <cfpdfform>.  A field in the pdf was named incorrectly so there are 2 fields named the same thing (let's say "field1").  As the system has populated (many) copies of the pdf the same value has gone into both fields named "field1" when really two different values should have gone into a "field1" and "field2".
    I need to get the information correctly entered into "field2" so I had two ideas...
    I researched was renaming the field in all the pdfs using ColdFusion (so I could repopulate the new field) but that does not appear to be possible.  But to confirm... Can you rename a field in a pdf using ColdFusion?
    If I couldn't rename it I just wanted to change what was in the second occurrence of "field1".  I tried using the index attribute of <cfpdfformparam> but that only applies to forms created in LiveCycle.  Does anyone know how to populate only one occurrence of a field name in a pdf using <cfpdfform>?
    As an aside I have corrected the field name in the pdf for future use.

    No, it is why advance users do not use the wizard.
    Have a look at OpenOffice.org and its form creation. Once you add your fields in OpenOffice.org, just export to PDF and the form fields will be named just like you named in them in OpenOffice.org and the drop down values carry over.

  • Need infotype along with field name

    Dear Experts,
    Can anyone please tell me the Infotype & Field name from where the following fields can be fetched.
    Location
    Designation
    Department
    Division
    company
    Date of joining
    date of confirmation
    gross salary(if yes which salary type i have to select).
    Please tell me soon as i need to finish the development.
    Kind Regards
    Sajid

    Hi Sajid,
    Requested information is found in IT0001 and IT0041.
    Location  :    PA0001-WERSK or PA0001-BTRTL
    Designation  : PA0001-PLANS
    Department  : PA0001-ORGEH
    Division       :  May be PA0001-WERKS
    company    : PA0001-BUKRS
    Date of joining     : PA00041
    date of confirmation : PA0041
    gross salary(if yes which salary type i have to select).
    Get the confirmation from your Functional consultant.. He is the best person to give you the accurate information.
    Regards,
    Narendra.

  • Alias with field name in MS SQL Server

    Is it possible that we can define alias for field name in MS SQL Server?
    For example:
    mytable : Id, Name, Value
    Could we define "AnotherName" for "Name" field that we can call it from sql
    SELECT anothername from mytable

    I don't know if you can "permanently" create an alias
    without a view or something like that but if you just
    want another name when you execute a select do this:
    Select name as another name from tableAt least in some databases the syntax for that can vary slightly. So the following might be needed....
    Select name as 'another name' from table

  • Wich is table for match between Infoprovider and update with technical name

    Thanks in advance!
    Bye!
    Ferdinando

    Hello ,
       You can check table --> RSUPDINFO table for Update rules with tech ID between Cube and InfoSources.
    and other ref tables are --> RSUPDROUT / RSUPDDAT / RSUPDKEY /
                --EnjoySAP
    **Award credits if you are done with my answer

  • Varient table update with changes in sap table

    Hi,
    is there any way with which i can update a varient table with the new values in sap standar table.
    example can be, i created varient table T_TEST, its having 2 characterstic MAT_1 and MG_1,
    MAT_1 is key field and is is having material number from mara , MG_1 is material group.
    so can i update my varient table automaticaly each and every time a new material is created ?
    while going through SAP help i come across
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/23/0be7d831cb11d2909c0000e8a49aad/content.htm
    but its for transfering data from varient table to new database table , i want it other way round.
    please reply if you did it in past.
    Thanks
    Best Regards
    Edited by: Ritesh on Nov 4, 2010 10:00 PM

    technical teams got the ways to do it , closing thread.

  • 6120 Classic, SMS won't update with the name of th...

    Hi,
    well this is the problem. Suppose I receive an SMS from a person before I enter that person's number in a contact entry, the "From:" of the sms will be displayed as (ex.) +123123123 which is the phone number of the person that sent the SMS.
    When I create the contact that contains the number, newly received SMSs will be correctly shown as From: "Contact Name" but previously received messages will not be updated to reflect the newly created contact and will retain the From as +123123123.
    Is there a way to change this so that the phone changes the "From:" of old messages to reflect changes in contacts? Note that when browsing the SMSs in PC Suite, the "From:" is correctly displayed with the contact's name and not the number, even for older messages.

    I know that the N95 software is irrelevant here, that's why I mentioned it in my reply since it had no use to me.
    And you mention the thousands of messages that will have to be rechecked, but it will not be thousands of messages since this happens only before you create the contact, so of the thousands of messages that someone will have, only a hundred or so will be like this. And what kind of load will this produce anyway, it will happen very rarely and only the messages that have a number instead of a name will checked.
    You're saying that currently there is no solution to this, so there's nothing I can do ? No software or something that can help me ?
    And sorry for posting this in the wrong section, I noticed that it was moved.
    Btw, this is supposed to be a smartphone with good hardware for it to use, my sis' phone can do what I asked, and it's an entry level nokia phone.

  • How to stream one table twice (with different names) in another schema ?

    hello guys,
    i have to replicate one table (TAB_1) from one schema (SCH_1) on source database (DB_1) twice to schema (SCH_2) on target database (DB_2) with two different names (TAB_1 and TAB_1_SHORT). TAB_1_SHORT on target db should be a subset (eg. WHERE STATUS = 1) of TAB_1 !
    how to do ? can anyone help me ?
    i tried to realize that this way:
    1) creating 1 capture process with 1 table rule on source db (without any subset rules to capture all changes) for table TAB_1
    2) creating a propagation process without any rules
    3) creating 1 apply process with a table rule for table TAB_1 without any subset_rule but with schema transformation from SCH_1 to SCH_2 (DBMS_STREAMS_ADM.RENAME_SCHEMA) => this works correct !
    4) creating a subset_rule (WHERE STATUS = 1), a schema transformation from SCH_1 to SCH_2 (DBMS_STREAMS_ADM.RENAME_SCHEMA) and a tablename transformation from TAB_1 to TAB_1_SHORT (DBMS_STREAMS_ADM.RENAME_SCHEMA) for table TAB_1_SHORT => doesn`t work, no errors posted in dba_apply_error !
    in another try, i tried to transform the table- and the schemaname in the capture process, with the effect, that my first table TAB_1 wouldn`t be streamed again.
    i`m not sure, what is wrong. i think it must be possible to stream a table to two different targettables in the same schema on another db, isn`t it ?
    hopefully greetings
    Flo

    Hello
    Adding a normal table rule and also a subset rule would not work since the rule would be evaluated only once in the positive rule set. If the normal rule is evaluated first then the subset rule and rest of the rules would not be evaluated at all hence this would not work.
    This can be done using either of the following methods:
    Method 1:
         1. Use the declarative transformation on the capture/apply and rename the schema from SCH_1 to SCH_2.
         2. Now, on the apply site, set a DML Handler for SCH_2.TAB_1
         3. In DML Handler perform the following:
              a. get the column value for STATUS
              b. check if the value for STATUS=1, if yes then modify the object name to TAB_1_SHORT and execute the LCR.
              c. else do not modify the object name (leave it as it is, TAB_1) and execute the LCR.
    Method 2:
         1. Add a DML Handler for SCH_1.TAB_1
         2. In the DML Handler perform:
              a. use set_object_owner method of LCR$_ROW_RECORD to rename the owner to SCH_2
              b. get the column value for STATUS
              c. check if the value for STATUS=1, if yes then modify the object name to TAB_1_SHORT and execute the LCR.
              d. else do not modify the object name (leave it as it is, TAB_1) and execute the LCR.
    Please let me know if you need sample code.          
    Thanks,
    Rijesh

Maybe you are looking for

  • Error : Opening a rowset for "Sheet$" failed. Check that the object exists in the database.

    Hi, i am trying to load the data from excel sheet using For each loop container in ssis 2005. But it gave me the below error: Error: Opening a rowset for "Sheet1$" failed. Check that the object exists in the database. [DTS.Pipeline] Error: "component

  • Where can i download JainSipApi1.2.jar, stun4j.jar,JAIN_SIP-event.jar

    hello friends could you please provide the details for the above jar files

  • A LDAP user stay in state 5

    Hello, I'm using the latest version of GMS (2.0.1 Build : 53) All my users are provisioning by LDAP. All works fine .. except for one user where is state stay "Failed". It's like this user is a GroupWise user, but I find him only in the dashboard, no

  • Jerky videos on Lombard

    Hi everyone! I have a 333MHz Lombard running on OSX.3.9. The computer works fine, only video clips from the internet (whether downloaded or streamed, on Quicktime or Windows Media Player) have this jerky appearance as if some frames are not shown. Th

  • How can I Improve my Render Engine?

    Hey everyone, I successfully set up the Adobe After Effects CS6 Render Engine on my render node but it is rendering very slowly (even if I enabled multiprocessing). Here are the specs: Windows Server 2008 R2 Service Pack 1 Processor: AMD Opteron Proc