X-Position from a computed field in Datawindow

Hi all
I have a computed field in the DataWindow. This should fix CF are at the position X. The width and the height are taken out of the data in the DB and is always different.
Now is the CF are always fixed on X and the width goes to the left.
example:
x = 2600
Width = 500
The CF is then positioned so that it is not related to the width of the X position. So always dynamically to each set.
How can I use the expression for Programming.

Hi,
Is this the effect what you are looking for?
Below is the export of a datawindow. For the default x-position and width of the CF I had taken 800 for both; which might be confusing.
And the columns you can make invisible or hidden if you want to.
The expressions for the CF are.
x="800~t800 + 800 -  width " y="40" height="80~t height " width="800~t width "
The width and height in the expressions are the column names that might have been stored in the database.
It is a 12.6 export; save it into a text file.
If you are using 12.5 just change release to 12.5 on the second line and try to import the file.
For older versions next to the release line you might have to delete some properties that didn't exist yet in that version for example the gradients. Importing will give errors and the position of the
error property. It can be a bit tedious to find and delete them.
One imported then view it in run-time.
$PBExportHeader$d_pos.srd
release 12.6;
datawindow(units=0 timer_interval=0 color=1073741824 brushmode=0 transparency=0 gradient.angle=0 gradient.color=8421504 gradient.focus=0 gradient.repetition.count=0 gradient.repetition.length=100 gradient.repetition.mode=0 gradient.scale=100 gradient.spread=100 gradient.transparency=0 picture.blur=0 picture.clip.bottom=0 picture.clip.left=0 picture.clip.right=0 picture.clip.top=0 picture.mode=0 picture.scale.x=100 picture.scale.y=100 picture.transparency=0 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 110 print.margin.right = 110 print.margin.top = 96 print.margin.bottom = 96 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes print.background=no print.preview.background=no print.preview.outline=yes hidegrayline=no showbackcoloronxp=no picture.file="" )
header(height=72 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
summary(height=0 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
footer(height=0 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
detail(height=260 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
table(column=(type=long updatewhereclause=yes name=rownr dbname="rownr" )
column=(type=long updatewhereclause=yes name=width dbname="width" )
column=(type=long updatewhereclause=yes name=height dbname="height" )
data( 1, 800, 80, 2, 400, 80, 3, 400, 160, 4, 200, 160,)
text(band=header alignment="2" text="Rownr" border="0" color="33554432" x="5" y="4" height="64" width="219" html.valueishtml="0"  name=rownr_t visible="1"  font.face="Tahoma" font.height="-10" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
text(band=header alignment="2" text="Width" border="0" color="33554432" x="229" y="4" height="64" width="219" html.valueishtml="0"  name=width_t visible="1"  font.face="Tahoma" font.height="-10" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
text(band=header alignment="2" text="Height" border="0" color="33554432" x="453" y="4" height="64" width="219" html.valueishtml="0"  name=height_t visible="1"  font.face="Tahoma" font.height="-10" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
column(band=detail id=1 alignment="1" tabsequence=10 border="0" color="33554432" x="5" y="4" height="76" width="219" format="[general]" html.valueishtml="0"  name=rownr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes  font.face="Tahoma" font.height="-10" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
column(band=detail id=2 alignment="1" tabsequence=20 border="0" color="33554432" x="229" y="4" height="76" width="219" format="[general]" html.valueishtml="0"  name=width visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes  font.face="Tahoma" font.height="-10" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
column(band=detail id=3 alignment="1" tabsequence=30 border="0" color="33554432" x="453" y="4" height="76" width="219" format="[general]" html.valueishtml="0"  name=height visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes  font.face="Tahoma" font.height="-10" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
compute(band=detail alignment="1" expression="string(width) + ~" | ~" + string(height) "border="0" color="33554432" x="800~t800 + 800 -  width " y="40" height="80~t height " width="800~t width " format="[GENERAL]" html.valueishtml="0"  name=compute_1 visible="1"  font.face="Tahoma" font.height="-10" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="12639424" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" pagingmethod=0 generatedddwframes="1" )
xhtmlgen() cssgen(sessionspecific="0" )
xmlgen(inline="0" )
xsltgen()
jsgen()
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
export.xhtml()

Similar Messages

  • How do i transfer my itunes playlist from one computer to another

    how do i transfer my itunesw playlist from one computer to another

    Jolly Giant hasn't posted in around a year...
    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    Note if you have failed to move contacts and calendar items across you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • How do I remove/erase completely the store Apple ID from my computer?

    I recently bought a used MAC w/OSX Mavericks downloaded into it and I just got an update for 3 apps.  Trouble is I can't update them because the store that I bought the computer from, their Apple ID is in the Apple ID field. The computer will only let me enter in the password for them.  After I got home from buying the computer that day, I immediately changed the email address, the password and I downloaded McAfee into the system so as to protect myself from "outside use".  I can't figure out how to delete the store ID from my computer.  I want to totally erase them from my computer system. I thought I had but obviously not.   I would call the store and ask how but I haven't been too impressed with their service since and prefer not to do busines with them again.  Funny thing is, I just updated the OSX Mavericks update with my current AppleID and password, but the computer is asking for the store password for the other 3. Can someone out there in Apple world help??!!  Please!!  Thank you in advance! 

    Erasing it completely is the only way to ensure that you will not encounter the periodic requests for passwords that you do not have. It's a condition of sale Apple's OS X license requires, and the store was remiss in not doing so. It's up to you but I'd be inclined to return that Mac for a cash refund and use the proceeds to purchase one from a more competent vendor.
    The Mac's original OS can be reinstalled using OS X Recovery as explained in the above referenced Support document (step 5). If that was not Mavericks, it can subsequently be upgraded to Mavericks at no additional charge.
    Follow that document - it explains how to archive your photos, music, and other essential files before erasing the Mac, so that you can subsequently reinstall them.
    Apps obtained from the Mac App Store that are not already included in OS X cannot be transferred to an Apple ID different than the one used to purchase them. It's simply impossible.
    Why shouldn't I have McAfee on my computer???
    Because not only is it totally worthless, it is likely to cause problems.
    If I don't use that for virus protection then aren't I leaving myself vulnerable against viruses and the such?
    There are no Mac OS X viruses. As for "and the such" nothing improves upon what is already incorporated in OS X and most garbage like McAfee will only cause problems. Those that don't cause problems will accomplish nothing beneficial.
    A much better question is "how should I protect my Mac":
    Never install any product that claims to "speed up", "clean up", "optimize", or "accelerate" your Mac. Without exception, they will do the opposite.
    Never install pirated or "cracked" software, software obtained from dubious websites, or other questionable sources. Illegally obtained software is almost certain to contain malware.
    Don’t supply your password in response to a popup window requesting it, unless you know what it is and the reason your credentials are required.
    Don’t open email attachments from email addresses that you do not recognize, or click links contained in an email:
    Most of these are scams that direct you to fraudulent sites that attempt to convince you to disclose personal information.
    Such "phishing" attempts are the 21st century equivalent of a social exploit that has existed since the dawn of civilization. Don’t fall for it.
    Apple will never ask you to reveal personal information in an email. If you receive an unexpected email from Apple saying your account will be closed unless you take immediate action, just ignore it. If your iTunes or App Store account becomes disabled for valid reasons, you will know when you try to buy something or log in to this support site, and are unable to.
    Don’t install browser extensions unless you understand their purpose. Go to the Safari menu > Preferences > Extensions. If you see any extensions that you do not recognize or understand, simply click the Uninstall button and they will be gone.
    Don’t install Java unless you are certain that you need it:
    Java, a non-Apple product, is a potential vector for malware. If you are required to use Java, be mindful of that possibility.
    Disable Java in Safari > Preferences > Security.
    Despite its name JavaScript is unrelated to Java. No malware can infect your Mac through JavaScript. It’s OK to leave it enabled.
    Block browser popups: Safari menu > Preferences > Security > and check "Block popup windows":
    Popup windows are useful and required for some websites, but popups have devolved to become a common means to deliver targeted advertising that you probably do not want.
    Popups themselves cannot infect your Mac, but many contain resource-hungry code that will slow down Internet browsing.
    If you ever see a popup indicating it detected registry errors, that your Mac is infected with some ick, or that you won some prize, it is 100% fraudulent. Ignore it.
    Ignore hyperventilating popular media outlets that thrive by promoting fear and discord with entertainment products arrogantly presented as "news". Learn what real threats actually exist and how to arm yourself against them:
    The most serious threat to your data security is phishing. To date, most of these attempts have been pathetic and are easily recognized, but that is likely to change in the future as criminals become more clever.
    OS X viruses do not exist, but intentionally malicious or poorly written code, created by either nefarious or inept individuals, is nothing new.
    Never install something without first knowing what it is, what it does, how it works, and how to get rid of it when you don’t want it any more.
    If you elect to use "anti-virus" software, familiarize yourself with its limitations and potential to cause adverse effects, and apply the principle immediately preceding this one.
    Most such utilities will only slow down and destabilize your Mac while they look for viruses that do not exist, conveying no benefit whatsoever - other than to make you "feel good" about security, when you should actually be exercising sound judgment, derived from accurate knowledge, based on verifiable facts.
    Do install updates from Apple as they become available. No one knows more about Macs and how to protect them than the company that builds them.
    Summary: Use common sense and caution when you use your Mac, just like you would in any social context. There is no product, utility, or magic talisman that can protect you from all the evils of mankind.

  • How to add a computed field to a reports

    I have a report where I would like to add a column that is the sequence of the row. It is not the rownum in the db, but I want it to be a row number for what is returned.
    So, if I return 10 records, I would like a column to contain 1 through 10 to depict the row number.
    I do not want to have this number in the table or view.
    Is it possible to add a computed field to a report like this?
    If so, how?
    Thanks - Jim

    The SQL function rownum should suffice if the report is not too complicated, as this returns the number of the row rather than the database row ie.
    select empno,ename,rownum
    from emp
    add some clauses each time and you should see that each row is always numbered 1 to n.
    However, if you introduce the HTMLDB column sort functionality into the report then it would appear that it is the result set that is sorted rather than a new query being issued.
    Hope this is of help.

  • All sorts of problems transferring from one computer to another

    This looked so easy on the Apple Website. I followed the instructions to the letter I am sure.
    Just bought a new computer using Vista. Wanted to transfer a 16gb library from the old computer to another. Used the iPod as the hard drive to do so. Managed to get the files onto the new computer and opening the iTunes music folder from My Computer shows all the tracks are in there.
    However, opening up the library using iTunes itself - nothing. Nothing at all listed.
    I have checked the "Copy to library" thing in the settings - still nothing. Its like they are all in the right place (the folder identity is exactly the same as the one showing on settings i.e. iTunes Music). Nothing.
    I even copied them into another folder and called it iTunes Music 2 and told iTunes to look there - nothing.
    They are definitely in the new computer - if I click on a track from within the folder itself it will play - using iTunes - and then it appears in the library but the thought of doing this for 16gigs of music is not good. Why can't iTunes see them. I daren't plug my ipod into it now (I have changed it to manual by the way.)
    To make things worse - I think I have lost half of my purchased tracks in the process. They are still there but I bought them under an AOL name and when I created a new Apple ID later...... it now wants to know all the details of the AOL account to authorise them. The AOL account doesn't exist anymore.
    Help. Please.

    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    Note if you have iOS devices and haven't moved your contacts and calendar items across then you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • How to get Position from EmployeeInfo in DIAPI

    I am using DIAPI(JCO) for SAP B1. According to one or my reuirement i am in need of Position from the EmployeesInfo. But there  seems no option or method for getting position from that. Can anyone guide me how to get that from EmployeesInfo ? Any help is appreciated..

    Looking at the DI API properties vs. DB fields mapping documentation in the SAP Business One developer area (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c5f5dbcc-0a01-0010-5d82-f25f2bee715e)
    it seems that this field is not exposed (yet).
    I.e. you could only run a SQL statement to get this information.
    Sorry,
    Frank

  • ADD ITEMS TO DROPDOWN BOX FROM A TEXT FIELD(USER ENTERS THE ITEM) AND BOUND VALUE ALSO

    I WANT TO ADD ITEMS  THE DROPDOWN BOX FROM THE TEXT FIELD(ITEM NAME) WHERE USER ENTER'S THE ITEM DESCRIPTION
    AND BOUND VALUE ALSO SHOULD BE ADDED TO THE SAME ITEM.
    SAME WAY REMOVE ITEMS FROM DROPDOWN BOX
    PLEASE GIVE SAMPLE FORM OR JAVASCRIPT FOR THE ABOVE SCENARIO.....
    INDEED HELPFUL FOR MY PROJECT PLEASE SEND ATTACHED PDF FORM

    Hi Praveen,
    Your form is not shared so I have not been able to access it.  But I have updated mine.  There are now two approaches, one that follows on from the above method and updates each drop down list in each row.  The second updates a separate dataset that the drop down list is bound to.  This second approach requires the remerge() method which can cause problems if your code has updates some form properties like a borders color as these will be reset, but the code is simplier and you will only have one list to maintain.  The add button click code is;
    var particulars = xfa.datasets.resolveNode("particulars");
    if (particulars === null)
        particulars = xfa.datasets.createNode("dataGroup","particulars");
        xfa.datasets.nodes.append(particulars);    
    var particular = xfa.datasets.createNode("dataValue","particular");
    particular.value = ItemName.rawValue;
    var boundValue = xfa.datasets.createNode("dataValue","id");
    boundValue.value = BoundValue.rawValue;
    particular.nodes.append(boundValue);
    boundValue.contains = "metaData";
    // find sorted position to insert
    for (var i = 0; i < particulars.nodes.length; i++)
        p = particulars.nodes.item(i);
        if (p.value > particular.value)
          particulars.nodes.insert(particular, p);       
                 break;
    // add to end if greater than all existing items
    if (particular.parent === null)
        particulars.nodes.append(particular);
    // clear source fields
    ItemName.rawValue = null;
    BoundValue.rawValue = null;
    // remerge form data to pick up new item
    xfa.form.remerge();
    And the binding looks like;
    I have updated my sample to include both methods, https://workspaces.acrobat.com/?d=OwysfJa-Q3HhPtFlgRb62g
    Regards
    Bruce

  • Hi everyone when i am putting music from my computer to my phone every song saves under a seperate album on my phone.. how can i fix this?

    hi everyone when i am putting music from my computer to my phone every song saves under a seperate album on my phone.. how can i fix this?

    - go on iTunes
    - click album view on music
    Are there more than one albums there?
    - ctrl+click each individual album that has been separated
    - right click the album in question with them selected
    - album info
    - update every field to reflect the same except the song title
    --genre and album should reflect the same. Sometimes they separate too
    - hit ok
    If the same on iTunes but not the iPhone
    - remove all songs and videos
    - add them again to replace the defected albums

  • How to create compute field

    Hi,
    Does anybody know how to create a compute field based on other input fields and data retrieved from the database in the same page ?
    I use an interactive form and report which has 2 input fields, 1 drop-down list containing identifiants and a kind of total field which has to be calculated from the 2 first input fields, 1 value retrieved from the database by the identifiant seleted that i may put in a hidden field. On form submit (click on the create button), the value calculated in this compute field has to be inserted into database as any other input field.
    I've tried many things : button , process, computations after regions and so on but nothing works. I wonder if i can put some pl/sql or expression in the default value of the compute field ?
    As i'm new in apex, can somebody tell me how do these objects work together ? how to refer to a field in the form with an 'apex expression' ?
    Thks a lot

    Hi,
    I've tried 2 solutions. The first one, with calculations performed by trigger, works well but i can't see the total before inserting into DB.
    The second is what i prefer but impossible to get it work.
    So if someone has an idea, please help
    in my pdetail_modele page_
    I have
    - 2 input fields P28_X and P28_Y
    - 1 compute field P28_CTP
    - a button "compute CTP" which has to display, for example, the sum of P28_X and P28_Y in the P28_CTP field.
    Here is what i did
    - process (before regions) create_mod_collection:
    begin
    if apex_collection.collection_exists(p_collection_name=>'MODELE') = false then
    apex_collection.create_collection(p_collection_name=>'MODELE');
    else
    for x in (select n001, n002 from apex_collections where collection_name='MODELE')
    loop
    :P28_X := x.n001;
    :P28_Y := x.n002;
    end loop;
    end if;
    end;
    - P28_X and P28_Y : nothing in source field
    - P28_CTP source value or expression : select nvl(:P28_X,0) + nvl(:P28_Y,0) from dual;
    - Button Compute_CTP action : redirect to page in this application with p_detail_modele in page field.
    - process (after regions) add_modele_collection :
    apex_collection.add_member(p_collection_name=> 'MODELE', p_n001=>:P28_X, p_n002=>:P28_Y);
    Thks
    Edited by: user469717 on Apr 23, 2013 11:33 AM

  • In contacts that i have sync from my computer, i want to dial a number which is in notes

    in contacts that i have sync from my computer, i want to dial a number from  notes

    Tap on the number in the notes section and a menu should pop up that include Copy. Tap Copy, then either paste into one of the phone numbers in the contact, or paste into the dialpad (to paste tap once in the field and a menu will appear).

  • HT4972 How can i download a folder of photos from my computer and have them appear on my ipad in the same order as they were in on my computer

    How can I download a photo folder from my computer and have them appear on my ipad in the same order as they were on my computer

    The sort order on iOS 5+ is by the photos 'date modified' field, on iOS 4 it's the 'date taken' - so you will need to modify that field on your photos.
    Or you could consider using a third-party photo management app such as Photo Manager Pro which allows you to change the sort order within the app e.g. by date, size, type or you can drag them into your own sort order.

  • Create computed field in cube query

    I have a cube query in Hyperion 9.3.1 from an Essbase database and I want to add a computed field, but the option does not appear to be available. Can I add a computed field to this type of query?

    first download it to result and then you can do whatever you want. To have the look and feel of query, you can again form a pivot out of that.
    You can also add that computed item to essbase and then fetch it via the query.
    Regards,
    rahul

  • Why are the songs downloaded from my computer grayed out and won't play?

    Why are the songs that I downloaded from my pc not playing on my iphone and grayed out?

    Hi sweatt,
    Welcome to Apple Support Communities.
    You may find these steps helpful for resolving the issue you're encountering:
    iTunes Store: Troubleshooting iTunes Match
    http://support.apple.com/kb/ts4054
    Songs containing DRM (Digital Rights Management) may not appear, or may appear grayed out in iCloud. This can occur if your computer is not authorized for playback of that content. Try authorizing your computer, then manually update iTunes Match.
    To determine what Apple ID your computer needs to be authorized for, locate and select the song in your iTunes library.
    Choose File > Get Info.
    In the Summary tab, locate the Account Name field in the right column and write it down.
    Click OK.
    Choose Store > Authorize this Computer.
    Type in the account name from the Summary field and its password. Click Authorize.
    Choose Store > Update iTunes Match.
    Best,
    Jeremy

  • Decode formula for Interactive Compute field

    Hi,
    Need help for decode formula for Interactive Compute field.
    What is wrong with the formula below?
    What I want is...
    If BH field value is 'Y' then get T field value else 'OK'
    If T field value does not begin with 'FY11 OU%' then get AL field value else 'OK'
    If AL field value ends with 'REC' then 'CHECK' else 'OK'
    DECODE(SUBSTR(decode(SUBSTR(decode(BH,'Y',T,'OK'),1,7),not like 'FY11 OU%',AL,'OK'),-3),'REC','CHECK','OK')
    I get error message: Invalid computation expression. not
    Would you please suggest me a correct formula?
    FYI, I'm using Apex 3.0 which does not support CASE WHEN THEN END.
    Thanks,
    Guy

    DECODE(BH || SUBSTR(T,1,7) || SUBSTR(AL,-3),'YFY11 OUREC','OK','CHECK')
    I guess the above code will mark 'YFY11 PRREC' as 'CHECK' because it is different from 'YFY11 OUREC'.
    But according to my second case criteria, it should be marked as 'OK' because...
    BH = 'Y'
    T does not begin with 'FY11 OU'
    AL ends with 'REC'.
    Currently I'm running filtering with your formula. But it is taking too long time. I guess there are too many lines matching with this criteria.
    Thanks,
    Guy

  • No matter what I do I cant delete itunes from my computer so I can install newest software.

    no matter what I do I cant delete itunes from my computer so I can install the newest software?

    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    Note if you have iOS devices and haven't moved your contacts and calendar items across then you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then seeRecover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

Maybe you are looking for