Calculated formula for replacing a comma with a Semicolon in a text field

I need help replacing a comma with a Semicolon in a text field.
I have a field that has names separated by commas.  
Ex: Dog, Cat, Bird, Horse, Eagle, Worm, Snake
I would like a calculated column that converts the field into: Dog; Cat; Bird; Horse; Eagle; Worm; Snake
I figured out the first three positions (Dog, Cat, Bird,) but I can't figure out the rest.
Using the formula below.
=REPLACE((REPLACE((REPLACE([Title],SEARCH(",",[Title]),"1"," ; ")),SEARCH(",",(REPLACE([Title],SEARCH(",",[Title]),"1"," ; "))),"1"," ; ")),SEARCH(",",(REPLACE((REPLACE([Title],SEARCH(",",[Title]),"1","
; ")),SEARCH(",",(REPLACE([Title],SEARCH(",",[Title]),"1"," ; "))),"1"," ; "))),"1"," ; ")
Please help

check the similar post
http://social.technet.microsoft.com/Forums/windowsserver/en-US/66e2ae2a-4da9-4c58-a8bb-cf46b1bf448f/calculated-column-to-replace-commas?forum=sharepointgenerallegacy

Similar Messages

  • Replacing csv commas with tabs

    Has anyone come accross a command, preferably in vi to replace comma's seperated fields with tab delimited fields? I know about the substitution command but as people who work with csv files might know that fields of data with commas in them have quotation marks around them, I need to keep these commas in the file.

    Not sure if I understand this 100%
    But if I do, then this should work:
    `fixcsv.py inputfile outputfile`
    Things that are quoted because they contain a comma will no longer be quoted since thats no longer the delimiter (tab is). Also, you can uncomment the commented out line to have every field surrounded in quotes.
    #!/usr/bin/python
    #fixcsv.py
    import csv
    import sys
    reader = csv.reader(open(sys.argv[1], "rb"))
    writer = csv.writer(open(sys.argv[2], "wb"), delimiter='\t')
    #uncomment next line if you want everything quoted
    #writer = csv.writer(open(sys.argv[2], "wb"), delimiter='\t', quoting=csv.QUOTE_ALL)
    writer.writerows(reader)
    Be sure to backup your data just in case.
    Last edited by sabooky (2007-06-06 05:00:14)

  • Replace last comma with ' and '

    Hi All,
    please let me know is there any simple way of replacing last comma in as string with ' and '
    eg: 1.  abc,xyz,wuv should be returned abc,xyz and wuv
         2. abc,wuv should be returned abc and wuv
         3. abc,pqr,cuq,wuv should be returned abc ,pqr,cuq and wuv
    DB version : 11.2.0.3
    Thanks,
    DS

    With only SUBSTR and INSTR:
    <LQS with sample_data as ( select 'abc,xyz,wuv' str  from dual union
      2                        select 'abc,wuv' from dual union
      3                        select 'abc,pqr,cuq,wuv' from dual
      4                      )
      5  --
      6  -- actual query
      7  --
      8  select str
      9  ,      substr(str, 1, instr(str, ',', -1)-1)||' and '||substr(str, instr(str, ',', -1)+1)
    10  from   sample_data;
    STR             SUBSTR(STR,1,INSTR(STR,',',-1)-1)||
    abc,pqr,cuq,wuv abc,pqr,cuq and wuv
    abc,wuv         abc and wuv
    abc,xyz,wuv     abc,xyz and wuv
    3 rows selected.

  • Problem with Refreshing the data bound text fields

    Folks,
    First of all, this a GREAT product and I am moving my apps from Eclipse to Studio Creator. I am very impessed with it so far.
    I am gone through most tutorials, but can't help resolve the problem that I am having. I have a page, that lists all the users in a table. When you click on any user, it opens up another page that lists the detail of the specific user you have clicked on. This a typical use in most web applications, right?
    In the user detail page, I open it in "Read" only mode, by setting the "setReadOnly" to true for all text field components. Then users can edit it by clicking "Edit" button. Edit button just changes the "setReadOnly" to false, to allow editing. After editing, they can hit the "Save" button to save the changes. In the save button, I call this code:
    public void prerender() {
            try {
                userID=getSessionBean1().getUserID();
                getSessionBean1().getWeb_userRowSetUserDetail().setObject(1,userID);
                getWeb_userDataProviderUserDetail().refresh();
                info("prerender: Refresh called");
            } catch (Exception ex) {
                error("Error in userForm.prerender():"+ex.getMessage()+ex.getStackTrace());
                log("Error in userForm.prerender():", ex);
            setReadWrite();
    public String btnSave_action() {
            try {
                getWeb_userDataProviderUserDetail().commitChanges();
                getWeb_userDataProviderUserDetail().refresh();
                info("Data Provider Refreshed in SAVE");
                _readOnly=true;
                form1.discardSubmittedValues("saveVForm");
                info("User Updated New:"+userID);
            } catch (Exception ex) {
                log("Error Description", ex);
            return null;
        public String btnEdit_action() {
            try {
                _readOnly=false;
                //info("User ID Edt="+getSessionBean1().getUserID());
            } catch (Exception ex) {
                error("Error in userForm.btnEdit_action:"+ex.getMessage()+ex.getStackTrace());
                log("Error in userForm.btnEdit_action():", ex);
            return null;
        private void setReadWrite(){
            // Set read-only to true or false for all text fiels
            this.btnEdit.setVisible(_readOnly);
            this.btnSave.setVisible(!_readOnly);
            this.user_id.setReadOnly(_readOnly);
            this.user_email_client.setReadOnly(_readOnly);
            this.user_email_office.setReadOnly(_readOnly);
            this.user_fname.setReadOnly(_readOnly);
            this.user_lname.setReadOnly(_readOnly);
            this.user_id.setReadOnly(_readOnly);
            this.user_password.setReadOnly(_readOnly);
            this.user_password_conf.setReadOnly(_readOnly);
            this.user_phone_cell.setReadOnly(_readOnly);
            this.user_phone_cell_aac.setReadOnly(_readOnly);
            this.user_phone_client.setReadOnly(_readOnly);
            this.user_phone_home.setReadOnly(_readOnly);
            this.user_phone_office.setReadOnly(_readOnly);
        }When the save button is clicked, the database is updated (as I can verify by looking directly into the database), but the data-bound text fields do not display the new value. YES, I am calling refresh() on data provider? I tried to call refresh in both "preRender()" and "Save" button action event, but that did not help either.
    Please note that the save button also changes the "setReadOnly" back to TRUE for all text fields. That means, users view the page in Read-Only mode after saving. (They have to click on "Edit" button again to edit it). I discovered that if I do not set the text field components in "ReadOnly" mode, then they display the updated value of the fields. But if I change setReadOnly to TRUE, then they display the old values (before the save).
    Any idea what I am doing wrong here?
    Thanks

    Here is my experience with it. I have three text
    boxes to be filled out. They are part of a virtual
    form with an add button as the submit. You can fill
    out the 3 and add them and a node is added to a tree
    component. When you click on a node in the tree
    component (the submit to another virtual form that
    the 3 buttons participate in) the text fields should
    be loaded with the values that they where added with.Hard to tell from this explanation, but if the text fields do not participate in a virtual form, then they are not going to get updated when an action in the virtual form happens. Not sure this is your problem. Like I say, hard to tell from this explanation.
    They will not display the values though...having
    nothing to do with read only. If I disable them
    before hand...they display the updated values. If I
    set their value at the top or bottom of prerender,
    they display the change...if I set the value in an if
    conditional that is hit (I have checked many times)
    in prerender, they will not display the values. If I
    set them in the tree handler anywhere, they will not
    display the values. This is very frustrating and is
    wasting tons of my time...I simply want to load the
    text fields based on the tree node that was
    clicked...I have messed with this for hours and it
    certainly does not work.Well, setting them in the tree handler won't work because the tree handler gets called in the page instance that handles the submit and not the page instance that renders the response.
    Posting your prerender code might help. Also, your action handler.
    >
    >
    - Mark

  • Help with cfinput radio button and text fields

    I have a series of radio buttons that allow a user to select
    monetary values but I also want them to be able to define an amount
    if they choose so. I was planning on doing this by providing a
    radio button with the value of other and then using a text field to
    allow the user to enter the monetary value. The problem with this
    is that they might enter a user defined monetary value but forget
    to set the radio button to "other".
    I was hoping that I could set the "other" text input field to
    read only until the point that the user selects the "other" radio
    button. Is there a way to do this using onSelect or another method.
    Or is there a better way to approach this problem? Thanks for any
    help or advice in advance.

    Hi,
    You could call a js function which will select the radio
    button "other " when the user types something in(there are various
    events on cfinput). This way the user will not have to worry about
    selecting the radio button and your requirement will be satisfied.
    Hope this Helps.
    Thanks,
    Bhakti

  • With Oracle Portal 11g Item Text field there is no limit 32k?

    I have a question to O, then Oracle Portal 11g Item Text field there is no limit 32k? Because the version old is limited to 32k for fieldText Item Text. When i add Item text than 32k have error :
    http://btcportal.btc/portal/pls/portal/PORTAL.wwv_add_wizard.edititem
    400 Bad Request
    Unable to process request. Please check the log file for more details.
    thanks!

    Text items are still limited to 32k in Portal 11g. Check the Portal Online Help section 'Add/Edit Text-Based Item' for documentation of this limitation.
    Thanks,
    Erik Janssen

  • Formula for report to run with data of only current day

    I need a report that whenever refreshed it run with data for only the current day. It is for knowing how many checks were performed from the start of the current day to the time the report runs. Iu2019ve tried to use the select expert but I guess I need to use a formula in it.
    Thanks,
    Andreia

    Andreia,
    I think you've posted this into the wrong forum!
    -Anil

  • Calculating time for different timezone, problems with daylight savings?

    Hi all,
    I try to convert my locale time to a different timezone (like a world clock does). This worked until Europe got "summer time". Then my time calculation went wrong. I just paste the following coding to give you a quick reproducable code.
    I did a lot of googleing but nothing found so far. Also search here in the forum didn't help me solving it. So now I created a post on my own.
    The output of the Java programm is the following (without the colored comments). I just entered these comments to show you where the calculation is right and where it goes wrong.
    I have absolutely now idea about where the chase the error. I am only guessing with "daylight savings issue".
    Hopefully anybody has a good idea.
    Thanks in advance
    John
    Europe/London {color:#339966} *(correct calculation!)*{color}
    daylight shift in millis: 3600000
    Is in daylight savings: true
    19.04.2010 11:28:53
    *Europe/Berlin {color:#339966}(correct calculation){color}*
    daylight shift in millis: 3600000
    Is in daylight savings: true
    19.04.2010 12:28:53
    Australia/Sydney{color:#ff0000} (wrong calculation, shoul 1 hour){color}
    daylight shift in millis: 3600000
    Is in daylight savings: false
    *19.04.2010 20:28:53*
    America/New_York {color:#339966}(correct calculation){color}
    daylight shift in millis: 3600000
    Is in daylight savings: true
    19.04.2010 06:28:53
    Asia/Bangkok {color:#ff0000}(wrong calculation, shoud 1 hour){color}
    daylight shift in millis: 0
    Is in daylight savings: false
    19.04.2010 17:28:53
    Asia/Hong_Kong {color:#339966}(correct calculation){color}
    daylight shift in millis: 0
    Is in daylight savings: false
    19.04.2010 18:28:53
    package test.timezone;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.GregorianCalendar;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.TimeZone;
    public class TZCalc {
    public static void main(String[] args) {
    List<TimeZone> list = new LinkedList<TimeZone>();
    list.add(TimeZone.getTimeZone("Europe/London"));
    list.add(TimeZone.getTimeZone("Europe/Berlin"));
    list.add(TimeZone.getTimeZone("Australia/Sydney"));
    list.add(TimeZone.getTimeZone("America/New_York"));
    list.add(TimeZone.getTimeZone("Asia/Bangkok"));
    list.add(TimeZone.getTimeZone("Asia/Hong_Kong"));
    for (TimeZone tz : list) {
    Calendar cal = new GregorianCalendar(tz);
    SimpleDateFormat formatter = (SimpleDateFormat) DateFormat
    .getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM);
    formatter.setTimeZone(tz);
    System.out.println("\n"  +tz.getID());
    System.out.println("daylight shift in millis: "  tz.getDSTSavings());
    System.out.println("Is in daylight savings: "  tz.inDaylightTime(cal.getTime()));
    System.out.println(formatter.format(cal.getTime()));
    }Edited by: jbegham on Apr 19, 2010 3:46 AM
    Edited by: jbegham on Apr 19, 2010 3:47 AM

    You should not set the time zone on the calendar since you want the calendar based on UTC.
            List<TimeZone> list = new LinkedList<TimeZone>();
            list.add(TimeZone.getTimeZone("Europe/London"));
            list.add(TimeZone.getTimeZone("Europe/Berlin"));
            list.add(TimeZone.getTimeZone("Australia/Sydney"));
            list.add(TimeZone.getTimeZone("America/New_York"));
            list.add(TimeZone.getTimeZone("Asia/Bangkok"));
            list.add(TimeZone.getTimeZone("Asia/Hong_Kong"));
            Calendar cal = new GregorianCalendar(); // Regardless of your timezone this holds the number of milliseconds since 1/1/1970 UTC.
            for (TimeZone tz : list)
                SimpleDateFormat formatter = (SimpleDateFormat) DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM);
                formatter.setTimeZone(tz);
                System.out.println("\n" + tz.getID());
                System.out.println("daylight shift in millis: " + tz.getDSTSavings());
                System.out.println("Is in daylight savings: " + tz.inDaylightTime(cal.getTime()));
                System.out.println(formatter.format(cal.getTime()));
            } I have no idea whether or not this then gives the results you expect.

  • Applescript for replacing Original Files with aliases from an Organized Library.

    Hi, all I am new to Applescript and the support community. I am working on developing a script that takes a folder and replaces its original music content with aliases from an organized Library. Let me explain a little better.. I have a list of project folders that all contain folders and original music. My company uses iTunes to store and organize their music. Once iTunes has imported the music and has made a copy of the original file and organizes it accordingly we create an alias within the iTunes Library and manually drag and drop the aliases into our Project folders. I have a Script that reverts the aliases with the orginal file and the coding is
    Code starts here---
    set f to choose folder
    ProcessAlias(f as string)
    -- replacess all alias files in the passed folder path (string)
    on ProcessAlias(this_folder)
    -- get list of folders in this_folder
    set utid to AppleScript's text item delimiters -- store old delimiters
    set AppleScript's text item delimiters to {return}
    tell application "Finder"
    set folder_listing to every folder of folder this_folder as string
    end tell
    set AppleScript's text item delimiters to utid -- restore old delimiters
    if folder_listing is "" then
    set folder_list to {}
    else
    set folder_list to paragraphs of folder_listing
    end if
    -- process folder_list
    repeat with sub_folder in folder_list
    ProcessAlias(sub_folder) -- send each folder back to this subroutine
    end repeat
    -- get list of alias files and process them
    tell application "Finder"
    set alias_files to every file of folder this_folder whose kind is "Alias"
    repeat with this_alias in alias_files
    try -- error if broken alias
    set orig_item to original item of this_alias
    set item_dest to container of this_alias
    move orig_item to item_dest with replacing
    end try
    end repeat
    end tell
    return -- you can return a listing of moved originals if you want
    end ProcessAlias
    Basically I need the revers of this process. The objective is to save space and continue to let iTunes organize and copy files for us. I already have made a script that generates aliases into the subfolders of iTunes organized Library withour replacing the file that iTunes created. I also made a script that takes the itunes library and dumps all the aliases into a designated folder. I thought this may be helpful for drawing aliases to files that are in our project folder but seem to be stuck.
    I was thinking maybe if I took my iTunes and made all the aliases all into one folder to draw aliases from would make it easier. I'm not sure but it seems like there should be some easy way of doing this. Any suggestions would be greatly appreciated.

    Also Script above is for reverting aliases into original files as posted by Eatalay of this forum.

  • Replacing a comma with a paragraph mark

    Hello All,
    I have some poor quality address information which is in the form:
    <ADDRESS>1 High Street, Kensington, London, England, SW1<!ADDRESS>
    and on the letter I need to convert it into:
    1 High Street
    Kensington
    London
    England
    SW1
    Any clues how to do this conversion?
    Help appreciated.
    Regards
    Richard

    If the fields remain constant, then you know how many commas are present. Given that, you can instring and substring the entire string based on the commas.
    You can test this out in SQL using a table.
    create table bip (address varchar2(60));
    insert into bip values
    ('1 High Street, Kensington, London, England, SW1');
    In SQL*Plus:
    col a for a13
    col b for a12
    col c for a12
    col d for a12
    col e for a12
    --this will show each part of the address, but all on one line
    select
    --first part
    substr(address,1, instr(address,',',1,1)-1) "A",
    --second part
    substr(address, instr(address,',',1,1)+2, instr(address,',',1,2)-instr(address,',',1,1)-2) "B",
    --third part
    substr(address, instr(address,',',1,2)+2, instr(address,',',1,3)-instr(address,',',1,2)-2) "C",
    --fourth part
    substr(address, instr(address,',',1,3)+2, instr(address,',',1,4)-instr(address,',',1,3)-2) "D",
    --fifth part
    substr(address, instr(address,',',1,4)+2) "E"
    from bip;
    A B C D E
    1 High Street Kensington London England SW1
    --this will line return after each part of the address
    select
    --first part
    substr(address,1, instr(address,',',1,1)-1) ||chr(10)||
    --second part
    substr(address, instr(address,',',1,1)+2, instr(address,',',1,2)-instr(address,',',1,1)-2) ||chr(10)||
    --third part
    substr(address, instr(address,',',1,2)+2, instr(address,',',1,3)-instr(address,',',1,2)-2) ||chr(10)||
    --fourth part
    substr(address, instr(address,',',1,3)+2, instr(address,',',1,4)-instr(address,',',1,3)-2) ||chr(10)||
    --fifth part
    substr(address, instr(address,',',1,4)+2) "ADDRESS"
    from bip;
    ADDRESS
    1 High Street
    Kensington
    London
    England
    SW1
    What you do in Desktop (xpath query) is to write the select part for each element.

  • REPLACEMENT OF COMMA WITH FULLSTOP

    HI ALL,
           I AM WORKING ON AN ISSUE WHERE I AM FACING A PROBLEM OF COMMA AND FULL STOP.I MEAN THE VALUES SAY NET VAL IS GETTING PRINTED  LIKE <b>2.500,45</b> INSTEAD THE VALUE SHOULD BE <b>2,500.45</b> ,AND I NEED A SUGGESTION FOR THIS ISSUE.AND I HAVE EVEN CHECKED IN SETTINGS IT IS PROPER.DO WE HAVE ANY SUCH FUNCTION MODULE.
                                        THANKS AND REGARDS

    Hi,
    U can use the statement
    SET COUNTRY f.
    Displays the decimal point in subsequentoutput (WRITE) according to the settings specified in the tableT005X for the country ID f.
    IN ur case use the following :
    SET COUNTRY 'DE'.
    If u change the settings, in User profile, then it will be effective only for that user, but its not sure that i.e only user who will exceute, there might be any number of users who will exceute that. So it should not be user dependent.
    Revert back if any issues,
    reward if helpful.
    regards,
    naveen
    Message was edited by:
            Naveen Deva

  • Best practice for replacing a package with equivalent, lots of deps

    I was having CPU issues, posted about a bit back in another thread, which brought up the fact that it might have been related to the nvidia version at that time (325.15). As a result, I switched to nvidia-beta and nvidia-utils-beta from AUR.
    Nvidia from extra is now up to 331.20, and I was thinking of switching back so that I wouldn't always be surprised after a kernel update that no screens were found (AUR packages don't tend to flag updates just because linux updated). Not a big deal, as I just have to re-build the AUR package and I'm set. Anyway, I was going to switch back to the standard nvidia packages, but am not sure what to do about the dependencies on libgl, provided by nvidia-libgl-beta (a split-package provided by nvidia-utils-beta):
    $ sudo pacman -S nvidia
    resolving dependencies...
    looking for inter-conflicts...
    :: nvidia and nvidia-beta are in conflict. Remove nvidia-beta? [y/N] y
    :: nvidia-utils and nvidia-utils-beta are in conflict. Remove nvidia-utils-beta? [y/N] y
    error: failed to prepare transaction (could not satisfy dependencies)
    :: nvidia-libgl-beta: requires nvidia-utils-beta
    $ sudo pacman -R nvidia-libgl-beta
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: cairo: requires libgl
    :: freeglut: requires libgl
    :: glu: requires libgl
    :: libva: requires libgl
    :: qt4: requires libgl
    :: webkitgtk2: requires libgl
    :: xorg-xdriinfo: requires libgl
    $ sudo pacman -Rc nvidia-libgl-beta
    checking dependencies...
    :: avahi optionally requires gtk3: avahi-discover-standalone, bshell, bssh, bvnc
    :: avahi optionally requires gtk2: gtk2 bindings
    :: avahi optionally requires qt4: qt4 bindings
    :: avahi optionally requires pygtk: avahi-bookmarks, avahi-discover
    :: boost-libs optionally requires openmpi: for mpi support
    :: chromium-libpdf optionally requires chromium: default browser to use plugin in (one of the optional dependencies needs to be installed to use the library)
    :: dconf optionally requires gtk3: for dconf-editor
    :: ghostscript optionally requires gtk2: needed for gsx
    :: gvfs optionally requires gtk3: Recent files support
    :: harfbuzz optionally requires cairo: hb-view program
    :: imagemagick optionally requires librsvg: for SVG support
    :: jasper optionally requires freeglut: for jiv support
    :: jasper optionally requires glu: for jiv support
    :: jre7-openjdk optionally requires gtk2: for the Gtk+ look and feel - desktop usage
    :: libtiff optionally requires freeglut: for using tiffgt
    :: libwebp optionally requires freeglut: vwebp viewer
    :: mjpegtools optionally requires gtk2: glav GUI
    :: nvidia-utils-beta optionally requires gtk2: nvidia-settings
    :: pinentry optionally requires gtk2: for gtk2 backend
    :: pinentry optionally requires qt4: for qt4 backend
    :: smpeg optionally requires glu: to use glmovie
    :: v4l-utils optionally requires qt4
    :: wicd optionally requires wicd-gtk: needed if you want the GTK interface
    :: xdg-utils optionally requires exo: for Xfce support in xdg-open
    Packages (102): anycoloryoulike-icon-theme-0.9.4-2 arpack-3.1.2-2 bleachbit-1.0-1 cairo-1.12.16-1 chromium-31.0.1650.63-1 chromium-pepper-flash-stable-2:11.9.900.170-1
    cups-1.7.0-2 cups-filters-1.0.43-1 cups-pdf-2.6.1-2 darktable-1.4-2 dia-0.97.2-5 dropbox-2.6.2-1 emacs-24.3-4 enblend-enfuse-4.1.1-5 evince-gtk-3.10.3-1
    exo-0.10.2-2 farstream-0.1-0.1.2-3 ffmpeg-1:2.1.1-3 finch-2.10.7-4 firefox-26.0-2 flashplugin-11.2.202.332-1 foomatic-db-engine-2:4.0.9_20131201-1
    freeglut-2.8.1-1 geeqie-1.1-2 gegl-0.2.0-10 gimp-2.8.10-1 girara-gtk3-0.1.9-1 glew-1.10.0-2 glu-9.0.0-2 gmtp-1.3.4-1 gnome-icon-theme-3.10.0-1
    gnome-icon-theme-symbolic-3.10.1-1 gnome-themes-standard-3.10.0-1 gstreamer0.10-bad-plugins-0.10.23-7 gtk-engine-murrine-0.98.2-1 gtk-engines-2.21.0-1
    gtk2-2.24.22-1 gtk3-3.10.6-1 gtkspell-2.0.16-3 guvcview-1.7.2-1 hplip-3.13.11-2 hugin-2013.0.0-5 hwloc-1.8-1 impressive-0.10.3-8 jumanji-20110811-1
    libglade-2.6.4-5 libgxps-0.2.2-3 libpurple-2.10.7-4 libreoffice-base-4.1.4-1 libreoffice-calc-4.1.4-1 libreoffice-common-4.1.4-1 libreoffice-draw-4.1.4-1
    libreoffice-gnome-4.1.4-1 libreoffice-impress-4.1.4-1 libreoffice-writer-4.1.4-1 librsvg-1:2.40.1-3 libtiger-0.3.4-3 libunique-1.1.6-5 libva-1.2.1-1
    libva-vdpau-driver-0.7.4-1 libxfce4ui-4.10.0-1 libxfcegui4-4.10.0-1 lxappearance-0.5.5-1 meshlab-1.3.2-4 mpd-0.18.6-1 obconf-2.0.4-1 octave-3.6.4-6
    openbox-3.5.2-6 openmpi-1.6.5-1 pango-1.36.1-1 pangox-compat-0.0.2-1 pdf2svg-0.2.1-7 pidgin-2.10.7-4 poppler-0.24.5-1 poppler-glib-0.24.5-1
    pygtk-2.24.0-3 python2-cairo-1.10.0-1 python2-gconf-2.28.1-8 python2-opengl-3.0.2-5 qt4-4.8.5-7 qtwebkit-2.3.3-1 r-3.0.2-1 rstudio-desktop-bin-0.98.490-1
    screenkey-0.2-5 scribus-1.4.3-2 thunar-1.6.3-1 tint2-svn-652-3 truecrypt-1:7.1a-2 vlc-2.1.2-1 webkitgtk2-1.10.2-8 wicd-gtk-1.7.2.4-9 wxgtk-3.0.0-2
    wxgtk2.8-2.8.12.1-1 xfburn-0.4.3-6 xorg-utils-7.6-8 xorg-xdriinfo-1.0.4-3 xscreensaver-arch-logo-5.26-3 zathura-0.2.6-1 zathura-pdf-mupdf-0.2.5-3
    zukitwo-theme-openbox-20111021-3 zukitwo-themes-20131210-1 nvidia-libgl-beta-331.38-1
    Total Removed Size: 1756.12 MiB
    :: Do you want to remove these packages? [Y/n]
    As you might imagine, I'd prefer not to remove all of those packages just to switch my libgl providing package and then re-install.
    In digging around, I found this entry on downgrading packages without respecting dependencies.
    Is that the best method for doing what I describe above as well? Would I do something like `pacman -Rd nvidia-utils-beta` (without X running) and then install the packages from extra?

    It should be similar to switching to nouveau driver https://wiki.archlinux.org/index.php/Nouveau
    Just:
    # pacman -Rdds nvidia-beta nvidia-utils-beta
    # pacman -S nvidia nvidia-utils

  • Exit for replacing Calender month  with Calday

    Hi gurus,
    In my query  I have 2 key figures, key figure1 will work on Calday value entered by User . Key figure 2 is working on Calmonth value entered by User .Although the calmonth the user will have to enter will be the same one to which the calday would belong .
    To avoid the dupilcation and the chances of user entering mismatch day and month in the selection  I need to write an exit.Any help will be appreciated

    refer this doc:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25d98cf6-0d01-0010-0e9b-edcd4597335a

  • Help with selecting complete words in text field. Add Icons to Text Field

    Hi,
         I am creating GUI for a Email program. The user can send emails, send files as attachment.
         When the user selects his files to attach I am displaying them as a string in a TextField along with there size
         The user can attach files with the help of FileChooser dialog invoked on click of a JButton
         e.g. file1.txt(5K), file2.txt(10K)
         Now whenever user wants to delete one of the files I want him to delete the entire file name with its size.
         So that I get the correct string of file names to send to the smtp server.
         Any one got clues how I can restrict the user to delete the complete name of the file.
         I think if I could make the user to select entire names, and restrict him from moving in the textfield character by character it would be possible. But not sure how to exactly achieve that
         Also I would like to display the Icon along with the file names in the TextField any ideas how it can be done.
         I get the Icon from the File dialog but don't know how to show it up in the TextField

    The safest way to handle this is using a JList. But it is possible to do this with the JTextArea. For selecting the entire file, put an action listener on the JTextArea. If someone clicks ona word, it will highlight, by using setSelectionStart(int) and setSelectionEnd(int) found in JTextComponent. Use 0, the length, and the index of the commas for the points to start and end selection. As far as the images, I know it can be done (smileys in chat messages for example) but I've never seen the code to do it. It may just override the paint method and paint in an ImageIcon at the specified location.

  • Problem with acrobat 9 when validating text fields

    Hello
    I've been using a script to provide feedback for my English Students. The correct input turns the backgroundcolor to green, an incorrect one turns it to red. This script has been working fine for many years including Acrobat Reader 8, but version 9 gives me a problem. When filling in the field and pressing enter, nothing happens, only when you give focus to the filled in field again does the color change. Leaving the field turns the color again to its original. Here is a link to an example:
    http://schulen.eduhi.at/herderschule/pdf/E3/e3u1sentences.pdf
    Try it with reader 9 and a previous version and you'll see what I mean.
    Can somebody help me fix this problem?
    Here is the code that I'm using to validate the textfields:
    //TestLetter
    /*********** belongs to: Document-Level:TestLetter ***********/
         var f = this.getField("1")
              f.value = "";
         var f = this.getField("2")
              f.value = "";       
    function TestLetter(FieldName,FieldValue)
      var RetValue;
       RetValue = false;
      switch (FieldName)
        case "1":
          if (FieldValue == "in the Australian bush.")
               RetValue = true;
             break;
        case "2":
          if (FieldValue == "for a pack of dingoes.")
               RetValue = true;
                 break;
         default:
         RetValue = false;
         break;
      return  RetValue;
    //trim
    /*********** belongs to: Document-Level:trim ***********/
    function trim(inputString) {
       if (typeof inputString != "string") { return inputString; }
       var retValue = inputString;
       var ch = retValue.substring(0, 1);
       while (ch == " ") {
          retValue = retValue.substring(1, retValue.length);
          ch = retValue.substring(0, 1);
       ch = retValue.substring(retValue.length-1, retValue.length);
       while (ch == " ") {
          retValue = retValue.substring(0, retValue.length-1);
          ch = retValue.substring(retValue.length-1, retValue.length);
       while (retValue.indexOf("  ") != -1) {
          retValue = retValue.substring(0, retValue.indexOf("  "))
        + retValue.substring(retValue.indexOf("  ")+1, retValue.length);
       return retValue;
    //1:Validate
    /*********** belongs to: AcroForm:1:Validate ***********/
    event.value = trim(event.value);
    var f = this.getField("1"); /* field that the event occurs at */
         f.readonly = false;
         f.fillColor = color.ltGray
    if (event.value != "")
      if (TestLetter("1",event.value)==true)
        f.fillColor = color.green;
    else
      f.fillColor = color.red;
    //2:Validate
    /*********** belongs to: AcroForm:2:Validate ***********/
    event.value = trim(event.value);
    var f = this.getField("2"); /* field that the event occurs at */
         f.readonly = false;
         f.fillColor = color.ltGray
    if (event.value != "")
      if (TestLetter("2",event.value)==true)
        f.fillColor = color.green;
    Else
    f.fillColor = color.red;

    You probably have field highlighting turned on. You can use JavaScript in the file to turn off this user preference setting.
    I'd also suggest a code change:
    event.value = trim(event.value);
    var f = event.target; /* field that the event occurs at */
    George

Maybe you are looking for

  • Error validating TP...AIP-11052: Writing following objects: Trading Partner

    Hi, I am getting following error validating trading partner. I have double checked the TP setup, everything looks fine. I had earlier successfully validated, later added a document type and trying to re-validate. AIP-11052: Writing following objects:

  • My iPod touch 4th gen isn't recognized by my computer?

    When i go to restore my iPod touch it restarts and puts on again and it goes to the connect to itunes screen and when i try to restore it it restarts with a Black apple logo and white backround. My computer won't recognize my ipod touch it has the Co

  • Why does coverflow not work with windows 7

    I installed windows 7 on my computer and now my iTunes does not show coverflow. I get a black screen that says "iTunes is unable to browse album covers on this computer." I thought a patch would be issued to resolve this, but it's been quite a while

  • How do you determine what is causing a reoccurring kernel panic?

    I need help trying to determine what is causing a reoccurring kernel panic. Mon Oct 27 14:59:57 2014 panic(cpu 0 caller 0x235410): "zalloc: \"kalloc.8192\" (209 elements) retry fail 3, kfree_nop_count: 0"@/SourceCache/xnu/xnu-1504.15.3/osfmk/kern/zal

  • Database link create but not fatch data from link database give me this err

    Sir I create database link with this command system create link but when I user query then system give me this error you see in blow SQL> create database link xyz connect to mfatest identified by mfa786 using 'aamir'; Database link created. SQL> sele