Multiple database fields in a single text field

hii all
i am trying to do the follwing
i have in my database city ,state adn zip
I want to display them in one field of my tablular form ie the field will have a prompt
prompt :- City ,State and Zip
and in the field i will have the corresponding database values for the 3 seperated by commas
how can i do it ??
plzz help
mandar

Hello,
Create a non-based item, then populate it with concat in a POST-QUERY trigger.
Francois

Similar Messages

  • Search database fields using single text field

    Kindly advise on how to develop a database search page such
    that there is
    single text field to enter serach string and the results are
    shown on the
    same page.
    ALso guide if there is any extension available for achieving
    the above.

    I understand what you say.
    What I am looking for is a wizard or an extension which
    creates the form, as
    well as writes the SQL string and also generates the results
    page
    (preferably on the sarch page itself).
    I am looking for a google like solution where the site
    homepage has one text
    field, and users can search for all the fields of a database
    to give results
    on the same page.
    Please help.
    "malcster2" <[email protected]> wrote in
    message
    news:gg9g8b$lf9$[email protected]..
    > the simplest way of doing it is to have an input box and
    a submit button
    > in a
    > form,
    >
    > when the submit button is pressed, the text in side the
    input box is
    > posted to
    > a variable.
    >
    > the variable is then inserted into a mysql select
    statement, and the
    > results
    > are then echoed to the screen.
    >
    > all of this using php.
    >
    >
    >
    >

  • In XI Mapping multiple fields mapping to single target field.

    Hi Friends,
    In XI Mapping multiple fields mapping to single target field.
    For example my requirement is :
    Source Fields:(This RFC BAPI Structure)
    Empno                0-1
    EmpName           0-1
    Address             0-1
    Taget Field is:
    Details               0-1
    The above three fields passed to the Details Field. Here i am using Concat function
    But i have one query on that on,Every field having "line Break" required.
    Can you please help me out above this requirement.
    Thanks in Advance,
    Sateesh N.

    If you want a line break between the three fields, then try
    passing a,b,c to the udf and in the udf you would have
    return a+"\n"+b+"\n"+c;

  • The form of the single text field

    Friends, hello!
    A month Bucy on the issue of creating online form consisting of a single text field. Adobe Muse does not allow to disable field name and email. This greatly hinders my project.
    I want site visitors to your phone and all, but the manager would call him myself. Why bother visitor?
    Help who knows?

    Hi Jim,
    According to the descption, you are developing a solution using Access and the backend is MS SQL Server 2008 R2.
    And you want to open view a text filed in the Notepad++. It depneds on whether this tool can accept a string parameter.
    If yes, I thinks you can pass the text filed direct to the Notepad++ via the command line. If not, you need to write the text into a temp file and use the Notepad++ to open this temp file.
    Here is a sample that use Shell function to run an applicaiton:
    ' Specifying 1 as the second argument opens the application in
    ' normal size and gives it the focus.
    Dim RetVal
    RetVal = Shell("C:\WINDOWS\CALC.EXE", 1) ' Run Calculator.
    You can get more detail about this function from link below:
    Shell Function
    And if you have problem using Notepad++, I suggest that you get support from the Offcial site.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Concatenating 2 fields in a single text box...

    Hi All,
        I want to display 2 fields in a single text box of an adobe form....how is it possible????   one field is the pernr and the other is a text field.....

    Hello,
    You can do in 2 ways.
    1. Wrap 2 fields into one subform,set flow content to the subform and set the expand to width.Set expand to width to the 2 fields.
    2. Wrap 2 fields into one subform, set invisible in the object properties , set height and width as 0, Insert 3rd text field into the subform set no binding. Write the below script on the subform in form ready ( if it is in body page).
    [code]var f1 =  $.field1
    var f2 =  $.field2
    $.field3  = Concat(f1, f2)[/code]
    pavan meda

  • Multiple DataBase Connection in a Single Form

    hi all
    Is it Possible to have Multiple Database Connection With a Single Form
    Block a : Retriving data from a database Service a/Schema A.
    Block b : Retriving data from a Remote Database Service b / Schema B.
    If yes how to do this.
    regards
    jai
    email:[email protected]

    Sure you can access a database this way,
    but can you base a block on this database connect? No you can't.
    Frank

  • Remove custom field instead of default text field

    I need  migrate to SharePint 2013 from 2007.
    In SharePoint 2007 List include a custom field.
    Dont use the custom field again,
    I want remove custom field instead of default text field (remain metadata).
    How to do it ?
    Thanks

    Hi ,
    According to your description, my understanding is that you want to migrate SharePoint from 2007 to 2013 with managed metadata column. Is it right?
    If you need to migrate managed metadata columns, you also need to migrate the Managed Metadata Service application. however, when you use this method, only global terms are available but the local terms  are not available.
    So, if you used the local terms for the managed metadata column, I suggest you use a third party tool or manually re-create the column in the destination list.
    There are some articles about migrating managed columns, please take a look at:
    http://sharepointconnoisseur.blogspot.jp/2012/06/migrate-sharepoint-2010-content-with.html
    http://www.metalogix.com/help/Content%20Matrix%20Console/SharePoint%20Edition/002_HowTo/003_MigrationActions/011_CopyTaxonomy.htm
    http://www.quest.com/tv/All-Videos/1749994742001/Migrating-to-SharePoint-Managed-Metadata-Columns-with-Migration-Suite-for-SharePoint/Video/
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • What is the Table name & Field Name for Clearing text field in F-53 Transac

    Hi,
    I need prepare a functional specification for Clearing text field in Check Register.I am not able to find the Table name and Field Name for Clearing text field in F 53 transaction code.Kindly provide me the Table and filed name.so that i can proceed.Kindly help me.
    I will assign points.
    Thanks
    Sunitha

    Hi
    From the payment document you have to link to the clearing document (Number BSEG-AUGBL, same Fiscal year and Company Code) in the clearing document the text entered in the transaction can be found on item text (BSEG-TEXT).
    RF05A is a Structure name
    Ranga
    Edited by: Ranga Swamy on Dec 4, 2008 7:55 PM

  • Multiple checked boxes fill in common text field

    I am attempting to create a form that has various criteria that are checked off (check boxes) and need to populate a common text field within the same form. Presently with action items I am able to design the form so that when only one item is checked it shows up on in the text field at a time not multiples  Any suggestions would help.
    Thank you

    1) In the Binding tab of your checkboxes you can put the On Value to whatever you want to populate the common text field with and the Off Value blank.
    2) Assuming all your check boxes names are CheckBox under the same subform use this script in the calculate event of your common text field:
    var aChkList=[];
    var vChecks = CheckBox.all;
    for (var a=0;a<vChecks.length;a++){
    if (!vChecks.item(a).isNull){
      aChkList.push(vChecks.item(a).rawValue);
    this.rawValue=aChkList.join(", ");
    Kyle

  • Wrapping Text to a New Line in a Single Text Field.

    I was wondering is it possible to conintue text in the same text field that runs out of space on a line to a new line in the same text field.  If this is possible could someone please advise.
    i.e:
    alot of text and random txt [ text box   
    text ] more txt on the next line.

    You need to check the checkbox "Allow multiple lines" in the Object properties.. You need to check the checkbox "Expand to Fit" for height in the Layout properties of the field.
    When you do this, you need to set the subform that wraps the TextField to Flowed. Otherwise the text will overlap on the fields below.
    Make sure you save the form as Dynamic PDF. Goto File menu -> Form Properties and choose Default tab. And select "Render PDF as"  Dynamic PDF.
    Hope this helps.
    Thanks
    Srini
    Added the image.. Message was edited by: Srini Dhulipalla

  • Importing multiple amount columns from a single text file

    I'm sure this question has been addressed many times. I have tried to search for an answer here and other areas, but I have not been able to find a clear answer yet. I am relatively new to HFM and FDM and thus do not have a lot of experience to fall back on. I am primarily a Planning/Essbase person. That being said, here is my question:
    I have a data source (text file) containing two amount columns that I need to load to HFM via FDM. One amount column consists of Average Exchange Rates and the other amount column consists of Ending Exchange Rates. I have been asked to develop a process to load both columns of data to HFM using a single process (one Import Format). I've been told this is possible by writing an Import DataPump script. It seems that I would need to create a temporary record set based on the original source file and modify it so that it contained a duplicate set of records where the first set would be used for the Average Rate and the second set would be used for the Ending Rate. This would be a piece of cake using SQL against a relational source, but that's obviously not the case here. I do have some experience with writing FDM scripts but from an IF... Then... Else... standpoint based on metadata values.
    If there is anyone out there that has time to help me with this, it would be most appreciated.
    Thanks,

    This is relatively easy to achieve with a single import script associated with the Account source field (assuming AverageRate and EndRate are accounts in your application) in your import format.
    Essentially your first amount say AverageRate would be set as the default field for Amount and these values would be loaded as if it were a single value file. For the second value, EndRate you would have to insert the second value directly into the FDM work table which is the temporary table populated when data is imported from a file during the import process. The example code snippet below suld gve you guidance on how this is done
    'Get name of temp import work table
    strWorkTableName = RES.PstrWorkTable
    'Create temp table trial balance recordset
    Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
    If IsNumeric(EndRateFieldValue Ref Goes Here) Then
              If EndRateFieldValue Ref Goes Here <> 0 Then
                   ' Create a new record, and supply it with its field values
                   rsAppend.AddNew
                   rsAppend.Fields("DataView") = "YTD"
                   rsAppend.Fields("PartitionKey") = RES.PlngLocKey
                   rsAppend.Fields("CatKey") = RES.PlngCatKey
                   rsAppend.Fields("PeriodKey") = RES.PdtePerKey
                   rsAppend.Fields("CalcAcctType") = 9
                   rsAppend.Fields("Account") = "EndRate"
                   rsAppend.Fields("Amount") = EndRateFieldValue Ref
                   rsAppend.Fields("Entity")=DW.Utilities.fParseString(strRecord, 16, 1, ",")
                   rsAppend.Fields("UD1") = DW.Utilities.fParseString(strRecord, 16, 2, ",")
                   rsAppend.Fields("UD2") = DW.Utilities.fParseString(strRecord, 16, 3, ",")
                   rsAppend.Fields("UD3") = DW.Utilities.fParseString(strRecord, 16, 16, ",")
                   'Append the record to the collection
                   rsAppend.Update
              End If
    End If
    'Close recordset
    rsAppend.close
    In addition the return value of this Import Script should be "AverageRate" i.e. name of ht eaccount associated with the first value field. The NZP expression also needs to be put on the Amount field in the import format to ensure that the EndRate Field value is always processed even if the value of AverageRate is zero.

  • Multiple database members in a single Grid Row

    Hi All,
    I have created an FR report (9.3x) and getting the below error while trying to run the report via Web Preview.
    5217: Error Processing Results;hasPovDims=1;povXML=<?xml version="1.0"?><datasources><datasource name="FIN QA" dsid="-117fcde3_132fd17f2f6_-771b" allowEdit="1"><dim name="Versions" dimIndex="0" dsName="FIN QA" keyDimName="Versions" memberName="Versions" displayName="Versions: Versions"/><dim name="Scenarios" dimIndex="4" dsName="FIN QA" keyDimName="Scenarios" memberName="Scenarios" displayName="Scenarios: Scenarios"/><dim name="Components" dimIndex="5" dsName="FIN QA" keyDimName="Components" memberName="Components" displayName="Components: Components"/><dim name="Customers" dimIndex="6" dsName="FIN QA" keyDimName="Customers" memberName="Customers" displayName="Customers: Customers"/><dim name="Assets" dimIndex="7" dsName="FIN QA" keyDimName="Assets" memberName="Assets" displayName="Assets: Assets"/></datasource><datasource name="FINDEF QA" dsid="-607fb334_128b79d246e_-7d0a" allowEdit="1"><dim name="Time Periods" dimIndex="1" dsName="FINDEF QA" keyDimName="Time Periods" memberName="Time Periods" displayName="Time Periods: Time Periods"/><dim name="Scenario" dimIndex="3" dsName="FINDEF QA" keyDimName="Scenario" memberName="SC_Actual" displayName="Scenario: SC_Actual"/><dim name="Versions" dimIndex="4" dsName="FINDEF QA" keyDimName="Versions" memberName="VR_Input_Version" displayName="Versions: VR_Input_Version"/><dim name="Customers_Region" dimIndex="6" dsName="FINDEF QA" keyDimName="Customers_Region" memberName="CU_NA" displayName="Customers_Region: CU_NA"/><dim name="Assets" dimIndex="7" dsName="FINDEF QA" keyDimName="Assets" memberName="Assets_NA" displayName="Assets: Assets_NA"/></datasource></datasources>
    In my report I have selected 2 rows where I have selected @descendants of ccounts from one database which is FIN QA and in the second row I have selected @children of Accounts from another database which is FINDEF QA. I am using only ONE GRID here.
    Is it not possibe to run a FR report by select members from multiple databases in a single grid??
    Please have your valuable inputs.

    Yes it possible to retrive data from multiple database using single grid.
    Also there are few limitations namely:
    Database connections must be of the same type (for example, both must be Essbase database connections or both must be Financial Management database connections).
    Mismatched number of dimensions in the database connections may cause retrieval errors.
    For more details refer to this link for details:-
    http://www.oracle.com/technetwork/middleware/financial-management/tutorials/obe-multipledbs-086586.html
    Cheers
    Vikas Naidu

  • Need to get data from multiple database instances in a single query

    Hi,
    I need a small favour from you guys. The prob is as follows:
    I need to get name, row_id from table A from schema 1 and gbu_name, name from table B from schema 2 where a.name = b.name. I wrote the query in the following manner:
    SELECT a.name, a.row_id, b.gbu_name
    FROM Schema1.A as a, Schema2.B as b
    Where a.name = b.name
    But this query is not working and the error is like " The table does not exists".
    Please update me how to avoid the error and get the right sort of result.
    Thanks & Regards,
    Debabrata

    Ah, youre actually asking different things.
    In your topic title, you say youre running separate instances
    In your body text, you say you are under different user/schema
    So tell me, do you have more than one database or not? How many entries in your TNS file?
    I would say, for "multiple database instances"
    SELECT
      a.id, b.id
    FROM
      tableA a
      INNER JOIN
      tableB@OTHER_DATABASE_LINK_NAME b  <--NOTE!
      USING(id)And of course you will have to look up CREATE PUBLIC DATABASE LINK sql..
    Message was edited by:
    charred

  • Multiple Database access in a single transaction

    Hello All,
    I have read in a book which states that "according to J2ee Specification,a single transaction(an EJB method for example) may not be provided access to multiple JDBC resource providers.."
    Does it mean that i cannot access multiple databases from different vendors in a single EJB transaction??
    Any help is very much appreciated
    Thanks

    Hello Sebastien,
    Thanks for your response!!!
    Let me make it bit more clear.In deploymewnt descriptor,we define jndi name for any resource and do a lookup on that resource from the code.
    Let us consider that resource as JDBC data source for our discussion.usually you define any jdbc data source under a JDBC resource provider.
    So my question is,in a single transaction can you access multiple data sources defines under multiple JDBC resource providers.
    Ex:A datasource "x "defined under resource provider "A"[say DB2 jbdc provider] and a datasource "y" defined under respurce provider "B"[say mysql jdbc provider].
    Thanks

  • How to restrict Date field entered in a text field should be of MM/dd/yyyy

    Hi,
    I have an text field for Date entry,the Date format is MM/dd/yyyy,while entering the value i want to verify wether the values entered are valid or not,like month should n't be more than 12,date value depends on month should not exceed 30,31 or 28,year should not exceed 9999 like,if not possible at the time of entery i want to stop at least before submission.Right now i am traing to use my own model which extends PlainDocument calss,
    as in the fallowing way.But i t could not stop me to enter the wrong values ,Any help would be appreciated.
    mport javax.swing.text.PlainDocument;
    import javax.swing.text.AttributeSet;
    import javax.swing.text.Document;
    import javax.swing.text.BadLocationException;
    import java.awt.Toolkit;
    * Insert the type's description here.
    * Creation date: (11/26/2001 6:22:14 PM)
    * @author: Administrator
    class DateFormatDocument extends javax.swing.text.PlainDocument {
    * DateFormatDocument constructor comment.
    String sInputMask;     DateFormatDocument(){
    //     sInputMask="MM/dd/yyyy";
              sInputMask="09/30/2000";
    try{
    //     insertString(0,"MM/dd/yyyy",null);
         insertString(0,"09/30/2000",null);
         }catch(BadLocationException ex){System.err.println(ex);}
    public void insertString(int offs,String str,AttributeSet a) throws BadLocationException{
         String sText=super.getText(0,getLength());
         if(sText.length()==0)
              super.insertString(offs,str,a);
              return;
         int len=str.length();
         String sText1 = super.getText(0,2);String sText2 = super.getText(3,5);String sText3 = super.getText(6,10);
         int str1=Integer.parseInt(sText1);int str2=Integer.parseInt(sText2);int str3=Integer.parseInt(sText3);
    //     System.out.println("str1:"+str1);
         if(offs<2 && str1<=12){
         if(len<=2){
                   super.remove(offs,len);
                   super.insertString(offs,str,a);
         else if(offs==2){
              super.remove(offs,1);
              super.insertString(offs,"/",a);
         else if(offs<5 && str2<=30){
              if(len<=2){
                   super.remove(offs,len);
                   super.insertString(offs,str,a);
         else if(offs==5)
              super.remove(offs,1);
              super.insertString(offs,"/",a);
         else if(offs<10 && str3<=9999 ){
              if(len<=4){
                   super.remove(offs,len);
                   super.insertString(offs,str,a);
         else{
              System.err.println("Beep!");
              //Toolkit.beep();
    public void remove(int offs,int len) throws BadLocationException{
         System.err.println(offs + " " + len);
         if(offs<2){
              if(len==1){
                   super.remove(offs,len);
                   super.insertString(offs," ",null);
              else if(len==2){
                   super.remove(offs,len);
                   super.insertString(offs," ",null);
         else if(offs==2){
              //do nothing
         else if(offs<5){
              if(len==1){
                   super.remove(offs,len);
                   super.insertString(offs," ",null);
              else if(len==2){
                   super.remove(offs,len);
                   super.insertString(offs," ",null);
         else if(offs<10){
              if(len==1){
                   super.remove(offs,len);
                   super.insertString(offs," ",null);
              else if(len==2){
                   super.remove(offs,len);
                   super.insertString(offs," ",null);
              else if(len==3){
                   super.remove(offs,len);
                   super.insertString(offs," ",null);
              else if(len==4){
                   super.remove(offs,len);
                   super.insertString(offs," ",null);
    }

    <code>
    mport javax.swing.text.PlainDocument;
    import javax.swing.text.AttributeSet;
    import javax.swing.text.Document;
    import javax.swing.text.BadLocationException;
    import java.awt.Toolkit;
    * Insert the type's description here.
    * Creation date: (11/26/2001 6:22:14 PM)
    * @author: Administrator
    class DateFormatDocument extends javax.swing.text.PlainDocument {
    * DateFormatDocument constructor comment.
    String sInputMask; DateFormatDocument(){
    // sInputMask="MM/dd/yyyy";
    sInputMask="09/30/2000";
    try{
    // insertString(0,"MM/dd/yyyy",null);
    insertString(0,"09/30/2000",null);
    }catch(BadLocationException ex){System.err.println(ex);}
    public void insertString(int offs,String str,AttributeSet a) throws BadLocationException{
    String sText=super.getText(0,getLength());
    if(sText.length()==0)
    super.insertString(offs,str,a);
    return;
    int len=str.length();
    String sText1 = super.getText(0,2);String sText2 = super.getText(3,5);String sText3 = super.getText(6,10);
    int str1=Integer.parseInt(sText1);int str2=Integer.parseInt(sText2);int str3=Integer.parseInt(sText3);
    // System.out.println("str1:"+str1);
    if(offs<2 && str1<=12){
    if(len<=2){
    super.remove(offs,len);
    super.insertString(offs,str,a);
    else if(offs==2){
    super.remove(offs,1);
    super.insertString(offs,"/",a);
    else if(offs<5 && str2<=30){
    if(len<=2){
    super.remove(offs,len);
    super.insertString(offs,str,a);
    else if(offs==5)
    super.remove(offs,1);
    super.insertString(offs,"/",a);
    else if(offs<10 && str3<=9999 ){
    if(len<=4){
    super.remove(offs,len);
    super.insertString(offs,str,a);
    else{
    System.err.println("Beep!");
    //Toolkit.beep();
    public void remove(int offs,int len) throws BadLocationException{
    System.err.println(offs + " " + len);
    if(offs<2){
    if(len==1){
    super.remove(offs,len);
    super.insertString(offs," ",null);
    else if(len==2){
    super.remove(offs,len);
    super.insertString(offs," ",null);
    else if(offs==2){
    //do nothing
    else if(offs<5){
    if(len==1){
    super.remove(offs,len);
    super.insertString(offs," ",null);
    else if(len==2){
    super.remove(offs,len);
    super.insertString(offs," ",null);
    else if(offs<10){
    if(len==1){
    super.remove(offs,len);
    super.insertString(offs," ",null);
    else if(len==2){
    super.remove(offs,len);
    super.insertString(offs," ",null);
    else if(len==3){
    super.remove(offs,len);
    super.insertString(offs," ",null);
    else if(len==4){
    super.remove(offs,len);
    super.insertString(offs," ",null);
    </code>

Maybe you are looking for