How to use computation with EDIT

Dear Friends
i have used computation in form .i have take 7 check box item with value
MON =1
TUES =2
WED =3
THU =5
FRI =6
SAT =6
SUN =7
these item are not database column.
Using computation after submit i have concatinate it and insert in to OPERATING_DAYS Column into table.
example :if i check MON AND WED AND FRI THEN concatenate value insert into table 136
:P6_MON||:P6_TUS||:P6_WED||:P6_THR||:P6_FRI||:P6_SAT||:P6_SUNPloblem is when i edit record but this 136 value of operating days does not come into MON,WED and FRI.
How to extract these days value from OPERATING_DAYS Column into respective Days Item.
How can i do this.
Thanks

Create a shuttle and have a look at how it stores a delimited list of values.
SHUTTLE PAGE ITEM in Query
This should give you an idea on how to implement a solution to your problem.

Similar Messages

  • How to use computation with concatenation

    Dear All,
    i have 7 checkbox with days name and days return value are
    MON-1
    TUE-2
    WED-3
    THR-4
    FRI-5
    SAT-6
    SUN-7
    I want to insert value of these item into one column when i create new record.
    so i have use computation to do this but it take only single item return value.
    i have used
    computation type=ITEm VALE
    Computation Source
    P5_MON||P5_TUE||P5_WED||P5_THR_P5_FRI||_P5_SAT||_P5_SUN
    After submit , unconditional
    how to insert these checkbox value into one column into table using concatenation.
    How can i do this.
    Thanks

    Hi Vedant,
    Its still a little unclear to me what your trying to do and the format that you are trying to save the values in. You also haven't stated which version of APEX you are using.
    Are you trying to save into one column in a format 1234567
    If so to concatenate try using:
    :P5_MON||:P5_TUE||:P5_WED||:P5_THR||:P5_FRI||:P5_SAT||:P5_SUN
    An Alternative approach to using a computation would be to create a page process that fires after submit such as:
    begin
      insert into days_tbl(days_val)
      values(:P5_MON||:P5_TUE||:P5_WED||:P5_THR||:P5_FRI||:P5_SAT||:P5_SUN);
    end;
    This is based on a table called days_tbl and a column called days_val.  You will need to change this to your needs.
    Hope this helps.
    Paul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • I just bought a used computer with OSX 10.8 and want to reinstall OSX 10.6.3 Snow Leopard . . . How can I do this?

    I just bought a used computer with OSX 10.8 and want to reinstall OSX 10.6.3 Snow Leopard . . . How can I do this?

    Alfi94965 wrote:
    I just bought a used computer with OSX 10.8 and want to reinstall OSX 10.6.3 Snow Leopard
    First off you need to know the model identifier of the machine, not all Mac's can be reverted to Snow Leopard and not all Mac's can use the 10.6.3 Retail disk!
    To find the model identifier, boot the machine up and hold the command key and the spacebar, Spotlight appears at the top right corner and type in System Profiler and press Enter/Return.
    The model identifier should be something like "MacBook Pro 9,2" or something of that nature.
    You also can hold D while the computer is booting on/near a Internet connection for a long time and this loads Hardware Test, which one of the panes will give the required information.
    Next you download MacTracker here and look up your machine and it's original operating system.
    (Don't click the AppStore version obviously)
    http://mactracker.ca/
    You may have to right or control click on the program to bypass Apple's Gatekeeper and run the program.
    If you have the model identifier and the machine won't boot, then just ask here and we can tell you the information
    Now all Intel Mac's issued before July 2011 can install Snow Leopard, but the Mac's released after July 2011 came with OS X 10.7 Lion and the firmware won't boot off the Snow Leopard disk. (however 10.6 can be shoehorned on using Firewire Target Disk Mode and another Mac for some models after July 2011)
    Also the 10.6.3 Snow Leopard Retail Disk sold at Apple only works on Mac's that came with 10.4-10.6.2 from the factory.
    Any Mac's that originally came with 10.6.3-10.6.8 from the factory need model specific disks from Apple directly, not sold at their online store, you will have to call them with your Mac's serial number and order these disks.
    If you get the right disk and have the right machine, then you should be able to insert the disk and hold c down or the option/alt key and boot from the 10.6 disk.
    Follow these directions and make sure to erase the ENTIRE DRIVE first in Disk Utility or you will have issues later trying to fix it from the disk.
    How to erase and install Snow Leopard 10.6

  • Where are the actual Aperture files located? Only in the application? I am transitioning to Lightroom and would like to only move some of the files. Advice appreciated. Also anyone know how to transfer in with edits?

    Where are the actual Aperture files located? Only in the application? I am transitioning to Lightroom and would like to only move some of the files. Advice appreciated. Also anyone know how to transfer in with edits? Using iMac, OS X, most recent Aperture and Lightroom 5.7 with plugin for Aperture.

    Define "the Aperture files".
    Read this concise guide.
    The files you imported into an Aperture Library can be exported (at any time, and repeatedly) using the command "File ▹ Export ▹ Originals".  Your Originals are never altered.  What went in is what comes out.
    Adjustments and changes to the metadata that you made since creating an Image in Aperture by importing a file are saved to a text file.  This file is combined, on-the-fly, with the Original to create the Image that you see in Aperture.  There is no file saved to disk that is the full-size Image.  Thumbnails are saved, and Previews are saved.  These are JPG files, almost always smaller than the Original.  They are not substitutes for the Image for the use you have.
    When you need a file of an Image to use in another program, you export the Image from Aperture.  "Export" means "Make me a file of this Image according to these file specs I'm providing".  The way to get files of your adjusted Images is simple:  create them by exporting.  Specify "Original size", and use a loss-less image-file format (e.g. TIFF 16-bit) if you want to retain as much visual information as possible.
    Search the Web for information about transitioning from Aperture to Lightroom.  Note that I say "transitioning".  You cannot move a database from one format to another without significant changes, and likely some loss of information.  Adobe provides a tool and some instructions.  I strongly recommend working out the process step-by-step, and then proceeding with first a few Images, then a bushel-ful, and stopping to use the first few, the the bushel-ful, before committing your entire collection to the process.
    As always, never use any computer file without having a back-up.
    We have seen mixed reports here of the success of the LR tool that creates a LR database from your Aperture database.
    If you want to carefully define the process, and test and refine it, use the excellent process-development, analysis, and execution program inShort.
    Sadly, there is not and can never be a good, thorough re-positioning of the digital assets in your Aperture Library to become digital assets in a LR database.  Just as a metaphor for any user contemplating transitioning to another digital asset manager:  that would be like digging up a house in one country, planting it in a hole in another country, and expecting to be able to use the toilet and the sinks, turn on the lights, cook dinner, and sleep soundly.
    HTH,
    Kirby.

  • Need an example how to use SCAN_Start with a callback function

    I would appreciate if someone helps me with a working example of how to use SCAN_Start with a callback function. I need just a basic functionality: to specify a channel list (with gains probably), to start a data acquisition task and to receive data buffers utilizing a callback function. t this time whatever I was trying to do caused computer hangups, though it is supposed to be one of the most regular tasks to perform.
    Thank you in advance,
    Mike

    Hello Mike,
    Thank you for contacting National Instruments.
    Attached is an example project which uses a callback function to begin analog acquisition (AI) by calling SCAN_Start. This project acquires from the first 2 channels on your DAQ device. Make sure to modify the device number in the code to match the number of your card.
    Let me know if you have any further questions...
    Sincerely,
    Sean C.
    Applcications Engineer
    National Instruments
    Attachments:
    Acquire_multichannel_61xx.zip ‏11 KB

  • How to use labview with the handyboard

    Hi,
    how to use labview with the handyboard
    Thx...

    I'm assuming you're talking about this, since you didn't provide a link for those of us who don't know what you're talking about.
    As the other poster said, you didn't say how you want to use LabVIEW with it.  If you want to write LabVIEW programs than run on the microprocessor, then you're out of luck.  If you want LabVIEW to interact with it, then you've got a couple of options, SPI probably being the best, but it also has DI and AI that you could use to communicate with it - the DI's could be used as a parallel interface.
    Message Edited by Matthew Kelton on 12-17-2007 02:21 PM

  • How to using ical with two separate iphones

    hello
    trying to understand and learn how to use Ical with 2 different Iphones, using Icloud.

    To sync iCal across computers, the calendar needs to be published to a server. This can be a local server that you can set up, or it can be something like google or microsoft exchange or apple's mobile me. The best bet may be to wait until fall and see what iCloud offers!
    Sharing your screen can be accomplished a few different ways. You can have two iChat accounts set up, and have one logged in on each computer, and then use iChat's screen share feature. The other way is to go to System Preferences, Sharing, and then check the box next to Screen Sharing. You may have to adjust some of the settings in there, but give that a shot.

  • How to use Terminal with KeySpan USB serial adaptor cable?

    I own a KeySpan model USA-19HS to use with our MacBookPro when working on clients networking equipment that require serial communication. I have used ZTerm with excellent luck, but it costs, and is yet another application that I dont really want. I would like to know if any one out there has exacing instructions on how to use Terminal with this adaptor. If I could write a file that had, say, the couple most common settings (9600-8-n-1, 57600-8-n-1, et cetera) that I could simply click on, to open a new Terminal window with those settings, then simply close that, and open a new window (apple+n) in order to get back to a default settings terminal window. All feedback is most appreciated.
    Thanks so much, Jason Sjobeck

    Hi, Jason. Welcome to the Discussions.
    You wrote: "All feedback is most appreciated."OK.
    1. Have you considered discussing this with Keyspan Support?
    2. Have you read the section "OSX has Terminal.app - why do I need ZTerm?" on the ZTerm Home Page? That seems to explain why one needs an app like ZTerm.
    3. A quick search of Keyspan's FAQ for your product and terminal doesn't yield much more than how to find the serial ports using Terminal.
    Likewise, this Google search also yields little, and variants of that search of such weren't particularly help either.
    It appears your inquiry seems to be a somewhat esoteric topic.
    4. Apparently, ZTerm X is a bit long in the tooth and there's no Universal Binary for it. It sounds, however, like you've tried it running on your MBP under Rosetta, yes?
    5. In researching alternatives to ZTerm for you, I note the followng:• The comment from "Reverb" on this page suggests C-Kermit or Kermit as a free alternative.
    • This tip on Mac OS X Hints cites Minicom as another option.6. You may want to try your question on the Unix Discussion.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • How to use variables with

    I need to get the number of lines in internal table, which would
    be easy, using DESCRIBE TABLE itab LINES lines. But the problem
    is, that I get the name of this internal table in the field of
    another internal table, so I have to use the name of internal
    table as variable, but I don't know how to use variables with
    DESCRIBE TABLE (or if this is possible).

    Hi,
    REPORT ZPRUEBA782 .
    define two tables with diferent structures.
    data: begin of table1 occurs 0,
    registro type i,
    end of table1.
    data: begin of table2 occurs 0,
    registro type i,
    repid like sy-repid,
    end of table2.
    data: rows type i.
    start-of-selection.
    fill them with data
    do 1000 times.
    table1-registro = sy-tabix.
    append table1.
    enddo.
    do 1757 times.
    table2-registro = sy-tabix.
    table2-repid = sy-repid.
    append table2.
    enddo.
    call a form that receives as input the table and returns the number
    of rows as output.
    perform howmanyrows tables table2 changing rows.
    break-point. "evaluate the number of rows
    perform howmanyrows tables table1 changing rows.
    break-point. "evaluate the number of rows
    end-of-selection.
    form howmanyrows tables itable changing rows.
    rows = 0.
    loop at itable.
    add 1 to rows.
    endloop.
    endform.
    You can try it if you don't find a better solution.
    Cheers,
    Chaitanya.

  • How to Use Gmail With Apple's Mail?

    Answer:
    Now Itis not a Problem, Please go to this link and know how to solve this problem, Ihave configuir this in my mac pro. Have enjoy.
    http://picturemuseum.blogspot.com/2011/08/how-to-use-gmail-with-apple-mail.html
    http://mobilesuggestion.blogspot.com/2011/08/how-to-use-gmail-with-apples-mail.h tml

    I notice that it's possible to have sticky posts in these forums. See
    http://forum.java.sun.com/forum.jspa?forumID=534
    the Concurrency forum for an example. Posting a link to the FAQ in a sticky post might reduce the number of FAQs asked here by maybe 1%? Or posts like this one might do well as a sticky?

  • How to use Count with Date Parameters

    Hello,
    I am having issues using the Count() function in conjunction with date parameters.
    This is a Siebel report and in my report I have 2 date parameters(From Date, To Date). In a nutshell I am basically trying to count Opportunities that has a start date within the given date period. However I don't see a reasonable way to put my date parameters within the Count() function. The reason being is that I need to have a huge chunk of code to convert the dates into a common format that can be compared, and it won't even fit within the code block in my rtf template. I am not even sure how to put multiple conditional statements inside a Count() function since all the examples I have seen are very simple.
    Anyone have a suggestion on how to use Count() with date parameters?
    Thanks.

    Any chance you can get the date formats in the correct format from siebel?
    I don't know Siebel - so I can't help you with that. If you get the correct format it is just
    <?count(row[(FromDate>=date) and  (date<=ToDate))?>
    Otherwise the approach would probably need to use string function to get year/monthd/day from the date
    and store it into a varialbe and compare later the same way
    <?variable@incontext:from; ....?>
    <?variable@incontext:to; ...?>
    <?count(row[($from>=date) and  (date<=$to))?>
    Potentially you can use the date functions such as xdofx:to_date to do the conversion
    [http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T421739T481158.htm]
    But I am not sure if they are available in your siebel implementation.
    Hope that helps

  • How to use javap with jar files ?

    how to use javap with jar files ?
    thanks

    As long as the jar is on the class path, your gold. So,
    javap -classpath myjar.jar mypackage.MyClass
    Chuck

  • Help me!! How to use JavaScript with JSP ??

    I am using JDeveloper and I created a screen in JSP which uses a bean for database connectivity and retriving info onto the page.
    The page has a ListBox where list items are populated from the database.My requirement is
    whenever the list is changed the page shuold be refreshed with the selected item info.
    I tried to use 'JavaScript' for triggering the event with 'onChange' event of the ListBox.But the event is not getting invoked. I think JavaScript is not working with JSP.
    Please help me with how to Use javaScript with JSP or any other alternative where I can meet my requirement.
    I have one more question...I have gone through the JSP samples in OTN and I am trying do download the sample 'Travel servlet' which show list of countries...etc
    I have also gone through the 'readme' but I don't know how to extract .jar file.
    I would be great if you could help me in this.
    Thanks!!
    Geeta
    null

    We have a similar need. We have used Cold Fusion to display data from Our Oracle Database. We have a simple SElect Box in HTML populated with the oracle data. When someone selects say the State of Pennsylvania. then we have an On change event that runs a Javascript to go get all the cities in Pennsylvania.
    Proble we are having is that inorder for the Javascript to work , we currently have to send all the valid data.
    Do you know of any way to dynamically query the the Oracle database in Javascript

  • How to use log4net with C# clients

    Hi,
    Can anybody please give an example of how to use log4net with C# clients? Foe java clients you can use the
    <logging-config>
    <destination>log4j</destination>
    How do we use it with C# clients? Any example will be appreciated.
    Thanks.
    -ali

    Ali,
    The following is an example on how to define a custom logger (including log4net) in tangosol-coherence-override.xml for coherence .NET client; you need Coherence .NET client 3.7.1 patch 1.
    <coherence xmlns="http://schemas.tangosol.com/coherence">
    <logging-config>
    <destination>common-logger</destination>
    <logger-name>log4net</logger-name>
    <severity-level>9</severity-level>
    <message-format>(thread={thread}): {text}</message-format>
    <character-limit>8192</character-limit>
    </logging-config>
    </coherence>
    You also need to configure log4net in app.config. Please see the following web page for more information:
    http://netcommon.sourceforge.net/docs/2.0.0/reference/html/ch01.html
    -Luk

  • How to use assert with wireless toolkit?

    Hi,
    I am trying to find out how to use assert with wireless toolkit. I have found that I need to pass "-source 1.4" to the java compiler. But I can't find any documentation on how to do it.
    I'm using J2ME Wireless Toolkit 2.2.
    thanks
    Ludde

    Here's a quote from an article on Java World at http://www.javaworld.com/javaworld/jw-11-2001/jw-1109-assert.html
    "To support the new assertion facility in J2SE 1.4, the Java platform adds the keyword assert to the language, an AssertionError class, and a few additional methods to java.lang.ClassLoader."
    So I really think it's part of 1.4.

Maybe you are looking for