How to populate an item first time with a computation ?

Hi
I have a form based on a table. When a new record is created, I want to populate an item with a value retrieved from a sql query. This is why I made an item (named P26_EMAIL) computation based on a nice sql query.
select email from acl_employees
where upper(userid) = upper(:APP_USER)This computation is fired only when a new record is created.
The P26_EMAIL (text field) item source type is DATABASE COLUMN and source used is "Always, replacing any existing value in session state".
Which means that my nice computation value is "erased" by the item when it is computed by APEX.
I am trying to see how to make my item computed on creation of the record, and rest of the time value derived form databse, and cannot get to this result.
Do you have an idea on how to do this ? (without using a trigger)
Thank you very much for your input.
Christian

Hi Mani,
What modules do you have?  What kinds of signals are you measuring?
Have you deployed your shared variable library on your host PC?
Regards,
Jeremy_B
Applications Engineer
National Instruments

Similar Messages

  • HT1338 how do i get onto face time with my computer, log in not working

    I am attempting to face time for the first time on my computer. I have don it plenty on my ipad and iphone. I get to the part where it tells me that I will be logged on with my email address and it displays it correctly, but then I tells me "The server Processed an error."

    HI,
    Can you confirm you are using OS X 10.7.x ( a version of Lion) ?
    In Mountain Lion (OS X 10.8.2 specifically) the FaceTime and Messages apps need to have the Mac's Serial Number present as it is used in creating an Auth Token that ends up in the KeyChain.
    The Serial Number is "Flashed" to a Storage chip on the Logic Board by UV light when the computer is in the factory.
    If the Logic board is replaced through repair or refurbishment then the number is supposed to be "Flashed" back to the new board.
    Many people are reporting that this has not been done.
    The issue only seemed to appear at OS X 10.8.2 (And Messages update to version 7.0.1)
    10:00 PM      Friday; February 1, 2013
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • HT4859 How long should it take to back up iphone for the first time with about 6 gigs?

    How long should it take to back up iphone for the first time with about 6 gigs?

    Welcome to the Apple Community.
    The first back up to iCloud may take some considerable time. Just how long isn't really possible to say without knowing how much is in your back up and your connection speed.
    What many people don't realise is that upload speeds are often significantly less than download speeds, so for example a user may have a download speed of 40 Mbps, but only 1 Mbps for uploading. As a rough guide it will take around 2 ¼ hours to upload 1 GB of data at 1 Mbps.

  • HOw do i connect my hotmail to my blackberry, I had it on before and it recently stopped. I can't remember how I did it the first time. Thank you Pamela Duca

    HOw do i connect my hotmail to my blackberry, I had it on before and it recently stopped. I can't remember how I did it the first time.
    Thank you
    Pamela Duca

    Hi!
    If it was working before and you are on the same BB, I suggest doing these steps:
    Full reboot:
    With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation.
    If that does not restore the delivery of your emails, then re-push your service books:
    http://www.blackberry.com/btsc/microsites/search.do?cmd=displayKC&docType=kc&externalId=KB02830&slic...
    Lastly, since it's HotMail, it may be that you have not done the recently required re-validation:
    http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB13137
    Hopefully one of those will work!
    Cheers!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I decided to backup for the first time with icloud yesterday, and lost all my phone contacts! I am panicking, because the backup says 0, and I checked the internet account on my pc, and it's only showing email addresses from my hotmail account. What to do

    I decided to backup for the first time with icloud yesterday, and lost all my  phone contacts! I am panicking because the backup is saying 0 and I checked the internet account on my pc,and it's only showing email addresses from my hotmail account. What to do? How to recover them!

    Have they also gone from iCloud.com when you log in from a computer.

  • I live in Italy and I am trying to buy an App, for the first time with my iphone4...in the past only downloaded free apps free apps; I have a US Visa card and it is not accepted by italian Itunes...what can I do to do my purchases?

    I live in Italy and I am trying to buy an App, for the first time with my iphone4...in the past only downloaded free apps free apps; I have a US Visa card and it is not accepted by italian Itunes...what can I do to do my purchases?

    On the apple website that is correct i beleive.... but i have an italian american express and am able to purchase stuff here in the US.
    I mean, i dont think it really matters

  • I plugged my iPhone for the first time to my computer,the iTunes screen came up and asked if I wanted to register the phone as a new phone or with the backup from my iPod. By accident, I clicked on the backup from my iPod, and I lost everything.

    Hi,
    I plugged my iPhone for the first time to my computer. The iTunes screen automatically came up and asked if I wanted to register/set-up my iPhone as new phone or using the backup from my iPod. Without knowing what was going to happen, I clicked on the backup from my iPod and then I lost everything I already had in my phone: mostly contacts and pictures. Although afraid of the answer, is there a solution to retrieving the info, especially the pictures?
    Thank you!

    by any chance did you do a back up to iCloud? if not there isn't a way to retrieve lost info with out a back up.

  • I'm trying to use my iPad mini for the first time with a previous apple ID and password but it will not connect to iTunes but I can download apps from my iPhone using the same appleID and password and it works on my iphone...PLEASE HELP NOW

    I'm trying to use my iPad mini for the first time with a previous apple ID and password but it says "iTunes is not working try again"...it allowed me to download an app on my iPhone using the same apple ID & password but all my apps are in "Waiting Status" on my iPad mini because it says "iTunes is not working"...PLEASE HELP ME NOW!!!

    Previous user installed iOS 7 beta on that iPhone.
    Take it back and get your money returned. You
    are running into a new security feature. Whoever owns
    the ID that it is asking for is the only person who can
    remove the security. That iPhone is worthless to you.

  • I plugged my iphone in for the first time to my computer. I synced it with my itunes and it deleted everything. Now I don't know what to do because I did not even have the chance to back it up! everything is gone please please help me!

    I plugged my iphone in for the first time to my computer. I synced it with my itunes and it deleted everything. Now I don't know what to do because I did not even have the chance to back it up! everything is gone please please help me!

    When you saw this dialog box, did you choose "Erase and Sync"?
    If you did, your iPhone was erased, then your iTunes Library was transferred to it. If your iTunes Library was empty, your iPhone will be also.
    Your previously purchased music, apps, books, and videos are still yours. You just have to download them again.
    Read: Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • I plugged in my iphone 4 for the first time to my computer to back everything up. but when i got to the screen to click on "new phone" or restore to the "same phone" i clicked "same phone by accident. now i have all of my old stuff from my G3s on my new

    i plugged in my iphone 4 for the first time to my computer to back everything up. but when i got to the screen to click on "new phone" or restore to the "same phone" i clicked "same phone by accident. now i have all of my old information from my G3s on my new iphone 4. how can i reverse this? please help.

    Hi, raneth's boyfriend!
    Unfortunately, iTunes was told to restore all data from an old backup onto the new phone, and that cannot be undone.
    However, prior to this, iTunes 10 would have also asked to make a backup of the phone before doing the restore.  If the user elects to say "yes" to perform the backup, then iTunes would have backed up the phone before erasing it.
    Hopefully, that backup will still be available in iTunes, and if so, it would be backed up under the new phone's name prior to it being erased and restored (if the name of the new phone is different to the name of the old phone).
    To check if iTunes has a backup of the phone prior to the restore, look in the Devices category in iTunes Preferences.  All backups made are timestamped and are identified with the iPhone's name at the time of the backup.  Look for:
    • a backup of the phone using the new phone's name prior to the erase and restore, or
    • a backup with the same date and time as that when the phone was erased and restored (not the date and time AFTER when the phone was erased and restored!).  This may be the case if the new and old phones have the same name.
    If a backup is available, you can erase and restore again using that backup. The phone will be restored with what would hopefully be the original image of the new phone.
    If no backup was made prior to erasing and restoring the phone initially, then there is no way to
    undo it, meaning your phone's original data has been lost.
    --tonza

  • Hard drive on my mac died, installed new hard drive.  When I try to sync my phone for the first time, will the computer wipe all the songs, photos, ibooks from my phone?

    hard drive on my mac died, installed new hard drive.  When I try to sync my phone for the first time, will the computer wipe all the songs, photos, ibooks from my phone?

    Yes because that information is not located on the hard-drive of your new mac! If it is purchased content from the store, than this issue isn't as bad as it looks!
    Here is a link explaining how to get your previously purchased content back:
    http://support.apple.com/kb/HT2519
    You also want to authorize your Apple ID account on the computer by following these instructions as well:
    http://support.apple.com/kb/PH1730
    Basically this link explains to go to the top left corner of your screen where you will see file, edit, view etc! Click on Store in that section and click on authorize this computer, also you want to make sure that the computer will not automatically sync by going to iTunes in the top left corner, just to the right of the apple symbol if iTunes is selected, and go to prefrences, and here you will see back up! Right under the back-ups has an option explaining to prevent devices from automatically syncing which is good cause you may be able to transfer your purchases from there which will put your content into the computer, and if that happens than we don't lose anything
    Hopefully I was of some help:)

  • HT3951 How can I share books and audio with another computer?

    How can I share books or audiobooks with another computer?

    You can't re-download audiobooks on any computer - they are currently a one-time only download. Music can be re-downloaded in some countries, they are listed on this page. But you should be able to copy your purchases from, for example, your backup and add them to the computer's iTunes via File > Add Folder To Library.

  • How can i sync my ipod touch with my computer due to it not syncing

    how can i sync my ipod touch with my computer due to it not syncing

    iTunes 11 for Mac: Set up syncing for iPod, iPhone, or iPad
    or
    iTunes 11 for Windows: Set up syncing for iPod, iPhone, or iPad

  • How do i sync my ipod touch with my computer without erasing all music already on ipod?

    how do i sync my ipod touch with my computer without erasing all of the music already on the ipod

    Sanmannyer, just what are you smoking? iTunes can sync non-iTunes purchased music to any iPod and iOS devices (iPod touch, iPhone and iPad) as long as it is not DRM protected.
    Would y plase stop posting incorrect information.
    Sanmannyer wrote:
    what the heck dude? That only works for ipod shuffles and not for ipod touch. U cant use itunes to copy non-purhased songs from ipod touch to pc. u have to use a 3rd party application like syncios to do so.

  • How can i share the pages application with another computer?

    How can U share the pages application with another computer?

    Just make sure it is for you or your family.
    If you purchased Pages through the Mac App Store, then just login on the other computer using the same Apple I.D. and you can install it at no extra charge.
    Peter

Maybe you are looking for

  • PDF attachements need to be accessed by other non-SAP applications

    I recently was approached with a potential new business requirement that requires access to the documents that have been attached to contracts in our SAP RE-FX system.  Currently the users use the GOS to attach a document of some sort (letter, lease

  • Custom Connection Manager only works in 32bit- 0xC0011008: Error loading from XML

    I have a very basic / stripped connection manager with only one property (SSIS 2012). It works fine in design time (you can open the connection manager editor and change the value), but in runtime it only works in 32bit mode. The runtime-validate-met

  • ColdFusion 11 cfcontent failing

    I have a stumper.  Installed CF11 on our test server. Did some regression testing and am running into an issue. I have a .cfm that downloads information to Excel. It renders fine in CF10 (and prior versions). In CF11, it renders fine in IE10 and in F

  • MPD16 MAC OS 10.5.6 Leopard

    HI I have a MPD16 but it isnt able to synchronize with my macbook which is running 10.5.6 Leopard Having the AKAI's mac utility software downloaded and installed, the software doesn't seem to run at all (jus the icon showing, no windows popping up) A

  • Displaying target value in certificate

    Hi Experts, Is there any way to display target values maintained in inspection plan on quality certificates. in certificate profile the text elements are available. But no text element can be used to display target value. Can we create a new text ele