Get_application_property(current_form) returns the name with .fmx extension

Hi
We are using Forms 10g. [Forms [32 Bit] Version 10.1.2.0.2 (Production)]
When i use get_application_property(current_form) to get the current forms to get the name of the file. It works perfect.
Ex: When i use this in a form "Employee_master", it returns EMPLOYEE_MASTER. (i.e. with the extention .fmx)
In the same form, if i have a button, which opens another form "Department_master" using the code
open_form('department_master', activate, session, no_share_library_data, pl_id);
once the department_master form is opened and if i use get_application_property(current_form), then it returns department_master.fmx
Why is this difference?
Thanks in advance.

Look at the file name stored on your operating system. the first file form is probably stored on your hard drive as EMPLOYEE_MASTER.fmb and EMPLOYEE_MASTER.fmx. The other form is probably stored as department_master.fmb and department_master.fmx.
The get_application_property(current_form) is returning the form name in what ever case the file is stored on your hard drive as.
Hope this helps,
Travis

Similar Messages

  • Can we get the name of fmx file at runtime

    Hi all,
    can we get the name of fmx file which is doing some DML operation on a specific table Can we back track which fmx module has done DML on a specific table. The reason I need this because I've 7 different fmx files which are doing some DML operation on a specific table and these fmx files were used by different users. Not necessarily 1:1 For eg. one user can do DML through 3 different fmx files. So in such case if I want to want to know from which fmx file this DML has take place .How can I achieve that. I know I can get the oracle username through v$session but it will not suffice my needs. I need the name of fmx file also.
    I'm using:
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Database 10g Release 10.2.0.1.0 - Production
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Any help?
    Warm Regards
    Percy

    Percy,
    For that you can set the Module Field in the V$session in each form by,
    DBMS_APPLICATION_INFO.SET_MODULE(MODULE_NAME => :SYSTEM.CURRENT_FORM, ACTION_NAME => USER);Write this in each form, and then you will get the form name in the V$SESSION's module field with form name.
    Hope this helps.
    Regards,
    Manu.

  • How to return the name (or ID) of the Task FLow in Script

    Sitaution; two task flows created which can be accessed via Tools > TaskFlows within FDQM
    Task Flow "1.1 Multi Load - Import" --> Should run Batch Process Up to Import (enmBatchProcessLevel: 2)
    Task Flow "2.1 Multi Load - Import Up To Validate" --> Should run Batch Process Up to Validate (enmBatchProcessLevel: 4)
    I have developed one generic script which I would like to use for each task flow.
    Only the enmBatchProcessLevel differs between the task flows and therefore I would like to parse this enmBatchProcessLevel as a parameter my generic script.
    To be able to do this, the script needs to know on which task flow a user has clicked. So, I am looking for a function or statement which returns the name (or ID) of the task flow. Based on this name (or ID) a conditional statement can be performed in which a variable is dynamically filled. This variable can then be parsed as a parameter to my generic script.
    For instance:
    Sub GenericRoutine
         Dim strTaskFlow
         Dim intBatchProcessLevel
         '--Get the Task Flow Name
         strTaskFlow = ......<How to return the TaskFlow name or ID?>
         '--Validate the task flow and fill variable intBatchProcessLevel dynamically
         Select Case strTaskFlow
              Case "1.1 Multi Load - Import"
                   intBatchProcessLevel = 2
              Case "2.1 Multi Load - Import Up To Validate"
                   intBatchProcessLevel = 4
         End Select
         '--Execute generic script
         '--Call Batch script and parse intBatchProcessLevel as a parameter:
         Call sBatchProcess(intBatchProcessLevel)
         '--Execute generic script
    End Sub
    Sub sBatchProcess(Byval intBatchProcessLevel)
         Dim lngProcessLevel
         Dim strDelimiter
         Dim blnAutoMapCorrect
         '--Use intBatchProcessLevel to fill lngProcessLevel
         lngProcessLevel = intBatchProcessLevel
         strDelimiter = "_"
         blnAutoMapCorrect = 0
         Set BATCHENG.PcolFiles = BATCHENG.fFileCollectionCreate(CStr(strDelimiter))
         BATCHENG.mFileCollectionProcess BATCHENG.PcolFiles, CLng(lngProcessLevel), , CBool(blnAutoMapCorrect)
    End Sub
    Edited by: user13642656 on Jul 21, 2011 4:55 AM

    Hi, thanks for your reply.
    The Generic script contains 600+ records, which I would like to maintain once, when having multiple Task Flows for Import, UpToValidate, ValidateOnly, UpToExport, ExportOnly etc.
    Is there a central storage in FDQM workbench for script, like a "Module" in Excel VisualBasic environment? Thanks!

  • Can I return the name of an object the mouse is touching on a click event?

    Is it possible to do something similar to this pseudo code?
    var oMouseListener:Object = new Object();
    oMouseListener.onMouseUp = function() {
         if (Mouse.clickTarget is a MovieClip) {
              return the name of the MovieClip;
    Mouse.addListener(oMouseListener);

    i think you'll need to loop through all the on-stage movieclips:
    var oMouseListener:Object = new Object();
    oMouseListener.onMouseUp = function() {
      checkForHitF(_level0);   
    Mouse.addListener(oMouseListener);
    function checkForHit(mc:MovieClip){
    if(mc.hitTest(_xmouse,_ymouse)){
    //do something
    for(var s:String in mc){
    if(typeof(mc[s])=="movieclip" && mc[s]._parent==mc){
    checkForHit(mc[s]);

  • Hello, I have deleted my hotmail account and it deleted all the names with my contacts. Is there anyway this can be fixed?

    Hello, I have deleted my hotmail account and it deleted all the names with my contacts. Is there anyway this can be fixed?

    Yeah, add the Hotmail mail account back to the device.  It sounds like your missing contacts were synced to your Hotmail account.

  • How do I get the List REST method to return the results with the display name and not the internal name. I also need the hyperlink to the attached document.

    FileSystemObjectType: 0
    Id: 2
    ContentTypeId: "0x010100517BCCBD1C63034A8C1141184DAB12C5"
    Title: null
    OData__dlc_DocId: null
    OData__dlc_DocIdUrl: null
    zopv: "Paint Specification"
    s2ue: "J"
    We'd prefer to make a single call. It's too bad the REST Api doesn't return the data in the same format as the WCF service, which uses the Display Name and not Internal Name. It also includes the hyperlink to the document.

    Hi,
    You can get the display name of fields with typedisplayname property.For more information,you can refer to the article:
    http://msdn.microsoft.com/en-us/library/office/dn600182(v=office.15).aspx#bk_Field
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • MimeBodyPart.getFileName() returns file name with directory path.

    Hi
    The documentation says getFileName() returns filename ,not including directory components. But it is returning
    path like Eserv generic/mails/a.html. Can it return a full path in some mail servers?
    Please respond.
    Thanks

    The documentation says getFileName() returns filename ,not including directory components.I think you must be misinterpreting the documentation. Where did you read that?
    The getFileName method returns whatever the sender sent as a file name. The send should
    send only a simple file name, with no directory components, but they can send anything, and
    you should protect against abuse before using such a file name.

  • My iPhone is going to be remplaced because of a pixel fix. Do I have to return the box with all accessories or juste the iPhone itselves ?

    My iPhone is going to be remplaced by Apple soon, will I have to return the box and accesories includes with the iPhone or just the iPhone ? Moreover, will I have an all new iPhone in it package with all accesories ?
    Tks !

    That is how it is supposed to work. And how it was done
    when my 3G was exchanged. If they do give you more
    than just an iPhone, are you losing anything? If in doubt,
    ask Apple or the store that is replacing your iPhone.
    Thank you for the feedback.

  • I want to copy the name with email address from Mail like I could before Mavericks

    Hi There
    I have resisted upgrading to Mavericks for all this time because Mavericks now stops the name of the contact being copied when I copy the email address from the sender. What is now copied is: '[email protected]'
    What I want and what it used to be before Mavericks is: 'Dave Garnish <[email protected]>'
    I know it sounds petty but it has stopped me upgrading for all this time, but now I need 4k monitor support.
    Thanks in advance anyone who may have the answer to this.
    Best
    Dave

    The following Terminal command used to enable the use of the name along with the email address:
    defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool YES
    (Change YES to NO to undo the change.)
    I don't know if it still works.
    You can also affect this feature in the mail message via Mail, Preferences, Use Smart Addresses.  When unchecked the sender's address gets the name and angle bracket thing.
    charlie

  • How to Create a Class, do something, and return the name of the child class

    Hello Java Experts,
    I am relatively new to using java. Particularly when it comes to creating something on my own (ie without some of the good samples sun and o'reilly provide!).
    Here is what I am trying to learn how to do:
    I want a class, I am calling in Message. The Message
    class with have various message types. I know what I want to call these message types: one example is what I will call a "ZeroSpace" ("0 143321 4 070302") message, another type is BracketHex, and yet another is BracketNN ("[99]").
    I will test a string (which will be a message received via a serial port, java serial, etc). Then after testing the string (like "0 143321 4 070302"). I will look for the "0" and the space (chr(32)) and want to return ZeroSpace as the message type. Not a string "ZeroSpace". Something like an enumeration in C or Delphi Pascal (ordinal list??)
    the hierarchy is like this: class Message msg;
    msg zsp = new ZeroSpace();
    msg bhex = new BracketHex();
    etc. Depending on the message type I what to do different processing - something like class Shape, and Circle, Square, etc are shapes, but their areas are different, etc
    any tips will help!
    Thank you
    eric w. holzapfel

    one way is to make Message an abstract class, make it a factory, eg with public static Message Create( String str ) method. have it check the string in determining the subclass to instantiate and return. eg if begins with "0 ..", then return new ZeroSpace( str ), where ZeroSpace extends Message. similar for BracketHex and BracketNN.

  • Nokia stealing in the name of waranty extension

    Dear all,<br>On the 25 of may 2014 I extended my phones Lumia 520 warranty by visiting Akshay Nokia Care Centre, fc road ,puna, bharat. But to my suprise after few days my phone started showing out of waranty status , also if I visit nokia care it shows out of warranty. They charged me for waranty extension but it did not changed anything. Now if I want even minor servicing anywhere else in the country, they charge me. I want my money back as the waranty is not extended. Also I need compensation for the money I had to spend and troubles I gad to undergo due to this stealing and cheating by Nokia.

    U must b having sm proof of 'warranty extension'.. Show it to them.. If still any issue, then knock consumer court.. These big brands can't cheat consumers like this.. I m also facing issue with 'double tapp', bt Nokia care is unable to find, where d problem is.. Each time they just reinstall windows, which has never been d solution.. Now I m thinking 2 sell it..

  • Image file names with CR extension

    how do I open images with the extension CR? I have a pc

    CR2 files are Cannon's camera raw file format. They open in Adobe camera raw. The issue is you need a version of photoshop or lightroom that is newer than your camera.
    Adobe has a web page that lists what camera models will work with which software version.
    If your version of photoshop or lightroom is too old, Adobe has a free program that will convert the cr2 file into a dng file, that will load into your program.
    So to answer your question, you can open the file directly in photoshop using File>Open
    You can use bridge, select the file and choose ctrl-r to open ACR (Adobe Camera Raw)
    Use Bridge, double click the file to open in photoshop.
    In each case the CR2 file will open in camera raw first then into photoshop.

  • Iterate through List and return (the names) of all the classes

    Hi,
    I've got a List and want to see what kind of classes are in this List.
    List list = getList();
    Iterator it = list.iterator();
    while (it.hasNext()) {
         Object ob = it.next(); // get the next item. Is this the right approach for my problem?
            // Her I want to check the Object what classses it holds,
            // assuming that this is the right approach for my problem
    }Thanks
    Jonny

    Hi,
    that's what I did:
    List list = getList();
    Iterator it = list.iterator();
    while (it.hasNext()) {
         Object ob = it.next(); // get the next item. Is this the right approach for my problem?
             Class cLass = ob.getClass();
             System.out.println("\t" + cLass.getName());
    }This returned java.lang.Object as mentioned.
    Question:
    - Can an Object hold several types of classes? If so, how can I iterate them?
    Mabe this makes things a little clearer:
    Why am asking this? I'm returning a List from a (Hibernate)-query. I can access one Class without problems. Another class that should be returned, I can't access. Thats why I want to know what I'm dealing with.
    Thanks
    Jonny

  • Hi Experts, replace function module WS_QUERY to return the name of OS?

    Hi Experts,
    the function WS_QUERY can return your computer operating system, you can try it SE37(WS_QUERY), and only give value 'OS' to the QUERY parameter and execute the function, you can see it in RETURN parameter, but now this function is obsolete and I must replace it with another function or method, can anyone of you tell me which function can totally(the return value need to be the same, but any valuable feedback is also welcome) replace it? thanks in advance!
    Kind regards
    Dawson

    Hi Dawson,
    You can use the static method GET_PLATFORM of the class CL_GUI_FRONTEND_SERVICES.
    Regards,
    Jeevan

  • My phone does not show contact names for country and area code while having in coming calls. Although, I have endorsed the name with numbers. How do I the problem. My one is a iphone 3s device with updated os. Please text to help

    My iphone does not recognize saved contact number while having incoming calls due to country and area code as auto prefix. How do i fix the problem. How do i ensure that the phone recognize calls with and without the country and area code. Please text to help.

    1) Open the Phone and dial *228. This is a Verizon over-the-air programming number.
    2) When the system answer press 1 for "Program or activate your phone"
    3) Wait for the call to disconnect. You should get a prompt stating something like, "Settings updated."
    4) Open the Task Manager and kill the Phone, Message, and Contacts Applications
    5) Wait a few minutes (I waited 3 just to be extra safe)
    6) Open the Message App to verify the fix

Maybe you are looking for

  • No two finger swipe for navigating files in Lion?

    I use the track pad and just updated to Lion - which has some great features. But I while I can two finger swipe on Safari pages to go back and forth, I don't seem to be able to do that now when going through my files in Finder.... Am I missing somet

  • Optimize a PDF doc with form fields

    Hi All, I have completed a PDF with multiple form fields (about 70). It's only one 8.5 x 11 page. It is 2.2 mB large. I've tried different ways of Optimizer but it always removes the input field functionality. How can I decrease file size while maint

  • Can't click

    Good day! I have a problem regarding my fb, when I open my fb account, I can't click the HOME, MY PROFILE, MY STATUS, & can't add PHOTOS/VIDEOS and can't LOG OUT my account. It started last night until now. ''from your other thread - https://support.

  • Wireless Mighty Mouse Name Changes

    For the past 5 months, I've used the same wireless Mighty Mouse without issues. During that time it retained the name I gave it upon setting it up for the first time. Then this morning (3/15), I go on my Mac and see it is label as "[MyLastName]'s mou

  • Cataloging the datafiles in control file during cloning

    Hi, Iam trying to clone a database with around 160 datafiles, evethough there is no issue in cloning process, the catalogging of datafiles is taking very long time after the cloning is complete. some times its taking 24 hours and sometime sit complet