Is it possible to use alter sessin at forms button or procedure ?

Hi, mates,
I want to use alter session at forms, possible in button. does it possible ? if yes, what i have to write ?

Hi,
You can use alter session commands from form / Reports. And What I have to Write means what? what is your requirement?
You can use FORMS_DDL built in to write those commands.
Regards,
Manu.

Similar Messages

  • Is it possible to use DVT with Oracle Forms 11g?

    Hi,
    I have posted my question on Oracle Forms forum but I didn't get answere regarding dvt usage in Oracle Forms.
    Now I try it here.
    Oracle Forms 11g and charts / graphs
    ====
    one of our customers has a forms 6i applications including oracle graphics and is thinking about upgrade to forms 11g.
    Oracle graphics has been desupported with 6i and with 9i Oracle BI beans has been recommended.
    Forms 10g is the terminal version for Oracle BI beans too (http://www.oracle.com/technetwork/middleware/bbi-beans/overview/oraclebibeanssod2008-129560.pdf).
    What's the recommended technology for graphs/charts in Forms 11g?
    Is it ADF DVT?
    If yes, are there examples how to call them from Forms 11g?
    =====
    regards
    Peter

    Hello Shay,
    thank you very much for the link.
    I wonder if there any plans from Oracle to provide and support a DVT wrapper in next versions of Oracle Forms 11g
    As the customer project is planned for Q2/2011 we still have some time and hope for this :-)
    regards
    Peter

  • Problem using DBMS_SQL in a form

    hi,
    I am trying to write a procedure which get an input string containing a SQL statement (a SELECT), executes it, fetches the rows and writes them into a Excel sheet. I found this article http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sql.htm describing how to use DBMS_SQL package. My goal is to parse my query and store result in an array (using DEFINE_ARRAY).
    I put theese two lines
    (declare c number;)
    c := dbms_sql.open_cursor;
    dbms_sql.parse(c,p_query,dbms_sql.native); (p_query is my input string containing SQL)
    But when I compile my program unit I get an error looking like that: "implementation restriction: DBMS_SQL.NATIVE: unable to access a remote package variable or cursor".
    Where is the error? should I set something to access the package, or is it not possible to use it inside a form?

    W1zard is correct. Switch to Exec_SQL. Oracle does not support Forms using DBMS_SQL.
    Now... please explain why you are not using a dynamic record group. It is SOOO much easier!
    And if you want to look at some code using both methods, Exec_SQL and dynamic record group, you can download my "Quick Access" dynamic utility form, here:   Oracle Forms Utilities

  • Is it possible to use C++ in a Kernel Extension?

    In the "Kernel Extension Programming Topics" document there are two examples of kernel extensions - HelloKernel and Hello I/O Kit.
    The Hello IO Kit is created as an I/O Kit Driver project and HelloKernel as a kext project.
    Hello I/0 Kit has C++ classes in it whereas HelloKernel is just C.
    Is it possible to use C++ in a kext project? If so what header files or bundles must be included to make it possible?
    My aim is to develop an NKE (which I presume has to be created as a kext project) and I would rather implement it it using classes than using just C.

    hotcheese wrote:
    Was it pre-Snow Leopard?
    Yes
    I've just seen this following text from the Kernel release notes for Snow Leopard, would this make a difference? ( I notice it mentions I/O however, why is C++ allowed in I/O kexts but not in others?)
    *Mixed C/C++ Kexts*
    Mac OS X Snow Leopard features support for kexts that use both C and C++ code. On prior
    releases of Mac OS X, making use of Libkern C++ classes in a generic (C-based) kext was a
    risky proposition, since the I/O Kit auto-unloading mechanism destroyed any kext
    referencing such classes if there were no instances of them. Apart from that, even if non-
    Libkern C++ was used, the stub routine invoked at unload called the kext’s static C++
    destructors before the kext’s stop routine, and when the kext was auto-unloaded the stop
    routine wasn’t invoked at all.
    Snow Leopard corrects these issues by:
    Marking only kexts that define subclasses of IOService for auto-unload. Non-I/O Kit
    kexts loaded on Snow Leopard can safely use and subclass Libkern C++ classes.
    Altering the stub unload routine to call the kext’s stop routine first, then the kext’s
    static C++ destructors. Important: To gain this behavior you must build your kext to
    be targeted against Snow Leopard, as the stub routine is built into the kext.
    Always unloading a kext by calling both the stop routine and then the C++ static
    destructors, regardless of kext type (generic or I/O Kit).
    That is very interesting. I suggest you post your question on Apple's Darwin kernel mailing list. I have seen postings there that both echo what I told you and claim that you can make C++ work fine. It is highly likely that I just need more experience writing kernel code (and a better project idea). I would like to know the answer to this question myself. It doesn't seem as cut and dried anymore.

  • Is it possible to use a masked layer to mask another layer?

    Hi there,
    I'm relatively new to Fireworks after coming from an Illustrator background
    I've just started playing with the masking features of Fireworks and wanted to know if it was possible to use a layer that already has a mask applied as a further mask on another layer.
    Basically, I have a rounded rectangle that I am using as a canvas to hold a series of vector circles. Circles that fall outside the rectangle are naturally clipped due to the mask.
    I then want to use these clipped circles as a mask for a series of photos that also lie within the rounded rectangle.
    I suppose I could simply cut up the circles to ensure that they are within the rectangle, but this would not allow me to resize them in future should I want to alter the design.
    In Illustrator I could use a clipping mask to achieve the required effect, which would basically clip all the layers beneath, but in Fireworks I'm not sure what to do.
    Any ideas or different approaches would be appreciated!
    Cheers,
    Tim

    Between the ability to select thumbnails in the Layers panel, and occasional use of Select > Subselect, you've actually got pretty good options for editing a simple mask. Once you start nesting them, though, you'll probably have to ungroup.
    The cool thing is, you've got options for nesting masks and working non-destructively. And grouping and ungrouping isn't a big deal, particularly if you remember the shortcuts for it (Command-G and Shift-Command-G). On the other hand, it might be nicer if Fireworks offered the ability to "unfurl" a group or a mask via an arrow, while still seeing the full effect of the mask.
    I just tried out my earlier symbol suggestion and realized that while one can apply a mask to a symbol instance, it may not be possible to apply a symbol instance as a mask, which is a bit surprising. (At least, that option seemed to be greyed-out in CS6.) So my earlier idea may just be purely theoretical.

  • 975X PowerUp - Possible to use Intel Raid and JMicron Controller?

    Hi,
    as you can see I've got an MSI 975X PowerUp Edition with Bios 7.7.
    Because of many problems I had with earlier Bios version I've got completely disabled the JMicron controller in the Bios.
    I'm running 4 HDDs at the Intel controller while using 2x Raid0.
    Is it now possible to use the JMicron at the same time?
    I would like to add a fifth SATA HDD at the JMicron controller and aybe an old IDE HDD also on the JMicron controller. So, is it possible?

    Quote from: carrera1988 on 19-January-08, 18:48:17
    Sorry, didn't found that thread.
    I've tried it now with an fifth Sata HDD, works perfekly until now. I'm formating the new HDD at the moment...
    What's the best way to shut down the Intel controller WITHOUT the risk of loosing data?
    I want that oly the new HDD is detected so I can use her for testing purposes...
    If only for testing purposes, why did you leave raid connected........? Especially, if planning to alter boot sequence......
    I turn off computer and unplug disks, when I am doing testing of HD's......... that way data is safe. You have to setup bios again after testing but only takes a few mins or 10 mins if you have written down settings

  • Is it possible to use wildcards to match cell contents in an if statement?

    I need to return a ID along with some other information on a page by page basis, so that the information comes out linked by position.  I use a couple of loops and if statements to navigate through the document.  I am able to use exact matches of cell contents which is fine when the contents doesn't vary.  But the IDs, though they have a similar pattern, are all different. In a menu driven search, I am able to find what I need with '150^9^9^9^9^9-^9^9^9' But when I try putting this (or any number of [0-9], *, ? combinations) it fails.  Is it possible to use wildcards?  The symbol used for the match (==) makes me suspect that it is not possible and that only literal, exact matches will work.  But I wanted to check with the experts before giving up.
    Thanks
    pcbaz

    Thanks for the input.  You're right, a GREP search is much more efficient.  But what I'm trying to do and the circumstances here don't allow me, I think,  to go that route. I am trying to generate a list of values coming from several textframes on a single page and have them come out so that I can tell which values belong together.
    I'm using an inherited document with masters that were created 'manually';  the index numbering for textframes and tables is random. I navigate through the pages, looping through textframe indices asking ' does this textframe exist?' If so, I ask if it is a table -- if no, it is a simple textframe and I ask about the ID, if yes, I ask if the contents of cell (0,0) (invariant position and contents) are equal to the table I want..  I am sending the ID and other pieces of information from the table to one row of a new table on a new page.  So the ID and other information from a single page are linked by being in the same row.
    I know this a little 'off-normal' -- I'm using the search to navigate through the document and find things by location the way you do with a spreadsheet.  I have devised a work-around that helps me get around the fact that the ID is not invariant.  I create a list of the (exact) IDs from another document, equating them to a variable ('a').  I then loop through the list of IDs and ask if the contents of the textframe is equal to 'a'..This works o.k, unless there happens to be an extra space, a different kind of hyphen, etc. It would be so much easier if I could use the wildcards that work in a menu-driven text or GREP search in script just to ask about the contents of the textframe.
    Thanks again
    pcbaz (Peter BIerly)
    P.S. we have since rewritten the masters so this problem will not exist in the future -- we now know exactly which textframe and/or table indices to refer to to get any particular bits of information and don't need to ask questions about the contents.

  • Is it possible to use a cable with two headphone jacks on either end and an electric guitar adapter to record in Garageband?

    Hey everyone,
    I got my Macbook Air (Mid 2013 model) last month and I want to record my acoustic-electric guitar on Garageband (which came with the Air). 
    I don't want to buy a guitar that has a USB. I have a cable with a 3.5 mm headphone jack on both ends like the one pictured here on this website http://www.bestdealaz.com/item.php?id=628 (i didn't buy it from this site though).
    I connected a 6.3 mm guitar adapter (http://www.ebay.com/bhp/headphone-guitar-adapter) to this cable. Then I connected one end of the cable to my guitar and the other end to the Headphone/Microphone jack on the left side of the MBA.
    I saw how other people were saying to go to System Preferences / Sound and then change audio output to audio input.
    I can't do that. I tried.
    Please help!
    Thank you.

    Hello Massimo Pascucci,
    The issue that you are facing when creating an endpoint with internal loadbalancer is the limitation of not allowing same ports to be listening under a single cloud service. This reason for this is that there is a limitation of only one private IP (Also
    known as the Internal load balanced IP) per cloud service.
    There is also a limitation on the Internal load balancer more than one port to be published per load balancer:
    You can leave your feedback by following the link below:
    https://social.msdn.microsoft.com/Forums/en-US/1805c5a0-3906-4cd6-8561-9802d77e0ae5/is-it-possible-to-use-both-an-ilb-and-an-elb-listening-on-the-same-port-in-the-same-azure-cloud?forum=WAVirtualMachinesVirtualNetwork
    Refer to this article for more information on Internal load balancer:
    http://azure.microsoft.com/blog/2014/05/20/internal-load-balancing/
    Thanks,
    Syed Irfan Hussain

  • I am using a mac mini 2011 an 3gs i phone 2010 macbook white 2008 and a new 2013 apple tv box. When i check info on the cloud I get 'upgrade your operating system to the latest. My question is is it possible to use the icloud system without an upgrade

    I am using a mac mini 2011 an 3gs i phone 2010 macbook white 2008 and a new 2013 apple tv box. When i check info on the cloud I get 'upgrade your operating system to the latest. My question is is it possible to use the icloud system without an upgrade

    iCloud requires OS X 10.7.2.

  • Is it possible to use my ipad 4 as a second monitor through a USB connection.

    Is it possible to use my ipad 4 as a second monitor through a USB connection.

    perhaps, but my information was current. I had the same question and was looking for and answer and found it. So I responded in order to help others who found this question and were looking for an answer. This community is made more helpful and kept current by adding new answers with current information.
    imobl... air display was a valid response for 2011 predating the question. Also using Monitor2go was valid in 2012. There were USB mirroring and as a 2nd display for an iPad options at the time the original question was asked.

  • Is it possible to use old Apple Flat Panel Display (62 watt power adapter) with MacBookPro 13" Mid-2012 running 10.8.4? Tried mini display to VGA cable

    Is it possible to use old Apple Flat Panel Display (62 watt power adapter) with a MacBookPro 13" Mid-2012 laptop?  Would like to use larger screen when working at home.  I have a mini display port to VGA cable and have tried to hook up the old display but it seems not to work.  When I try to activate the screen on the old display-- a window comes up in the MacBookPro and asks me if I want to shut down the computer.  What little I have read it that the MacBookPro had Thunderbolt and the old display may not be compatible?  Any assistance would be appreciated.

    quax88 wrote:
    11.09.12 22:16:06,148 ClamXavSentry[286]: scan email files
    11.09.12 22:16:06,148 ClamXavSentry[286]: I will quarantine infected files
    This doesn't have anything to do with your problem, but it will likely cause other issues with your e-mail.
    Here's my standard recommendation concerting the use of A-V software to deal with potentially infected messages:
    Never use ClamXav (or any other A-V software) to move (quarantine) or delete e-mail. It will corrupt the mailbox index which could cause loss of other e-mail and other issues with functions such as searching. It may also leave the original e-mail on your ISP's e-mail server and will be re-downloaded to your hard drive the next time you check for new mail.
    So, if you choose to "Scan e-mail content for malware and phishing" in the General Preferences, make sure you do not elect to either Quarantine or Delete infected files.
    When possibly infected e-mail files are found:
    Right-click/Control-click on either the infection or file name in the ClamXav window.
    Select "Reveal In Finder" from the pop-up menu.
    When the window opens, double-click on the file to open the message in your e-mail client application.
    Read the message and if you agree that it is junk/spam/phishing then use the e-mail client's delete button to delete it (this is especially important when the word "Heuristics" appears in the infection name).
    If you disagree and choose to retain the message, return to ClamXav and choose "Exclude From Future Scans" from the pop-up menu.
    If this is a g-mail account and those messages continue to show up after you have deleted them in the above manner, you may need to log in to webmail using your browser, go to the "All Mail" folder, find the message(s) and use the delete button there to permanently delete them from the server.
    To fix the corrupted mailbox index(es), highlight each one that was corrupted and choose Rebuild from the appropriate menu.

  • Is it possible to use backup files previously copied to an external hard drive to backup an iPhone?

    My sister froze her iPhone by trying to turn it off during a software update (not sure why) and restored it because she thought it would fix it. Unfortunately she unintentionally deleted all of her data and settings. She doesn't use iCloud, so I'm assuming all her files are backed up to her computer when she syncs her iPhone, but using iTunes I can only find two backup points using Edit>Preferences>Devices, both in the past few minutes. I know that each sync overrides the last backup files instead of creating newer ones, so apparently older backup files from her computer can't be used to recover her data. However, we both periodically use an external hard drive to back up our computers by basically dragging and dropping our files onto it, so there is an earlier version of her User folder on the external hard drive. It would definitely be preferable to use the backup files from a few months ago that are on the external hard drive and lose a few photos than to lose years of data, so would it be possible to direct iTunes to those backup files (AppData etc) instead of the ones saved on her computer hard drive? There's not any kind of browse option I can see that could allow me to get iTunes to search for backup files on the external hard drive and I'm not computer savvy enough to manually find the files and connect them to iTunes. Is it even possible to use backup files from an external hard drive? Do I have to replace the ones that exist on her computer now?

    Garageband can't use VST plugins.
    If you're talking about AUs: you could try to put an alias into the HD/Library/Audio/Plug-Ins/Components folder instead of the actual files, and see if GB loads them.

  • Is it possible to use both an ILB and an ELB (listening on the same port) in the same Azure cloud service?

    I'm building a test Lync deployment on Azure; yes, I know this is not supported, hence "test".
    Lync Front-End servers expose two set of web services, one for internal users and one for external ones; they listen on different ports (443 and 4443) on the same servers; when external services are published, you need a reverse proxy or a port forwarding
    in order to map port 443 of a public IP address to port 4443 of the Front-End server(s). When you have multiple Front-End servers in a pool, you also need to load-balance them.
    So, a typical Lync deployment looks like this:
           Internal users
                     |
                   443
                      |
              Internal LB
            192.168.0.20
            443         443
              |               |
       Lync FE 1     Lync FE 2
    192.168.0.21 192.168.0.22
              |               |
          4443        4443
              External LB
           Public IP Address
                     |
                  443
                     |
           External Users
    This should be easily replicated in Azure, as it supports both external load balancing and internal load balancing. They are even supported together in the same cloud service, so this configuration should be easy. However, it looks like "should"
    is the keyword here.
    After creating the external load balanced endpoint (which listens on external port 443 and forwards to port 4443 on the servers), I'm trying to create an internal load balancer and add internal endpoints to is; however, while the ILB can be created successfully,
    adding an internal endpoint listening on port 443 and forwarding to port 443 on the servers fails miserably, with an error stating that port 443 is already in use by another endpoint:
    Update-AzureVM : BadRequest : Port 443 is already in use by one of the endpoints in this deployment. Ensure that the port numbers are unique across endpoints within a deployment.
    For reference, my commands are:
    Add-AzureInternalLoadBalancer -InternalLoadBalancerName "LyncILB" -ServiceName "LyncFrontEnd" -SubnetName "LabSubnet" -StaticVNetIPAddress 192.168.0.20
    (This completes successfully)
    Get-AzureVM LYNCFE1 | Add-AzureEndpoint -Name "Https-Int" -Protocol "tcp" -LocalPort 443 -PublicPort 443 -LBSetName "HttpsIntLB" -DefaultProbe -InternalLoadBalancerName "LyncILB"
    (This fails)
    The existing external endpoint is configured as such:
    Get-AzureVM LYNCFE1 | get-azureendpoint
    LBSetName : HttpsExtLB
    LocalPort : 4443
    Name : HTTPS-Ext
    Port : 443
    Protocol : tcp
    Vip :
    ProbePath :
    ProbePort : 4443
    ProbeProtocol : tcp
    ProbeIntervalInSeconds : 15
    ProbeTimeoutInSeconds : 31
    EnableDirectServerReturn : False
    Acl : {}
    InternalLoadBalancerName :
    IdleTimeoutInMinutes :
    LoadBalancerDistribution :
    The error doesn't even make a lot of sense; the external load balancer listens on a public IP address, while the internal load balancer listens on a private IP address in the internal network; there
    shouldn't be any conflict here... however it looks like there is one instead.
    Why doesn't this work? Am I doing something wrong, or is Azure networking just being silly as usual again?

    Hello Massimo Pascucci,
    The issue that you are facing when creating an endpoint with internal loadbalancer is the limitation of not allowing same ports to be listening under a single cloud service. This reason for this is that there is a limitation of only one private IP (Also
    known as the Internal load balanced IP) per cloud service.
    There is also a limitation on the Internal load balancer more than one port to be published per load balancer:
    You can leave your feedback by following the link below:
    https://social.msdn.microsoft.com/Forums/en-US/1805c5a0-3906-4cd6-8561-9802d77e0ae5/is-it-possible-to-use-both-an-ilb-and-an-elb-listening-on-the-same-port-in-the-same-azure-cloud?forum=WAVirtualMachinesVirtualNetwork
    Refer to this article for more information on Internal load balancer:
    http://azure.microsoft.com/blog/2014/05/20/internal-load-balancing/
    Thanks,
    Syed Irfan Hussain

  • Is it possible to use my music files in both my girlfriend's and my separate Itunes libraries through our seperate user accounts?? I want to import my music into her library with out copying the files onto my hard drive a second time....

    Is it possible to use my music files in both my girlfriend's and my Itunes library's through our seperate user account?  I want to import my music into her library without copying to my hard drive a second time.....

    Would any of these help you?:
    http://www.apple.com/itunes/inside-itunes/2011/05/two-ways-to-share-media-librar ies-through-itunes.html
    http://www.apple.com/itunes/inside-itunes/2011/01/keeping-multiple-itunes-librar ies-on-a-single-computerif-you-share-your-computer-with-others-and-you.html

  • HT1420 Possibility to use 1 Computer - configured with 2 user accounts - each account uses a different Apple-ID for iTunes authorization ?

    I wonder if it is possible to use 1 Computer (Macbook Pro)
    - configured with 2 (ore even more) user accounts (i.e. me + my kid)
    - and each user account has a different Apple-ID (account) for iTunes purchases & iTunes authorization ?
    I woud think that is fine in terms of the underlying license agreement refereing to re-download purchased movies, shows, apps, etc.
    However, it seams that there is that miraculous 90 days restriction, which I don't understand, and which allows me only to "authorise" the Computer under one or the other account. The switch is unfortunatelly only possible every 90 days ?!?
    Thanks anybody for help
    Oliver

    The 90 day association doesn't stop you authorising an account, it only stops you from using another account for iTunes Match or automatic downloads or redownloading its past purchases : http://support.apple.com/kb/HT4627
    There are a few methods listed on this page for how you could do it e.g. multiple user acounts, same iTunes but you having separate playlists, separate iTunes libraries : http://support.apple.com/kb/HT1495

Maybe you are looking for