Can I use a cursor to display multipla records (just as an EXECUTE_QUERY)?

is it possible?
so I can display about 10 records at the same time in a block (in forms)
just like a tabular form?
using a cursor, fetch, etc.

what I want is this...
do you see when in a tabular forms (multiple records, i.e 5 records at the same time).
if you press F8 (execute query), it will fetch all records.
ok, now instead of using the execute_query key, how can I get the same thing by using cursors?

Similar Messages

  • How to Display multiple records in Table in VC without using BAPI.

    Hi All,
    I am working on Visual composer (NW2004s SP10). I am trying to display Poitems from BAPI_PO_GETDETAIL. I am creating my front end using VC. I have created one form and one Table where I want to display POItems. I am writing my logic of retrieving data from BAPI in CAF.I am connecting them in Guided procedures.When I run my process in Guided Procedures I am getting single row displayed in table. Can Anyone help me how to display multiple rows in table.
    Regards,
    Sheetal

    Hi Sheetal,
    if the BAPI returns a table, then you get multiple rows. From which system is the BAPI, so that I can check the BAPI to give you further information.
    Best Regards,
    marcel

  • New to Apple products (finally) - can I use my Itunes account with multiple products e.g. Iphone and Ipad?

    New to Apple products (finally) - can I use my Itunes account with multiple products e.g. Iphone and Ipad?

    Oh yes! Apple will be happy for you to buy as many Apple products as you can afford.
    As and when needed, each can be given its own selections of content to sync with.
    tt2

  • Can I use one itunes account for multiple users and multiple devices

    Can I use one itunes account for multiple users and multiple devices?

    The iTunes EULA, as I understand it (I'm not an attorney )for Apps is basically that one person can use an App multiple devices, or multiple people can use an App one device..so one to many or many to one, but not many to many....

  • Can I use my Photoshop CC on multiple computers?

    Can I use my Photoshop CC on multiple computers?  How do I set it up on the second computer?  I have a desktop that I use primarily but also have a laptop that I need to use on occasion.   How do I set this up properly?
    Thanks for the help

    Just download and install it on both computers. 

  • Can i use the same advertisement to multiple collections?

    Can i use the same advertisement to multiple collections?
    Advertisment A1 currently linked to collection C1.
    Can i use the same advertisement A1 to a collection C2? Because my collection C1 is query based and the C2 would be a static one.
    If i use the same A1 advert, will it affect the earlier linked C1 collection i any ways?
    System Security analyst at CapG

    Well, in 2007 you actually kind of can. You can used linked collections to make C2 a linked sub-collection under C1 and ensure that the advert applies to sub-collections.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • I have an imac bought late 2013, can i use it as a display for the new mac pro? I also want to use windows 8 on it, would this work with parallels or bootcamp?

    I have an imac bought late 2013, can i use it as a display for the new mac pro? I also want to use windows 8 on it, would this work with parallels or bootcamp?

    Yes, it supports target display mode. Windows can be run with either Parallels or Boot Camp.

  • Can i use apple tv without having tv ? just display apple tv on my mac

    can i use apple tv without having tv ? just display apple tv on my mac

    Apple TV requires an HDTV. It is a media streamer and all content would be available on your Mac so there would be no reason to connect it anyway.

  • I have an imac bought late 2013, can i use it as a display for the new mac pro running windows 8 through bootcamp?

    I have an imac bought late 2013, can i use it as a display for the new mac pro running windows 8 through bootcamp?

    No. Target Display mode is only supported when connected to a Mac running 10.6 or later.
    It cannot be used with a PC, bootcamp, gamaing console, cable box, DVR or PowerPC Mac.
    http://support.apple.com/kb/ht3924

  • How can I use AppleScript Studio to display an image

    How can I use AppleScript Studio to display an image in a dialog?

    Add an image well to your window in Interface Builder.
    You can also add an image file to the Resources group of your Xcode project and then set the image to be displayed inside the image well directly in Interface Builder. No AppleScript code is needed if the image is contained within your app bundle and can be set ahead of time like this.
    If the image is contained in your app's bundle but you need to set or change the image at run time then you can use a line of AppleScript to load it into the image well using just it's filename:
    set image of image view "yourImageView" of window "yourWindow" to load image "YourImageFile.jpg"
    If you need to load an image from an arbitrary location outside your app's bundle then use a path to the image file...
    set image of image view "yourImageView" of window "yourWindow" to load image "/path/to/YourImageFile.jpg"
    Steve

  • How can i using MDT 2010 to deploy multiple partitions Windows 7 image?

    Hello,
    I am planning using MDT as a deploy windows 7 solutions. My Windows 7 is setup on parition 1 "C:" and users profile on parition 2 "D". I am already capture WIM for each paritions. How can i using MDT 2010 to deploy multiple partitions for Windows 7
    image? together
    Thanks

    Having the users folder on a separate partitions is a bad idea because the Windows Setup was not really designed for it, it's more of a afterfix. In addition to that the deployment solutions in general have problem dealing with multiple partions.
    Put it this way - The big warning text in the WAIK documentation about redirecting the users folder to another drive is there for a reason. It will break future offline servicing.
    It doesn't mean it can't be done, it just means it will take you three times (at least) longer to setup/troubleshoot your deployment solution, and you will be in a world of pain the next time you want to re-image the machine.
    This quote from a good friend of mine (Andreas Hammarskjold) describes it very well:
    Generally I would always recommend to only have ONE partition these days. Going down the route of making multiple partitions is like having multiple wives/girlfriends/lovers… it’s all fun and games for a while but ends with disaster 
    - Andreas H.
    / Johan
    Regards / Johan Arwidmark Twitter: @jarwidmark Blog: http://www.deploymentresearch.com FB: www.facebook.com/deploymentresearch

  • Cursor to Update Multiple Records

    Hi all
    Oracle forms V6
    I am trying to use a cursor to update multiple rows associated with the change of a single value, the tables are related but not directly through the values I am trying to change. The form is multi-tab with a block per tab. On the first tab a value entered into a specific field is subsequerntly used in another multi-record tab when the time comes to fill this in, the value is automatically inserted, and this works fine.
    If there is multiple records in the second tab then the value from the parent record will be displayed in all records in the 2nd tab because it is automatically taken from the parent record.
    I am trying to use a for-loop cursor to update more than one row when the parent value is updated, at present it only updates one row, yet a message I put in cursor shows the different values being stepped through in the cursor. I don't have much experience in this area yet but it looks like the actual form cursor needs to be moved to the next record to update that as well, as you change to this tab you can see the first record being updated but not the second.
    Cursor is in the when validate item on the first tab/block.
    DECLARE     
    v_cvs_val VARCHAR2(100) := :b1.new_value;
    CURSOR c_cvs IS
         SELECT b2.pk, b2.oldValue
         FROM T1
         WHERE T1.pk = :b2.pk;
         --result set of cursor is all records relating to current parent record
         mcec_rec c_cvs%ROWTYPE; --declares record of cursor type
    BEGIN
         IF :system.record_status = 'CHANGED' AND :b2.pk IS NOT NULL THEN
         OPEN c_cvs;
         LOOP
         FETCH c_cvs INTO mcec_rec;
         :b2.oldValue := v_cvs_val;
         EXIT WHEN c_cvs%NOTFOUND;
         END LOOP;
         CLOSE c_cvs;
         END IF;
    END;
    Any suggestions as to where i'm going wrong would be very much appreciated.
    user605593

    Do I understand correctly? It looks like you have a parent-child relationship where one of the fields on the child table has to be updated when the parent record is changed, but ONLY if the record exists in the child datablock. You don't want to update the child records which exist on the database but not in the block.
    go_block(child);
    first_record;
    loop
      :child.item := :parent.item;
      exit when :system.last_record = 'TRUE';
      next_record;
    end loop;
    go_block(parent);The code has a go_block so cannot be called from a when-validate-item trigger. You could start a timer in that trigger and run the code when the timer expires. However, the when-validate-record trigger might be better as you will not be able to navigate to the child block if there is an invalid field in the parent (eg if a not-null field is blank).

  • Display multiple records in forms 6i

    hi every body
    will anybody plz tell me how to display multiple records in tabular view of forms 6i.for example say i have a field in a block of a form.and i have to display multiple records in another block in the same form depending upon the value of the mentioned field in the above block.
    will anybody help me??

    Why are you manually populating your data block when Oracle Forms will do this for you? Oracle Forms is tightly integrated with the Oracle Database. You should just base your Forms data block on the ISSUED table. Then you can filter the records displayed by setting the WHERE Clause property to ID = :BLOCK1.ID or you can dynamically set it with code using the SET_BLOCK_PROPERTY('BLOCK_NAME',DEFAULT_WHERE,'ID = :BLOCK.ID') built-in.
    Then, the only code you would need in your Button's When-Button-Pressed trigger would be:
    BEGIN
      GO_BLOCK('BLOCK2');
      EXECUTE_QUERY;
    END;This is the point of InoL's reply. When a Form is based on a table, you can use the "Enter Query" and "Execute Query" built-in features to query and display records.
    Sounds like you might be new to Oracle Forms development. If that is the case, you might want to go through a few Forms Tutorials to learn what Forms can do for you. ;) Just search the internet for "Oracle Forms Tutorials" and you will find many!
    Craig...

  • Can I use SQL to move a device record?

    It appears all/most of the powershell scripts out there to move a device record into a collection utilize WMI.
    Is it possible to use SQL to add a device record into a collection.
    I also mean to execute this via C#.
    Any assistance with this wether direct or indirect would be very much appreciated.

    It appears all/most of the powershell scripts out there to move a device record into a collection utilize WMI.
    Is it possible to use SQL to add a device record into a collection.
    I also mean to execute this via C#.
    Any assistance with this wether direct or indirect would be very much appreciated.
    No, you can't use SQL to directly add a record to CM12. (Short of dropping to DOS and executing a batch,powershell, etc.)
    Have you look at the SDK, it should allow you to do what you want in C#.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • How can I use my 23" cinema display with a pc laptop?

    I see various questions out there about using Apple Cinema Displays and PCs, but each one has its own twist. If anybody can help with this scenario, I'd greatly appreciate it.
    I use one of the last editions of the Powerbook G4. I just bought a 23" Cinema Display and, of course, love it. It is supposed to replace an old CRT monitor in the home office, which brings me to my problem. Can I hook up a pc laptop to use with the Cinema Display (I ocassionally need the pc laptop and my wife and kid use it as well). I realize it will depend on the graphics card. Offhand I'm not sure which one it is, but the Dell is just shy of a year old and has good graphics, albeit VGA. I need a female DVI (I assume DVI-I) and a male VGA connector. Do these exist? I'm also looking for a PC Card DVI-I graphics card, but I don't know if these exist either.
    I could buy a Dell (or some other brand) monitor that has both DVI and VGA connections, but I really want to keep the Cinema Display. It's gorgeous.
    Thanks for any help.
    Regards.
    Powerbook G4 15" Mac OS X (10.4.5) 23" Cinema Display

    Phil,
    Thank you for the reply. I kind of figured this was the case. I have found two "boxes" that supposedly handle this problem. One is from Dr. Botts called Vgator and the other is from Gefen (www.gefen.com), but these solutions are very expensive -- $300 each -- and I am not certain of the quality of the picture. For that kind of money, I could buy a cheap PC monitor and just use the Cinema Display for Mac-only needs, as it was intended.
    Take care.
    Dan.

Maybe you are looking for

  • How to delete the request in se10

    Hi Experts, How to delete the request in se10 ....plz explain Regards Venkat

  • Display the reports in web browser?

    I need advise.. Here is my requirements. we are using Oracle9i database. We have data warehouse Schema. We wanted to display some of the reports in the browser. What are the possible solutions to display the reports in web browser with out using any

  • Material-level authorization in trn. MFBF

    Hi all, Is there a way to set a user is authorized to notify only a certain groups of materials in MFBF? Thanks in advance! Regards, mr.

  • Trying to connect my Sharp TV to internet through Airport

    I have tried everyhing I know to connect my new Sharp TV to my home network.  i run the connection on the TV and it always says ' Home Network: Pass Internet:     Fail Then below it says Default Gateway failed to respond. I have never had a problem c

  • AP Invoice Approval Worfklow Error

    Hi, on a small and isolated number of invoices I consistently get ORA-01861 Literal does not match format string. This is manifesting when the workflow is accessing get approver procedure. I cannot see anything obviously wrong with the invoice data,