Sys_refcursor is closed when transfered to forms

Hi,
I'm using a stored procedure to populate values to sys_refcursor using a dynamic select
open res for MY_CUR_SELECT ....
when it gets to the forms calling that procedure the sys_refcursor is closed.
I know that using an explicit select (open res for select ...) works but I realy need to use a dynamic one.
Thanks a lot, Uri

Using weak ref cursors is not supported in forms. If you need to use dynamic SQL you have the option of the exec_sql package or using a record group (search the forum and/or the documentation for samples on both).
Or of course you could put your whole logic with the ref cursor in a stored procedure.
cheers

Similar Messages

  • With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?

    With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?
    I have developed a form with fields hidden by default, that become visible based on box ticked or radio button selections.
    My problem is that, when I close the form and re-open it, it comes back to it's default presentation, regardless of the information already recorded in the form (including in the now hidden fields.
    How to correct that
    Thanks in advance for any hint you can provide.

    I've had the same problem. This solved it...
    Go to the "Form properties..." in the File-menu. Select "Run-time" to the left and in the box "Scripting" Preserve scripting changes to form when saved: choose Automatically (Script-based state changes are saved locally in an insecure fashion. This option cannot be used for certified forms).
    Hope it works for you to...

  • Is there a way to turn off using ram as intermediary when transfering files between 2 internal hdds? (write cache is off on all drives)

    right forum?  first time here. none of the options seem perfect. so i guess this applies to 'setup.' i tried to describe what's happening verbosely from the start of a file transfer to completion of writing file to 2nd hard drive.
    win 7 64bit home - i2600k 3.4ghz - 8gb of ram - 2hdd 1 ssd
    I have this problem when transferring files between 2 internal hard drives. one is unhealthy (slow write speeds but not looking for advice to replace it because it serves its unimportant purpose). so, the unhealthy drive drops into PIO mode - that's acceptable.
    however, a little over 1gb of any file transfer is cached in RAM during the file transfer. after the file transfer window closes, indicating the transfer is "complete" (HA!), it still has 1gb to write from RAM which takes about 30minutes. This would
    not be a problem if it did not also earmark an additional 5gb of ram (never in use), leaving 1gb or less 'free' for programs. this needlessly causes my pc to be sluggish - moreso than a typical file transfer file between 2 healthy drives. i have windows write
    caching turned off on all drives. so this is a different setting i can't figure out nor find after 2 hours of google searches.
    info from taskmanager and resource monitor.
    idle estimates: total 8175, cached 532, available 7218, free 6771 and the graph in taskman shows about 1gb memory in use.
    at the start of a file transfer:  8175,  2661,  6070,  4511free and ~2gb of ram used in graph. No problems, yet.
    however, as the transfer goes on, the free ram value drops to less than 1gb (1gb normal +1gb temporary transfer cache +5gb of unused earmarked space = ~7gb),  cached value increases, but the amount of used ram remains relatively unchanged (2gb
    during transfer and slowly drops to idle values as remaining bits are written to the 2nd hard drive).  the free value is even slower to return to idle norms after the transfer completes writing data to 2nd hard drive from RAM. so, it's earmarking an addition
    5gb of ram that are completely unused during this process.  *****This is my problem*****
    Is there any way to turn this function off or limit its maximum size. in addition to sluggishness, it poses risk to data integrity from system errors/power loss, and it's difficult to discern the actual time of transfer completion, which makes it difficult
    to know when it's safe to shutdown my pc (any data left in ram is lost, and the file transfer is ruined - as of now i have to use resmon and look through what's writing to disk2 -> sometimes easy to forget about it when the transfer window closed 20-30minutes
    ago and the file is still in the process of writing to the 2nd disk).
    Any solution would be nice, and a little extra info like whether it can be applied to only 1 hard drive would be excellent.

    Thanks for the reply.
    (Although i have an undergrad degeee in computers, it's been 15years and my vocab is terrible. so, i will try my best. keep an open mind. it's not my occupation, so i rarely have to communicate ideas regarding PCs)
    It operates the same way regardless of the write-cache option being enabled. It's not using the 5gb for read/write buffer - it's merely bloating standby memory during the transfer process at a rate similar to the write speed of destination (for my situation).
    at this point i don't expect a solution. i've tried to look through lists of known memory leaks but i dont have the vocabulary to be 100% certain this problem is not documented. as of now it can't affect many people - NAS's with low bandwidth networks, usb
    attached storage etc. do bugs get forwarded from these forums? below i can outline the consistent and repeatable nature not only on my pc but on others' pcs as well (2012 forum post i found).
    I've been testing and paying a little more attention and i can describe it better:
    Just the Facts
    Resmon Memory Info: "In Use" stays consistent ~1gb (idle amount and roughly the same when nothing else is running during file transfer)
                                     "Modified" contains file transfer
    data (meta data?) which remains consistent at little over 1gb (minor fluctuations due to working as a buffer). After the file transfer window closes "Modified" slowly diminishes as it finishes lazy writing (i believe that's the term). I forget idle
    pc amount, but after transfer this is ony 58mb)
    "Standby" as the transfer starts it immediately rises to ~2gb. I'm sure this initial jump is normal. However, it will bloat well over 5gb over time with a large enough transfer increasing at a consistent rate during the entire transfer
    process. the crux of the matter.
    "Free" will drop as far as 35-50megabytes over time.
    as the transfer starts, the "Standby" increases by an immediate chunk then at a slow rate throughout entire transfer process(~1mb/s). once writing metadata to RAM no longer occurs, the "Modified" ram slowly (@500kb/s matching resmon disk
    activity for that file write) diminishes as it finishes lazy writing, After file is 100% written to destination drive, "Standby" remains a bloated figure long after.
    a 1.4gb transfer filled 3677MB of "Standby" by the time writing finished and modified ram cleared. after 20minutes, it's still bloated at 3696MB. after 30-40mins it's down to 2300mb - this is about what it jumps immediately to when transfer starts
    - it now remains at this level until i reboot.
    I notice the "standby" is available to programs. but they do not operate well. e.g. a 480p trailer on IMDB.com will stop-and-go every 2-3seconds (stream buffers fine/fast) - this would be during the worst case scenario of 35-50mb "Free"
    ram. my pc isn't and never was the latest and greatest, but choppy video never happens even with 1 or 2 resource hogs running (video processing/encoding, games, etc).
    Conjecture Below
    i think it's a problem when one device is significantly slower at writing than the source device - this is the factor that i share with others having this problem. when data is written to modified ram then sent to destination, standby memory is expanded
    until it completely or nearly fills all available RAM - If the transfer size is large enough relative to how slow the write speed of destination device is. otherwise it fills it up as much as the file size/write speed issue allows. the term "memory leak"
    is used below but may not technically be one, but it's an apt description in layman's terms.
    i saw a similar post in these forums (link at end). My problem is repeatable and consistent with others' reports. I wasn't sure if i should revive it with a reply. some of these online message boards (maybe not this one) are extremely picky
    and sensitive, lol.the world will end if an old thread revives - even if for a good reason.
    i can answer some of the ancillary issues. one person (Friday, September 21, 2012 8:33 PM) mentions not being able to shutdown, i asume he means stuck on the shutdown screen - this is because lazy writing has not completed - his nas write speed is significantly
    slower than reading from source - the last bits of data left in ram still needs to be writen to the destination. shutdown will stall for as long as needed until the data finishes writing to destination to prevent data loss.
    another person (Monday, September 24, 2012 6:31 PM) mentions the rate of the leak, but the rate is more likely a function of read speed from source relative to write speed of destination. which explains why my standby expands closer to a 1:1 ratio compared
    to his 1:100 (he said 10mb per 1000mb)
    we all have the same exact results/behaviour, but slightly different rates of bloating/leaking. as the file is written from from the ram to the destination, standby increases during this time - not a problem if read and write speeds are roughly equal (unless
    your transfering a terabytes then i bet the problem could rear its head). when writing lags, it gives the opportunity for standby ram to bloat with no maximum except the amount of installed ram. slower the write speed, the worse the problem.
    The reply on Wednesday, September 26, 2012 3:04 AM has before and after pictures of exactly what i described in
    "Just the Facts". Specifically the resmon image showing the Memory Tab.
    The kb2647452 hotfix seems to do some weird things relative to this problem. in the posts that mention they've applied it: after file completes it looks like the "standby" bloat is now "in use" bloat. as per info from Tuesday, October
    09, 2012 10:36 PM - bobmtl in an earlier post applies the patch. compare images from earlier posts to his post on this date. seems like a worse problem. Also, his process list indicates it's very unlikely they add up to ~4gb as listed in the color coded bar.
    wheres the extra gb's coming from? likely the same culprit of what filled up "standby" memory for me and others. it looks like this patch relative to this problem merely recategorizes the bloat - just changes the title it falls under.
    Link:
    https://social.technet.microsoft.com/Forums/windows/en-US/955b600f-976d-4c09-86dc-2ff19e726baf/memory-leak-in-windows-7-64bit-when-writing-to-a-network-shared-disk?forum=w7itpronetworking

  • While transfering Adobe form to PS(Project system) getting Error.

    Hi Experts,
    I am getting error While transfering Adobe form to PS getting Error.
    The asdobe form we are using is DPR_STATUS_REPORT_AIF and enhancement implementation is DPR_STATUS_REPORT_AIF.
    I am getting the following error.
    Error occurred when generating the print preview (function module: /1BCDWB/SM00000006)
    ADS: com.adobe.ProcessingException: com.adobe.Processin(200101 )
    Please help me with this.
    Thanks in advance
    Subhaskar

    Hi Max,
    Yes its in Active. Even i can be able to see the print form in SFP transaction.
    But the problem is coming when we are transfering the adobe form to PS(Project System).
    Regards
    Subhaskar

  • LV AUTOMATICA​LLY CLOSED WHEN i USED LISTBOX ACTIVEX CONTROL METHOD

    When I using activex control i.e microsoft forms 2.0 Listbox method "AddItem", LV automatically closed. But it is not happen when I used its property such as "backcolor". Please tell me how to solve this problem

    I think u do not answer my question
    I ask why LV automatically closed when I used method of microsoft forms 2.0 activex listbox. But this not happen when i used the property of the listbox activex
    Attachments:
    listbox_method.vi ‏17 KB
    listbox_property.vi ‏13 KB

  • Error when starting Adobe Form

    I have an Adobe Form which works Ok in the development SAP Portal, but that, when I log in the production portal gives the following error:
    Error when reinitializing the form (I guess, it's Error al reinicializar el formulario, in Spanish)
    I think maybe there is something missing to transport, or some misconfiguration, but I haven't been able so far to find it...
    Can someone give me a hand?
    Thank you in advance,
    S.

    Hi,
    Can you tell me when does the error message comes? Does it comes when you are trying to open the Form or when you are trying to execute it.
    Please check if it is still working in the development box?
    Regards,
    Susanta

  • Error When Opening Any Form

    Hi All.,
    Im facing some issue while opening any form..its stuck in below mention file while opening any form i tried all the ways still im not able to fix the issue.
    Application:11.5.10.2
    OS-----------HP-UX
    DB-----------10.2.0.4.0
    File Name:
    oracle/forms/ui/FLWTextArea
    Work Around
    Relink the all the files
    Regenerated the jar files
    Regenerated the forms
    f60gen help=y
    Forms 6.0 (Form Compiler) Version 6.0.8.28.0 (Production)
    Forms 6.0 (Form Compiler): Release - Production
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    PL/SQL Version 8.0.6.3.0 (Production)
    Oracle Procedure Builder V6.0.8.21.0 Build #0 - Production
    Oracle Virtual Graphics System Version 6.0.5.39.0 (Production)
    Oracle Multimedia Version 6.0.8.25.0 (Production)
    Oracle Tools Integration Version 6.0.8.17.0 (Production)
    Oracle Tools Common Area Version 6.0.5.32.0
    Oracle CORE Version 4.0.6.0.0 - Production
    Metalink Doc id
    java.lang.NoClassDefFoundError: oracle/forms/ui/FLWTextArea Error When Opening Any Form [ID 1219663.1]

    Thanks,
    From the below doc id we are currently in patch set 19 but im not able see that in ad_bugs.,
    Note: 232313.1 - Information on Previous Versions of Developer 6i Patchsets
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=232313.1
    Here is an example:
    If you have Forms: 6.0.8.27.x --> You are on Developer 6i Patch 18
    If you have Forms: 6.0.8.26.x --> You are on Developer 6i Patch 17
    If you have Forms: 6.0.8.25.x --> You are on Developer 6i Patch 16
    If you have Forms: 6.0.8.24.x --> You are on Developer 6i Patch 15
    SQL> select bug_number from ad_bugs where bug_number='&BUG_NUMBER';
    Enter value for bug_number: 9935935
    old 1: select bug_number from ad_bugs where bug_number='&BUG_NUMBER'
    new 1: select bug_number from ad_bugs where bug_number='9935935'
    no rows selected
    SQL>

  • Error when displaying xellerate form

    Hello,
    I have the following error when displaying the form of any xellerate users :
    ERROR,03 May 2011 10:40:56,273,[XELLERATE.APIS],Class/Method: tcFormDefinitionOperationsBean/getFormFieldPropertyValue encounter some problems: Property 'Column Names' has not defined for the form field '-19'
    All is working fine, just this error that is diplayed each time I want to display a user form. In my formMetadata.xml, I have the following definition for the field -19, it is the manager :
    <Attribute name="-19" label="global.label.managerid" displayComponentType="LookupField" variantType="long" dataLength="50" map="Users.Manager Login">
    <ValidValues lookupColumnNames="User ID,Last Name,First Name" lookupQuery="SELECT usr.usr_key,usr.usr_last_name,usr.usr_first_name,usr.usr_login FROM usr, ugp, usg WHERE ugp.ugp_name = 'PROF_MANAGER' AND ugp.ugp_key = usg.ugp_key AND usr.usr_key = usg.usr_key AND usr.usr_status = 'Active' AND usr.usr_emp_type = 'Employee'" displayColumns="Users.User ID,Users.Last Name,Users.First Name" selectionColumn="Users.User ID"/>
    </Attribute>
    What is the problem with my attribute definition ?
    Thanks for your help,
    Kind regards,
    mdadikn

    Hello,
    I'm new to OIM. I am a new hire to a group that had a contractor setup the whole system. I'm finding a similar issue on our system here. I've looked through the database and cannot seem to find the issue. Error happens when from the webapp clicking on "Create IT Resource".
    From the Error Log:
    Class/Method: tcFormDefinitionOperationsBean/getFormFieldPropertyValue encounter some problems: Property 'Column Names' has not defined for the form field '-82'
    Line with issue from FormMetaData.xml:
         <Attribute name="-82" label="global.label.itresourcetype" displayComponentType="LookupField" variantType="String" dataLength="255" map="IT Resources Type Definition.Server Type" useInRule="true">
              <ValidValues lookupQuery="select svd_svr_type from svd" selectionColumn="svd_svr_type"/>
    </Attribute>
    Please let me know any additional information/questions. From what I can tell everything should be correct. Sorry again if the answer is obvious, I'm only 3 days into OIM.
    Thank you,
    Ryan

  • I have inherited an ICloud account from one of my employers when transferring from old MacBook Pro to new MacMini and need to separate from this, presumably by setting up a new ICloud account.  How do I do this ?

    I have inherited an ICloud account from one of my employers when transferring from old MacBook Pro (which belonged to them) to new MacMini and need to separate from this, presumably by setting up a new ICloud account.  How do I do this ?  And is there any danger, in doing so, that I might delete any of her ICloud information ?

    Sign out in System Preferences>iCloud. This will remove any synced data such as Calendars, emails and Contacts from your Mac, but will have no effect on the data on the server - so that other devices logged into it will continue to see the data.

  • Occasionally when filling in forms in Safari 5.1.2 certain keys on the keyboard don"t work.  When I use the coma it opens up another tab.

    Occasionally when filling in forms in Safari 5.1.2 certain keys on the keyboard don"t work.  When I use the coma it opens up another tab. I've used other browsers to fill in the forms and they work fine so my keyboard is OK.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is localized to your user account, or is system-wide. Enable guest logins and log in as Guest. For instructions, launch the System Preferences application, select “Help” from the menu bar, and enter “Set up a guest account” (without the quotes) in the search box.
    While logged in as Guest, you won’t have access to any of your personal files or settings. Any application you run will behave as if you were running it for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    As Guest, launch the application(s) and test. Same problem(s)?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.

  • Cd drive on my laptop not seen as a device. Can refresh itunes and device appears but get unknown sync error 13019 when transferring cd's to my nano.  The cd's appear on the nano when it's connected to itunes but aren't there when I disconnect?

    cd drive on my laptop not seen as a device. Can refresh itunes and device appears but get unknown sync error 13019 when transferring cd's to my nano.  The cd's appear on the nano when it's connected to itunes but aren't there when I disconnect?

    Satellite L675-S7113 Specifications (PSK3AU-07C02S)
    Satellite L675-S7113 Support Page
    rwls wrote:...since I got it 3 years ago I've been unable to burn an audio CD from ITunes or Windows media although it worked once after the computer had been shut off for awhile..and didn't find the problem until after my warranty had expired...
    From your statements above, it sounds like you never tried to burn a CD for at least the first year that you owned the laptop, as it had a one year warranty on it. While you might have used it frequently to install software,  play DVDs, Blu-Ray disks, etc, that's unclear from your statements. Nonetheless, it might just be dirty-dusty. So, before deleting-uninstalling any software, and given they're cheap, try a CD-DVD Cleaner Disk first and see if that resolves your problems.
    Let us know what happens. Good luck.
    Mike

  • What software is needed to be able to open the olm file I have exported from Outlook to my documents when transfering my Microsoft Office Contacts to my Mac Addressbook?

    what software is needed to be able to open the olm file I have exported from Outlook to my documents when transfering my Microsoft Office Contacts to my Mac Addressbook?

    You might find a solution here: how to convert microsoft outlook contacts to apple address book - Google Search
    OT

  • Mac Mini Mid 2011 General system slowdown when transferring files?

    Hi i have a stock mac mini mid 2011, 2.5ghz i5, 4gb ram, 500gb HDD os 10.7.1 and i've noticed a general system slowdown when transferring files on 10.7 and the last 10.7.1 update ( from usb to hdd, another computer on my local network to the mini, external dvd to the mini, etc).
    I could describe the slowdown as mouse pointer movement suffers, its "laggy", application take longer to start, even menus in them from appearing, writting something on the keyboard i have to wait like 5 - 10 seconds so the words start appearing in the app (i.e. textedit).
    I wanted to know if any other new mac mini owner has had this issue and if there is any solution to this(that would not involve buying a SSD for example)?
    Im not really sure if this is a hardware or system issue but it really is getting on my nerves(i know i could just wait for the files to transfer which is what i do now but i dont think that should be), since i also have a old macbook from 2007 2.0ghz c2d, 2gb ram, 250gb HDD os 10.6.8 and have never had this problem before.
    Thanks in advanced.
    Let me know if i need to give more info on this subject.
    Edit: I forgot to mention, the funny thing is doing a time machine backup to my external HDD or transferring files from my HDD to a usb doesnt give me any kind of slowdown.

    Hi Rick, I'd see if it's reated to this, which has many symptoms...
    Try this: "sudo pmset autopoweroff 0" and "sudo pmset standby 0"
    http://xlr8yourmac.com/archives/sep13/091313.html#10.8.5SleepEjectTip

  • Access 2010 on 64 Bit Windows 7 Access "Not Responding" when changing from forms view to design view and back

    I am running
    Windows 7 64 bit
    Access 2010 32 bit
    Developing an application with a split FE BE with both files local but continue to have the message "Not Responding" when switching from forms view to design view and back as well as if I try to connect to a subform or object on the sub form.

    I have seen this behavior when the form's RecordSource is a complex query such as a crosstab or a query with several nested queries. To test if this is your case, remove the RecordSource and see if the form starts acting normal again.
    Then again, if the form has several subforms they might be slowing up the loading time.
    Bill Mosca
    www.thatlldoit.com
    http://tech.groups.yahoo.com/group/MS_Access_Professionals

  • HP ProBook 440 G2, Finger print reader not working when I upgraded form Win 7 Pro to Win 8.1 Pro

    My HP ProBook 440 G2, Finger print reader not working when I upgraded form Win 7 Pro to Win 8.1 Pro.
    In device manager showing that biometric reader is working properly. But actually the finger printer reader is not reading or senseing. It seems like "dummy" part. Please help me to correctly configure step by step for this issue.
    thankyou
    Hillet
    This question was solved.
    View Solution.

    Have you installed the Validity Sensor Fingerprint driver software for Windows 8.1?
    http://h20564.www2.hp.com/hpsc/swd/public/detail?sp4ts.oid=6943811&swItemId=ob_134806_1&swEnvOid=415...
    See page 64 in the following Windows 8.1 user manual for Validity Fingerprint setup information
    http://h20565.www2.hp.com/hpsc/doc/public/display?sp4ts.oid=6943810&docId=emr_na-c04371762&docLocale...
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

Maybe you are looking for

  • Not all tables are updated in a .xlf document

    One table from 6 is updated only in a .xlf document via Life Office connection. Why?

  • IMovie 09 Cutaway Sound Is Terminally Flawed?

    ... which kind of kills half the reason I upgraded really. Fantastic feature .. pity it dont work then. Yes, yes. The whole point of the cutaway or video insert edit .. is to quite literally there, insert video clips without sound over the underlaid

  • Can't see Garageband files on iCloud Drive

    I've updated my iPhone 5 to iOS 8.0.2 and the latest version of Garageband (2.0.3) for iOS and am having problems accessing Garageband files I've saved to my newly converted iCloud Drive.  Garageband on iOS still sees the files.  As does Settings ->

  • Delete data in database

    <% Connection conn = null; String nama = request.getParameter("nama"); String driver ="com.mysql.jdbc.Driver"; try{ Class.forName(driver);      conn = DriverManager.getConnection("jdbc:mysql://localhost/e-jualan", "root","123");      catch( Exception

  • Best piece of advice for "New to COLOR"...

    Sort of like a position statement: I have been monitoring this forum since it started, having used FT for a bit more than a year now... and having been a dedicated daVinci/telecine colorist for 13 years...and an on-line editor for nearly 20 years bef