I can't extracts the records in list (grid)

DECLARE
CURSOR CUR_FET IS SELECT * FROM item_reservation_temp;
t_var item_reservation_temp.t%type;
BEGIN
     GO_BLOCK('item_reservation');
FIRST_RECORD;
     OPEN CUR_FET;
LOOP
          FETCH CUR_FET INTO T_VAR;          
          EXIT WHEN CUR_FET%NOTFOUND;
               :item_reservation.ITEM_CODE:=SUBSTR(T_VAR,1,10);
               :item_reservation.CCN:=SUBSTR(T_VAR,12,3);
          :item_reservation.RESERV_QUANTITY:=SUBSTR(T_VAR,16);     
NEXT_RECORD;
     END LOOP;     
     EXCEPTION
          WHEN no_data_found THEN
          RAISE FORM_TRIGGER_FAILURE;
     close cur_fet;
END;

Declare
   Cursor cur_fet
   Is
      Select Substr (T, 1, 10) col1, Substr (T, 12, 3) col2,
             Substr (T, 16) col3
        From item_reservation_temp;
   cur_data   cur_fet%Rowtype;
Begin
   GO_BLOCK ('item_reservation');
   FIRST_RECORD;
   Open cur_fet;
   Loop
      Fetch cur_fet
       Into cur_data;
      Exit When cur_fet%Notfound;
      :item_reservation.item_code := cur_data.col1;
      :item_reservation.ccn := cur_data.col2;
      :item_reservation.reserv_quantity := cur_data.col3;
      NEXT_RECORD;
   End Loop;
   Close cur_fet;
Exception
   When Others
   Then
      Raise form_trigger_failure;
End;Edited by: user291283 on Aug 31, 2009 9:54 PM

Similar Messages

  • As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 also how we can insert,update,delete records in list using ECMA script.

    As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 step by step also how we can insert,update,delete records in list using ECMA script.
    Thanks and Regards, Rangnath Mali

    Hi,
    According to your post, my understanding is that you want to use JavaScript to work with SharePoint list.
    To create list items, we can create a ListItemCreationInformation object, set its properties, and pass it as parameter to the addItem(parameters) function
    of the List object.
    To set list item properties, we can use a column indexer to make an assignment, and call the update() function so that changes will take effect when you callexecuteQueryAsync(succeededCallback,
    failedCallback). 
    And to delete a list item, call the deleteObject() function on the object. 
    There is an MSDN article about the details steps of this topic, you can have a look at it.
    How to: Create, Update, and Delete List Items Using JavaScript
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How can I extract the two channels from a stereo track?

    Hi,
    I am writing a class that is able to draw an audio signal. It seems to be working well but I have a question. If I load a mono audio file I am able to draw it on a graph by using the byte[] array and everything is ok until now. That's the code:
    void Draw(byte[] x)
                Graphics g=getGraphics();
                Graphics2D g2=(Graphics2D)g;
                g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,                     RenderingHints.VALUE_ANTIALIAS_ON);
                for(int i=0; i<x.length-6; i++)
                    g2.draw(new Line2D.Float(((i*(getWidth()-6))/x.length)+5, (getHeight()/2)-          ((x*(getWidth()-6))/x.length), (((i+1)*(getWidth()-6))/x.length)+5, (getHeight()/2)-     ((x[i+1]*(getWidth()-6))/x.length)));
    The results is correct only if I have a mono track. Obviously when I get a stereo track the array becomes very large so here the question. How can I extract the two audio channels from a stereo track?
    Thanks in advance.
    Maurizio Di Vitto                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    A mono audio stream is stored [sample, sample, sample, sample], so just a list of samples in an array.
    A stereo sample is interleaved in the same manner, so you get [left-sample, right-sample, left-sample, right-sample]
    So every nth sample is the 1st channel, every nth+1 is the 2nd channel...

  • Can we export the records which are failed on an validation

    Hi
    My Question is after a validation is run on an record in the data manager,I like to extract the records from Data Manager,with the validation success(Tick) and failed(X) column which is generated by the system for each validation.
    As the validation fields in the Data manager are system fields , is it possible to extract ?, is there any other workaround for this.
    As in my system there are 10 validations which are grouped in to a validation group.when i run the validation group, i want to take a report kind of recordswith the validation Name Fields (tick) and (x) in to an excel or any format.
    Regards
    Sowseel.

    Hello Sowseel.
    In DM FreeFormSearch you have expression field - you can use it for create filter. and than export all selected records.
    You can create special field and use assignment with similar as you validation rule
    Assignment wil put expression result to that field (in fact - validation result)
    Then you can extract records with validation result.
    Regards
    Kanstantsin Chernichenka

  • Why I can not unlock the record when close a page?

    I develop a jsp page as client,the jsp application use a business componment with statefull application module.i call a database rowset's lock function in jsp page to lock a record,now,after i close the jsp page without commit and rollback,the record is not unlocked,until i restart the oc4j application server.how can i unlock the record when close the page without commit and rollback?????

    Li Ping:
    If you lock a row in the course of a transaction, you cannot unlock the row until the end of transaction (either rollback or commit). DBMS doesn't allow this.
    Alternatively, you can try to delay locking of the row. E.g., you can try using optimistic locking. Please see the Java Doc for oracle.jbo.Transaction if you're interested in optimistic locking.
    Thanks.
    Sung

  • Where can I find the no-no list?

    As I am learning more and more about app development, it seems a lot of time can be wasted if you don't follow the rules Apple has set forth. I find post here and there about what not to do, such as using private API's, and tried searching in the Dev Center for something. As I learn I want to learn the, your app has more chance of not being rejected way, where can I find the "no-no" list Apple has?

    The obvious document would be the App Store Review Guidelines for iOS and OSX.
    iOS: https://developer.apple.com/app-store/review/guidelines/
    Mac (OSX): https://developer.apple.com/app-store/review/guidelines/mac/
    Note that iOS apps can only be distributed via the App Store while OSX apps can be distributed directly by the developer.
    Creating a non-App Store app in OSX has several advantages and disadvantages:
    The App Store handles a number of practical issues for you: like setting up a download page and processing payments. It also (supposedly) gives you access to a larger customer base and is the "default" location for getting apps that Apple pushes new users to. The App Store is also more convenient when re-downloading apps, safer and more convenient as users don't have to keep track of activation codes for purchased apps. 
    You don't need to sandbox your app, this is helpful for certain apps that need to access data from other apps or needed to call other apps e.g. via AppleScript.
    You can use private APIs, although this is generally not recommended as these classes are not documented and may change/disappear between OS releases. But poking around in private APIs and other internals may sometimes be the only way to access certain information or to get certain features.
    Not being a App Store app will also mean that you can't use certain APIs - I think that iCloud is one of these.

  • How can I delete the purchased books list in iBook?

    How can I delete the purchased books list in iBook?

    Hi,
    Yes you are miss understanding the problem.  To clarify. The problem is not how to delete the book from a device, it is how to delete the puchase (i.e. the history).  You can hide it in your account settings, but you cannot delete it. So if you buy something on a shared account (i.e. a family account like mine), your children can see and download any of your puchases - forever.
    Some will say it's for your protection.  A bit like the shop looking after your receipt, so that you cannot lose it.
    However, I thought that as part of the data protection act, you could ask for this information kept about you to be deleted, but this doesn't apply to Apple purchases.  Believe me I've tried.

  • How can I delete the recent calls list in FaceTime?

    How can I delete the recent calls list in FaceTime of my Mac?

    Hello muchaim,
    After reviewing your post, it sounds like you want to delete the recent call list. I would recommend that you read this article, it may be able to help the issue.
    FaceTime for Mac (Yosemite): Make and receive FaceTime calls
    FaceTime keeps a list of the most recent calls you made, received, or declined, with the most recent call at the top. To return a call, click the Video button  or the Audio button . To remove a call, select it and press Delete.
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • How can I extract the data from Xstring .

    Hi Gurus ,
    How can I extract the data from a XSTRING  .
    I have to get the data which is filled in the survey form the data is getting saved in form of xstring .
    Someone told me that there is a standard FM for that . but I am not able to find .
    Please reply with the FM in case some one knows about it .
    Thanks in advance .

    The following code works as of 7.0 (in any SAP system):
    FORM XSTRING_TO_STRING USING input TYPE xstring CHANGING output TYPE string.
    TYPES : BEGIN OF ty_struc,
              line TYPE c LENGTH 100,
            END OF ty_struc.
    DATA lt_char TYPE TABLE OF ty_struc.
    DATA length TYPE i.
    length = xstrlen( input ) / cl_abap_char_utilities=>charsize.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
      EXPORTING
        buffer                = input
      tables
        binary_tab            = lt_char.
    CONCATENATE LINES OF lt_char INTO output RESPECTING BLANKS.
    output = output(length).
    ENDFORM.
    Edited by: Sandra Rossi on Mar 30, 2010 12:24 AM

  • Can i use the 'Record' feature in Applescript editor to automate bulk mail

    Hi,
    Is it possible to use the 'Record' feature of the Applescript editor to create a script that will automatically copy a website address into a new email message and then send that email message to everyone in my Friends category from the Address Book.
    I want to do this because I want to alert my friends to changes on my website once a week, but I don't want to have to sit and type out the email and copy the website address and everything like that. So I was thinking I could do it with one click using Applescript.
    Is that right and how dangerous is it. Like if i somehow manage to mess up the script can I just delete it and start again without causing any damage to my Mac
    Thanks
    Jason

    JayTelford wrote:
    Hi,
    Is it possible to use the 'Record' feature of the Applescript editor to create a script that will automatically copy a website address into a new email message and then send that email message to everyone in my Friends category from the Address Book.
    I want to do this because I want to alert my friends to changes on my website once a week, but I don't want to have to sit and type out the email and copy the website address and everything like that. So I was thinking I could do it with one click using Applescript.
    Is that right and how dangerous is it. Like if i somehow manage to mess up the script can I just delete it and start again without causing any damage to my Mac
    Thanks
    Jason
    Perhaps I should make myself more clear what I want to do.
    I want to do the following.
    1: Open Mail
    2: Create a new email message
    3: Set the recipients from my contact group "Friends" so that everyone in my my 'Friends" contact group will receive the email
    4: Set the subject as: "Check out these great new updates to my site"
    4: Set the body of the mail message as follows:
    Hi There,
    Thanks to you all for subscribing to these updates. Here are this weeks updates from Jason's Online Mag. [website address]
    Regards
    Jason Telford
    http;//web.me.com/jasongtelford
    5: Send the email
    Am I correct in thinking that I will need to use Automator and schedule the automation to run a script as per a weekly iCal event.
    If this is correct, then how would I do that. Can I use the 'Record' feature of Automator and the Applescript Editor, to create the automation and the script. I am new to doing this kind of thing so I am unsure of the procedure for accomplishing the task I described above automatically.
    Also I should apologise for not making my original post clearer.
    Regards
    Jason
    Message was edited by: JayTelford> Corrected a spelling error

  • DVD: can I extract the movie files?

    DVD: can I extract the movie files?
    I created a DVD (burned on DVD media). I did not archive the project since the files are too large. Can I extract the movie files from the DVD? I want to make a edit to the DVD.
    I know if I have the movies (clips) in iMovie I can do it but how do I do it from a completed DVD that I created and dont have the assets?
    I really don't want to pay for software that I will use once. Low or No cost alternative that won't sacrifice file quality? Thanks! Steve
    Message was edited by: Steve Woron

    As far as set up goes, others on this forum feel free to add. I rarely use either of the above (although I have access to them on separate power macs).
    Reason: Apple's DVDSP works natively with Mpeg-2. I personally have no need for anything else since these features are already included in apple's pro apps.
    Q: Doesnt DVDxdv watermark the demo version?
    A: Yes. It does, until you pay for it in full.
    ========================================
    Q:what is QT playback component??
    A:The QuickTime MPEG-2 Playback Component provides QuickTime users with the ability to import and play back MPEG-2 content, including both multiplexed (a.k.a. muxed, where the audio and video tracks are interleaved into one track) and nonmultiplexed (a.k.a. elementary) streams.
    You can read the description here:
    http://www.apple.com/quicktime/extending/components.html
    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software / products that may be mentioned in this topic. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information above at your own discretion.
    Message was edited by: SDMacuser

  • How can I reduce the recording time of the webcam?

    How can I reduce the recording time of the webcam?
    thanks
    Alex

    Keep in mind that Logic also has a limit of 8550 quarter notes. So changing the time signature to 4/8 can get longer recording times. So make sure you change this setting along with the song end. See page 93 in the reference manual.
    MBP 1.83 & MDD 1G DP   Mac OS X (10.4.7)   Logic Pro 7.2.2, Motu 828MkII+828, Firebox LC&XT, Tranzport, Unitor8+(3x)AMT-8's

  • Can't extract the Photoshop CS4 trial version archive

    Hello,
    i downloaded the Photoshop CS4 trial version with the help of the Akamai download manager and now i have some trouble to extract the archive. I tried it with the Adobe extractor, with 7-Zip and Win-Rar, but i always get the message that some files (about ~500 files) are corrupted.
    I downloaded the trial version (archive size 857MB) about 4 or 5 times from the Adobe website, but i always have the same problem. I can't extract the archive properly. Does somebody have a solution for my problem? Thanks in advance!

    The size I'm seeing for the English/Windows version of the PS CS4 Ext Tryout .7z is:  853,860,607 / 814.3MB which took 20-25 min to download on a 500-1000KB/sec connection at work.
    Using Test in WinRAR 3.80 trial says everything is ok.
    Some questions that suggest things to try:
    Are you on a wired internet connection all the way to your computer?
    Are you extracting from your local C: drive?
    Are you deleting what is downloaded each time before retrying?
    Have you turned off your virus scanner before downloading and/or when trying to extract the files?

  • How can i get the "Do recursive listing.vi" with teh sub-vi, because my is lost???

    How can i get the "Do recursive listing.vi" with the sub-vi, because my is lost???
    THX

    I think you must be using LV 8.x...
    Do a LabVIEW repair to get it back or else, use the attached one.
    - Partha
    LabVIEW - Wires that catch bugs!
    Attachments:
    Recursive File List.vi ‏33 KB

  • DVD: can I extract the movie files? Then convert for iPod Video?

    I created a DVD (burned on DVD media). I did not archive the project. Can I extract the movie files? Or how do I convert them to m4v for an iPod Video?
    I know if I have the movies (clips) in iMovie I can do it but how do I do it from a completed DVD that I created and dont have the assets? help++++++++++

    Steve,
    "Roxio Crunch Apple Ipod Video Converter"
    By sdmacuser at 2007-09-14
    Message was edited by: Host

Maybe you are looking for