Need to know the path of current Form/Report

Hi All,
I need to know the path of the Current Report/Form, but i dont want to use
get_form_property(:system.current_form,file_name),
is their any other way for getting the current path from where the report/form is running
Imran Ahmed

Hi,
I dont want to use
get_form_property(:system.current_form,file_name)
because it give me the current directory with the form name for eg. (c:\dev6i\temp\abc.fmx) then i have to use
cur_file_name := get_form_property(:system.current_form,file_name);
total_length := length(cur_file_name);
cur_form_name_length := length(get_form_property(:system.current_form,form_name))+4;
path_length := total_length-cur_form_name_length;
cur_path:= substr(cur_file_name,1,path_length);
to get the actual path, and i dont find any function name GET_WORKING_DIRECTORY under WIN_API_ENVIRONMENT theie is get_windows_director and get_temp_directory but not the above, if you have that function then please mail me on [email protected] I also cannot use read_registry(forms_path) because in registry i have different paths.
Thank You

Similar Messages

  • Needs help to know the different versions of forms with their compatibility

    Needs help to know the different versions of forms with their compatibility with different databases and operating systems.
    Kindly give the details or any suitable link for the same.
    please consider it as on urgent basis.
    regards,
    rajesh

    Rajesh,
    the certification matrix is available on metalink.oracle.com. You need a support contract to access this information.
    Frank

  • Fix this problem please fix this iphone is currently linked to an apple id need to know the way to fix it

    Hello ,
    Need to know the best way to fix this problem this iphone is currently linked to an apple id need to know the way to fix it
    Best Regards

    The ONLY fix is to know the Apple ID/Password that was originally used to activate the phone. If you don't know this info, then the phone will be useless to you. Apple can't/won't help you.
    There is no other fix.

  • Need to know the sqluery to find the disabled date from OIM 9.1.0.1

    Hi Experts,
    Need very urgent inputs from you all for the preparation of our audit.
    We are using OIM9.1.0.1
    We need to know the sqlquery for finding the Disabled date in OIM given the user ids, as currently we are unable to get the exact data from Historical Reports Option in OIM.
    I need to give in this format:
    select usr_login, usr_disabled from schemaname.tablename where usr_login in
    ('aaa','bbb'..... etc)
    We have three attributes :USR_DISABLED_BY_PARENT,USR_DISABLED,USR_DEPROVISIONING_DATE,but none of them give the exact date,
    USR_DISABLED gives just a flag as 1 or 0.
    Also there are no other fields in the corresponding usr table.
    So how to fetch the exact Disabled date from OIM system when I input the user ids.
    Your immediate response is appreciated.
    Thanks
    SS

    In the entire thread many experts have given nice queries in different formats...
    The best approach would be to open up the SQL Developer, connect with the OIM Database and experiment with all sorts of SQL queries provided by all the experts..
    Learn some SQL techniques, like Inner Join etc...
    Then you yourself will be able to figure out what you need, in exactly which format, for which users and for whom you have to restrict
    Then not only this question, you would be able to solve dozens of similar such issues yourself...
    And trust me, nothing can match that...
    Just in case, you are not familiar with SQL Developer,
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
    Oracle SQL Developer 3.2.1 (3.2.10.09.57)
    September 24, 2012
    The Disabled DATE will be the creation date of that entry in the UPA_FIELDS table when Users.Status changed to Disabled.
    SELECT USR.USR_LOGIN, UPA_FIELDS.CREATE_DATE
    FROM UPA_FIELDS
    WHERE UPA_FIELDS.FIELD_NAME='Users.Status'
    AND UPA_FIELDS.FIELD_NEW_VALUE='Disabled'
    AND UPA_FIELDS.UPA_USR_KEY=USR.USR_KEY
    AND USR.USR_LOGIN NOT IN ('XELSYSADM', 'XELOPERATOR', 'WEBLOGIC');

  • I need to know the right tools and java technology

    Please help,I need to know the right tools and java technology to support what I need.
    I had background programming in Assembly,C++,Visual Basic,SAP/ABAP 4.
    All I can say, programming is about logic, now we are very helped building program using objects.
    I'm very interest to SAP tech, where all screens, programs, reports are resides on tables, this is the real dynamic!
    CUrrently I'm eager to do the same technic with java. I'm new to java....
    What I know the J2EE is the core for me to start is it right? I was very interest with the Client-Server Tech. How can I impelemet this with Java?
    I'm a bit confuse with so many java solutions. There is Java Applets, Swing, Java AWT, JavaBeans, etc...
    I don't know what is the best if I want my Presentation/Client Application will run within browser (not standard html, using like windows gui). What should I do to make business logic objects, how to invoke it within the gui. how to make installation package whenever clients connect to the http server.
    if you have a pointer to do it please let me know.... I'm very appreciate all your response...
    Best regards,
    Lucky Pangemanan

    I'd say - don't get carried away with the heavyweight frameworks. Don't use EJB if Hibernate and/or Tomcat will do the job. There's a danger of winding up using a bulldozer to crack a wallnut.
    What people mean by "J2EE" varies a fair bit.
    Start with Tomcat, which has the virtue of being free. Try some JSPs and servlets.
    Use Applets to do client side presentation only if you must; Applets create an installation overhead on end-users, and some of them can't cope, while others may not have the necessary installation permissions on their office machines. They are pretty rarely needed, IMNSHO, most client-side behaviour is better handled with html and JavaScript.

  • Need to know the jar file...?

    Hi,Iam writing an java program which is going to send messages to the remote websphereMQ server,program compiled successfully while in execution it throws error.The prgram is
    com/ibm/jvm/ExtendedSystem/*
    Use source code downloads, example commands,
    and any other techniques at your own risk.
    No warranty is provided.
    import java.util.Properties;
    import javax.jms.JMSException;
    import javax.jms.TextMessage;
    import javax.jms.Queue;
    import javax.jms.QueueConnection;
    import javax.jms.QueueConnectionFactory;
    import javax.jms.QueueSender;
    import javax.jms.QueueSession;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import java.util.Hashtable;
    public class Sender {
         String url_;
         String name_;
         QueueConnection conn = null;
         QueueSession session = null;
         Queue queue = null;
         public Sender(String url, String name) throws JMSException, NamingException {
              url_ = url;
              name_ = name;
             this.initializeSender();
         private void initializeSender() throws JMSException, NamingException {
         /*      Properties props = new Properties();
              props.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
              props.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
              props.setProperty("java.naming.provider.url", url_); */
              String icf = "com.ibm.websphere.naming.WsnInitialContextFactory";
              //String url="iiop://192.168.2.45:1421";
              // Initialise JNDI properties
              Hashtable env = new Hashtable();
              env.put("java.naming.factory.initial",icf);
              env.put("java.naming.factory.url.pkgs","com.ibm.ws.naming");
              env.put("org.omg.CORBA.ORBClass","com.ibm.rmi.iiop.ORB");
              env.put("org.omg.CORBA.ORBSingletonClass","com.ibm.rmi.corba.ORBSingleton");
              env.put("javax.rmi.CORBA.UtilClass","com.ibm.rmi.javax.rmi.CORBA.Util");
              env.put("javax.rmi.CORBA.StubClass","com.ibm.rmi.javax.rmi.CORBA.StubDelegateImpl");
              env.put("javax.rmi.CORBA.PortableRemoteObjectClass","com.ibm.rmi.javax.rmi.PortableRemoteObject");
              env.put("java.naming.provider.url",url_);
              InitialContext context = new InitialContext(env);
              QueueConnectionFactory qcf = (QueueConnectionFactory) context.lookup("QCF");
              conn = qcf.createQueueConnection();
              queue=(Queue)context.lookup(name_);
              session = conn.createQueueSession(false,QueueSession.AUTO_ACKNOWLEDGE);
              conn.start();
          public void send(String text) throws JMSException, NamingException {
              QueueSender send = session.createSender(queue);
              TextMessage tm = session.createTextMessage(text);
              send.send(tm);
              send.close();
         public void disconnect() throws JMSException {
              if(conn != null) {
                   conn.stop();
              if(session != null) {
                   session.close();
              if(conn != null) {
                   conn.close();
         public String getTopicName() {
              return name_;
         public String getTopicURL() {
              return url_;
         public static void main(String args[]) throws Exception {
              System.out.println("Starting JMS Example Sender");
                Sender sender = new Sender("iiop://192.168.2.45:1421", "ASMQUEUE");
                 System.out.println("Sending list of data");
                 sender.send("Krishna Moorthy");
                 sender.disconnect();
                      System.out.println("JMS Example Sender Complete - list sent");
    }During Execution followng error occurs,
    D:\jboss-4.0.5.GA\WebSphere_JMS>java Listener
    Starting JMS Example Listener
    performing lookup...
    Error creating listener: javax.naming.NamingException: Failed to initialize the
    ORB [Root exception is org.omg.CORBA.INITIALIZE: can't instantiate default ORB i
    mplementation com.ibm.CORBA.iiop.ORB  vmcid: 0x0  minor code: 0  completed: No]
    javax.naming.NamingException: Failed to initialize the ORB [Root exception is or
    g.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.ibm.COR
    BA.iiop.ORB  vmcid: 0x0  minor code: 0  completed: No]
    at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:293)
    at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(Ws
    nInitCtxFactory.java:365)
    at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102)
    at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:40
    8)
    at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:131)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Listener.initializeListener(Listener.java:78)
    at Listener.<init>(Listener.java:31)
    at Listener.main(Listener.java:112)
    Caused by: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementatio
    n com.ibm.CORBA.iiop.ORB vmcid: 0x0 minor code: 0 completed: No
    at org.omg.CORBA.ORB.create_impl(ORB.java:297)
    at org.omg.CORBA.ORB.init(ORB.java:336)
    at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:77)
    at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:174)
    at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:98)
    at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:74)
    at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:386)
    at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:284)
    ... 8 more
    Caused by: java.lang.NoClassDefFoundError: com/ibm/jvm/ExtendedSystem
    at com.ibm.rmi.util.JDKBridge.setCodebaseProperties(JDKBridge.java:226)
    at com.ibm.rmi.util.JDKBridge.<clinit>(JDKBridge.java:205)
    at com.ibm.rmi.util.RepositoryId.<clinit>(RepositoryId.java:122)
    at com.ibm.rmi.iiop.CDROutputStream.<clinit>(CDROutputStream.java:1077)
    at com.ibm.rmi.corba.ORB.<init>(ORB.java:250)
    at com.ibm.rmi.iiop.ORB.<init>(ORB.java:166)
    at com.ibm.CORBA.iiop.ORB.<init>(ORB.java:521)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at org.omg.CORBA.ORB.create_impl(ORB.java:295)
    ... 15 more
    Done listening
    In my application classpath following jars are used : jms.jar,naming.jar,namingClient.jar,ibmorb.api,ibmorbapi.jar,jndi.jar
    I need to know the jar file name for this class : com/ibm/jvm/ExtendedSystem.And also tell me the solution to solve the above error.Anyone know the solution please reply as early as possible..Thanks in advance

    Have you checked if any of the jar files in your class path contains the missing class ?

  • Need to find the SID of a forms session.

    Hi,
    I need to find the SID of a form session. How to find the same.
    Eg:- If a user connected to our EBS system, Then automatically one sid will be generated to that user. I need to find the SID for this user. If given detailed steps it would be great help.
    Regards
    SR.

    Hello,
    Although I am a bit unclear about the question. But please see if the following helps;
    I can query the v$session to know about the SID. Here is a simple example;
    select  sid,
    substr(username,1,15) "DB UserName",
    substr(osuser,1,15) "OS UserName",
    substr(command,1,3) CMD,
    substr(machine,1,10) Machine,
    terminal, process, status,
    substr(program,1,50) "OS Program Name"
    from v$session
    where type = 'USER'
    order by usernameHere is a sample output;
                SID DB UserName     OS UserName     CMD MACHINE    TERMINAL         PROCESS      STATUS   OS Program Name
                  7                 SYSTEM          0   ORAAPPPROD ORAAPPPROD       976          ACTIVE   ORACLE.EXE
                  8                 SYSTEM          0   ORAAPPPROD ORAAPPPROD       3548         ACTIVE   ORACLE.EXE
    Additionally you can also review Oracle Metalink Script: How To Identify The apps User Using The O/S PID For Forms Users In 11i Doc ID: Note:185762.1.
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:38346007578631471::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,185762.1,1,1,1,helvetica
    Hope it helps. Maybe others might add in this.
    Adith

  • I need to know the multitude of reason why my iPhone 5s would prompt me for my Apple ID password. Please help.

    I need to know the multitude of reason why my iPhone 5s would prompt me for my Apple ID password.
    All I did was place my phone on the charger, I then walked away for 10-15mins and when I came back it was asking me to enter my Apple ID password.
    I never gave my password out to anyone ever and hardly anyone knows my email address.
    I haven't recently downloaded anything either and I only have one apple device which is my iPhone 5s.
    I just want to know really if it could have been because someone was trying to log into my Apple ID?
    Please help with multiple reasons why this could have happened. I just want to know the options. Thank you

    My iPhone 5s did the same thing yesterday. I have iCloud backup turned on in Settings > iCloud > Storage & Backup and that means it will automatically do a backup when the phone is plugged in, locked and connected to wi-fi. I had it charging and when I returned it was asking for the password and the prompt did identify that it was requesting it for the iCloud backup (something you may not have noticed if you didn't look closely).
    It has never done that before and 2 iPads in my household have not yet done it. All are on iOS 7.1
    I have found a report of the same issue by a user of the 7.1 beta and in that case it was happening every day. In my case I entered the password then went to the same area in Settings as above and used the "Backup Now" button to do a backup. I will see tonight when I charge again whether this is going to be an every day problem.

  • I need to know the location where iTunes downloads software to, it is filling up my hard drive.

    I need to know the location where iTunes downloads software to, it is filling up my hard drive.
    I am trying to put my iPhone4 into recovery and then will restore it. iTunes starts extracting the software.  But the iPhone reboots and by the time the software has completed extraction, the iPhone can no longer be seen by iTunes. 
    We have a very small hard drive on our laptop.  Each time iTunes does an extraction, it uses up more space on the C: drive. 
    Nothing frees up that used drive space. Not closing iTunes or rebooting the computer. Nothing. 
    How do we release / delete these files?

    See Re: when itunes downloads ipsw where does it go.
    tt2

  • My MacBook was stolen and I need to know the MAC address

    An emergency question to Apple support. My MacBook was stolen and I need to know the MAC address of its network card. I have a receipt with the serial number of my MacBook. Can you assist?
    My serial: W8***66D
    Thank you
    p.s Any ideas how I can find it?

    Report the theft to your local authorities.
    Apple has no means of tracking thefts, as thieves themselves may claim the machine is theres just by looking up the information on the computer, and unless you registered the machine, it is really their word against yours, unless you also have receipt or other information that they can track to your receipt against your serial number.
    Your homeowners insurance may be able to recoup the cost.
    In the future, consider getting Lapcop, or Lojack for notebooks.
    Good luck!

  • I need to align the margins of my forms with those of my website, I have looked at all the options and unfortunately I am unable to do it with access to the Adobe.form.min.CSS file which I can't access as a consumer, how else can I fix my problem

    I need to align the margins of my forms with those of my website, I have looked at all the options and unfortunately I am unable to do it with access to the Adobe.form.min.CSS file which I can't access as a consumer, how else can I fix my problem

    I need to align the margins of my forms with those of my website, I have looked at all the options and unfortunately I am unable to do it with access to the Adobe.form.min.CSS file which I can't access as a consumer, how else can I fix my problem

  • Im about to make a trip to the USA and i need to know the price of an iphone 4s 64GB unlokced please in order to carrie the amount of dollars

    Im about to make a trip to the USA and i need to know the price of an iphone 64GB unlokced please in order to carrie the amount of dollars

    "Same as what? "  US of course.
    So the price of an iPhone in the U.S. is the same as the price of an iPhone in the U.S. ?
    Okay.
    tymcziszyn asked how much an iPhone in the U.S. would cost. Nothing was mentioned about comparing the cost (which you seemed to be attempting to do but your post was a bit short.).
    You really meant that the price of an iPhone purchased in the U.S and then paying import duties and VAT when taking it home would (likely be close to the) same price as if purchased in his home country.
    and what if his home country does not sell the iPhone?
    I understood what you meant but OP may not be native english speaker (though he seems to do well here) so making sure they get the entire message clearly may help.

  • Hello, I have an Ipad 2 and the screen has broked. I need to know the price in US to change it.

    Hello, I have an Ipad 2 and the screen has broked. I need to know the price in US to change it.

    Apple does not repair iPads, but will replace the entire iPad for a flat fee. If you have AppleCare+ on the iPad, the cost will be relatively minimal; $49 in the US. Otherwise, select the appropriate issue on this page:
    http://www.apple.com/support/ipad/repair/
    and look at the Out Of Warranty Cost section.
    There are independent iPad repair services that may be able to replace the screen for less. Do a web search for "ipad repair".  You can also look for parts and instructions and do the repair yourself. Note, though, that if you elect to have the iPad serviced by an unauthorized shop or perform your own repair, you will get no further support from Apple.
    Regards.

  • I need to know the IMEI of the phone

    hi there,
    to release my phone with a company in Spain need to know the IMEI of the phone you buy as this that I have was repaired.
    if anyone can help me to know how to get it would be very grateful.
    a greeting.
    david

    thank you! but i need the imei of my first iPhone. I have now a repaired phone and i need the imei of my first phone

  • I need to know the reason Why Macbook Pro Mid 2012 have yellow tint screen?

    I am confusing about the reason Why Macbook Pro screen have yellow tint color?
    There are few reason that I got from some apple shop saleman(In Thai) and someone in discussion experience.
    First (1), The reason is IPS or PSL Technology made the screen to be yellow tint color.
    Second (2), Someone told me, It is depend on production lot some lot don't have yellow tint screen but, some lot have yellow tint screen.
    Third (3), Someone told me, It is normally case of Macbook Pro Mid 2012. Yellow tint screen will be recovering when using it long time.
    (In the third, I'm not believe. Because, My iPhone 4s got a Yellow tint screen too. And, I used it for 7 months. The screen was the same at 7 month ago)
    I need to know that what is true and what is false.
    I just confuse Plz answer to me.
    And, ...
    Now, I am deciding to buy Macbook Pro Mid 2012 13 ".  I need to know the surely reason. Why Macbook Pro have a Yellow tint Screen?
    If it is not normal case when I found a Yellow Tint Screen. I will reject that machine.
    so that, I used the knowledgeto select the best Macbook Pro for me.
    Plz answer to me, Plz Help me ^^
    Thank you

    Hi, carl wolf
    Thank you for your answer.
    You mean the below reason is hoax or incorrect or fake right?
    First (1), The reason is IPS or PSL Technology made the screen to be yellow tint color.
    Second (2), Someone told me, It is depend on production lot some lot don't have yellow tint screen but, some lot have yellow tint screen.
    Third (3), Someone told me, It is normally case of Macbook Pro Mid 2012. Yellow tint screen will be recovering when using it long time.
    Sorry for more question. I fear saleman lie me when I go to buy.
    Thank you very much. ^^

Maybe you are looking for

  • Bridge CC constantly re-caching some folders (again).

    My new Bridge CC on Win 7 is repeatedly re-caching thumbnails on some folders. Not all folders, just some, and that is my mystery. I have been doing extensive tests and yet can't determine what it is about some folders or their contents that cause a

  • Where can I find out how to use the Journals feature in iPhoto for iPhone

    I am new to Apple Support Communities. Not sure if this is the place that will help me work with Journals. Is there a manual or video which helps with teaching the features of the Journals application and how to use them? I am stuck knowing how to mo

  • N8 RCA output, No Video!

    Hi! I wanted to see some videos on my TV, so I tried to use a 3.5mm Jack - RCA cable I had at home. I set the TV out option as default, left the default TV settings (Normal size, PAL code, and Unactive filter) and plugged the cable. On a CRT TV I see

  • IPhoto Album to iDVD

    I used iDVD to burn a slideshow. I used an album from iPhoto. The photos looked good when I previewed the slideshow. But when I viewed the burned DVD the slideshow photos were blurry and hazy. Please suggest a solution. Do I have to change the resolu

  • Moving the left most clips displaces the timeline panel

    I couldn't find this issue on the forums, but I might not be using the right term. When I trim (dragging the left border to the right) the first clip in the timeline the workspace also gets trimmed. If I do this too often I end up with this useless "