Using API Functions on Forms 6

Does anyone know how to change the mouse cursor to a handpoint?
I can't use set_application_property because
it only supports BUSY, CROSSHAIR, DEFAULT, HELP, and INSERTION.
I am trying to use win_api_session.change_cursor, but get an internal PL/SQL error when the trigger fires.
Help?
Marie

if you are using 6i, make sure you attached the d2kwutil.pll and also make sure the d2kwut60.dll is in the same directory of the d2kwutil.pll directory. Although, some developer say that this dll can put in the windows/system dir, but it seem not working for my case.
BTW, u can add an entry as D2KWUTIL_PATH to the registry to specify the location of the pll and dll.
good luck.

Similar Messages

  • Using WIN_API_ENVIRONMENT functions in forms 6i

    I converted my forms from Developper 2.1 to Developper 6i. I was able to read the registry variables using WIN_API_ENVIRONMENT functions to open the explorer or Acrobat reader. With Forms 6i, I am getting the following error : "Internal error : PL/SQL error occured".
    Any help is greatly appreciated.
    Thanks

    Hi,
    D2KWUTIL utility is available with Forms 5.0 also. The detailed information about all the functions are available in online help. There is a demo file also, which demonstartes all the D2KUTIL functions.
    You can also download the D2KWUTIL from the following FTP site,
    ftp://oracle-ftp.oracle.com/dev_tools/patchsets/dev2k/Win95NT/d2kwutil/
    Best Regards,
    [email protected]

  • How can I use MESSAGE function in forms 6i

    Hello
    I have an err_msg table that store collections of application message on utf8 database in one language not in english
    I have selected data from the err_msg table and put on variable .I want to display the message on the variable using MESSAGE function(MESSAGE(variable)).Unfortunately what i have seen on message dialog box is replaced characters like rectangles .
    What should I do please?

    Hi,
    We have the same problem in our project . In this case we are upgrading from an older version of forms (3.0) to 6i. The UE worked fine in the older version, but now we get a NON ORACLE ERROR. Our DLL is written in MS-VC++ project.
    We'd like to know whether , besides the common version and platform, you have also written the DLL using MS-VC++ ; otherwise please tell us .
    Regards,

  • Can't use Export Functionality from form?

    Hi experts,
    I got a problem now, can anyone help me??
    This's my system information:
    APPLICATION: 11.5.10.2
    DATABASE: 9.2.0.6.0
    And the problem is:
    - Open 1 Form
    - File > Export
    - The progress bar update to 100%
    - The browser is opened
    And it suddenly disappear.
    I've checked metalink and see this note: 423261.1 How to Troubleshoot Forms Hanging Using Export Functionality
    I think it's fail in phase 4:
    4) Finally generate the URL, and display the file in the browser window by calling the Forms built-in web.show_document
    But i don't know how to solve this problem. Can anyone show me?
    Thank you so much

    Hi everybody,
    I solved my problem. In my case, it's because tablespace CTXD was not have enough free extent. You can check this note
    Information You Should Upload When Creating an SR for File Export and Attachments      Doc ID:      Note:427964.1
    Hope that helps,

  • How to use COALESCE function in Forms 6i?

    Hi folks,
    Please help me out in using function COALESCE in the forms 6i (front-end code).
    My front-end application has got Oracle9i as back-end. At the database server side, in SQl * Plus, the function is executing perfectly but not in Forms6i.
    Please help me out with you suggestions.
    Your favour will be deeply appreciated.
    Cheers, PCZ.

    This is a PL/SQL equivalent to the COALESCE function:
    CREATE OR REPLACE function F_Coalesce
        PC$List  IN VARCHAR2,
        PC$Sep   IN VARCHAR2 DEFAULT ','
      ) Return Varchar2
    Is
    -- PL/SQL function that return the first non-null value
    -- (equivalent to COALESCE SQL function)
    LC$String VARCHAR2(32767) := PC$Sep || PC$List ;
    LI$i      PLS_INTEGER ;
    LI$i2     PLS_INTEGER ;
    LC$Value  VARCHAR2(4000) ;
    LN$Pos    PLS_INTEGER := 1 ;
    BEGIN
    LI$i := INSTR( LC$String, PC$Sep, 1, LN$Pos ) ;
    While LI$i > 0 Loop
        LI$i2 := INSTR( LC$String, PC$Sep, 1, LN$Pos + 1) ;
        IF LI$i2 = 0 Then LI$i2 := LENGTH( LC$String ) + 1 ; END IF ;
        LC$Value := SUBSTR( LC$String, LI$i+1, LI$i2 - LI$i-1 ) ;
         If LC$Value IS NOT NULL Then
             Return LC$Value ; -- return the first non-null value
         End if ;
         LN$Pos := LN$Pos + 1 ;
         LI$i := INSTR( LC$String, PC$Sep, 1, LN$Pos ) ;
    End loop ;
    Return Null ;
    End ;
    /And the test call:
    SQL> set serveroutput on
    SQL>
    SQL> Declare
      2    t varchar2(1) := null ;
      3    v1 varchar2(100) := t || ',' || t || ',A,' || t || ',B' ;
      4    v2 varchar2(100) := t || ',' || t ;
      5    v3 varchar2(100) := 'A,' || t ;   
      6    a varchar2(100) ;
      7  Begin
      8    a := F_coalesce(v1) ;
      9    dbms_output.put_line('result v1 =(' || a || ')');
    10    a := F_coalesce(v2) ; 
    11    dbms_output.put_line('result v2 =(' || a || ')');
    12    a := F_coalesce(v3) ; 
    13    dbms_output.put_line('result v3 =(' || a || ')');   
    14  End;
    15   
    16  /
    result v1 =(A)
    result v2 =()
    result v3 =(A)
    PL/SQL procedure successfully completed.Hope this helps you,
    Francois

  • Forms Personalization using DB function

    Hi,
    In Shipping transaction form If the shipping quantity is more than ATR quantity then I have to show a message box.
    I created a DB function using inv_quantity_tree_pub.query_quantities API to get ATR quantity. for this function item number and organization code is the two in parameters and it returns ATR quantity.
    I used this function in forms personalization.
    Trigger Event - WHEN-VALIDATE-RECORD
    Trigger Object - DVLB
    Condition - :DLVB.SHIPPED_QUANTITY<= ATR_QTY(:DLVB.ITEM_NAME,:DLVB.ORGANIZATION_CODE)
    Processing Mode - Both
    Level - Responsibility
    Message - Shipping quantity is more than ATR quantity.
    I created the above but it is not showing any message or error. I don't know what I missed.
    Thanks in advace for your help.

    922627 wrote:
    Hi,
    In Shipping transaction form If the shipping quantity is more than ATR quantity then I have to show a message box.
    I created a DB function using inv_quantity_tree_pub.query_quantities API to get ATR quantity. for this function item number and organization code is the two in parameters and it returns ATR quantity.
    I used this function in forms personalization.
    Trigger Event - WHEN-VALIDATE-RECORD
    Trigger Object - DVLB
    Condition - :DLVB.SHIPPED_QUANTITY<= ATR_QTY(:DLVB.ITEM_NAME,:DLVB.ORGANIZATION_CODE)
    Processing Mode - Both
    Level - Responsibility
    Message - Shipping quantity is more than ATR quantity.
    I created the above but it is not showing any message or error. I don't know what I missed.
    Thanks in advace for your help.Please see if these docs help.
    How To Use Custom PL/SQL API In Forms Personalization? [ID 456407.1]
    OM: Sample Codes For Form Personalization In Order Management [ID 1266606.1]
    Thanks,
    Hussein

  • Error while signing a document using API

    Hello. I'm using API functions to add a digital signature to a PDF document. While signing this document, I receive an error which looks like:
    com.adobe.livecycle.signatures.client.types.exceptions.PDFOperationException: ALC-DSS-303-001 Could not sign Signature Field MyField (in the operation : sign)
    Caused By: ALC-DSS-303-014 Subject name and the subject alt name missing. (in the operation : getSignerName)
    My source code is a straight copy/paste from the SDK Help. I can successfully add an unsigned signature field using API call, but I can't sign it. I can also sign my document manually from Adobe Acrobat Professional using the same certificate.
    I'm new in LiveCycle and digital signatures, so it might be some obvious reason that I just can't detect now.
    Could anyone help me, please?

    you can mail me directly to [email protected], and I'll try to help.
    no guarenty :-)
    Tal
    [email protected]

  • How to use d2kwutil for calling win-api programs in form 6i

    I WANT TO USE d2kwutil for calling win-api programs in form 6i.
    PLEASE GIVE ME IT'S SOLUTION.

    D2kwutil comes with a Demo Form WAPIDEMO - you can run this to see every function demonstrated. You can even run a function using the demo form and copy the syntax required directly into your own form -------------------------
    yes in have got that WAPIDEMO from web and run successfully but
    i can not do those codes in my owdn form.Because i do not get those apis like
    win_app_session in form 6i.
    Again i could not understand how that form runs without connecting to database.
    Please describe the solution.

  • How to use a function PIPELINED in Forms 10g?

    Hi guys,
    When I tried to use a function PIPELINED in Forms, I received the message:
    - PL/SQL function called from SQL must return value of legal SQL Type
    FOR rec_dev IN (SELECT *
    FROM TABLE(p1196.f_executa('01-aug-2010', -- pdDataInicial
    '30-aug-2010', -- pdDataFinal
    5, -- pnCodAdm
    NULL, -- pnCdsCod
    NULL, -- pnAdmsSrvCod
    NULL, -- pnAcao
    NULL)))
    LOOP
    vnQtdeEstornos := vnQtdeEstornos + rec_dev.qtde_estornos;
    vnVlrTotalCredito := vnVlrTotalCredito + rec_dev.valor_credito;
    END LOOP;
    Can anyone help me?
    Cris

    You can't. One option would be to wrap your pipelined function in a view, or you could write a stored procedure which returns a strong ref cursor instead.
    cheers

  • How to get the identity claim encoding types of windows and forms authentication providers using API?

    Hi,
    We have to get all the claims providers associated with a web application and its identity claim encoding type using API.
    For example:
    If the identity claim of windows authentication is user name and the user name is a string, then we should get
    "i:0#.w".
    If the identity claim of forms authentication is
    email and the provider name is "fba" , then we should get "i:0!.f|fba|".
    The below link shows us to get all claims providers associated with a web application, but how do we get the identity claim encoding type of each provider?
    http://msdn.microsoft.com/en-us/library/gg650432(v=office.14).aspx#SP_WCP_Tip3
    using (SPSite theSite = new SPSite("http://someContosoUrl"))
    // Get the web application.
        SPWebApplication wa = theSite.WebApplication;
        // Get the zone for the site.
        SPUrlZone theZone = theSite.Zone;
        // Get the settings that are associated with the zone.
        SPIisSettings theSettings = wa.GetIisSettingsWithFallback(theZone);
        // Get the list of authentication providers that are associated with the zone.
        foreach (SPAuthenticationProvider prov in
            theSettings.ClaimsAuthenticationProviders)
        {   // Need to get the identity claims encoding type using the SPAuthenticationProvider
    Is windows authentication's identity claim encoding type always i.0#.w or the identity claim is always the user name?
    Thanks & Regards,
    Kalai.

    If the requirement is to be able to convert claim identities to windows identities that can be used with other LOB/legacy application that still relies on NTLM/Windows Auth, then I would recommend to explore C2WTS.
    Here are some references:
    http://msdn.microsoft.com/en-us/library/office/ee539739(v=office.14).aspx
    http://blah.winsmarts.com/2013-11-Use_C2WTS_to_get_a_classic_windows_identity_from_a_claims_identity.aspx
    http://henrymcclain.blogspot.in/2013/05/claims-to-windows-token-service-c2wts.html
    http://blogs.msdn.com/b/rodneyviana/archive/2011/02/20/claims-to-windows-token-service-c2wts-may-not-start-automatically-when-you-reboot-your-server-don-t-blame-sharepoint-for-that.aspx
    http://blogs.msdn.com/b/russmax/archive/2010/05/27/understanding-sharepoint-2010-claims-authentication.aspx
    Thanks!
    These postings are provided "AS IS" with no warranties, and confers no rights.

  • Using SYS_EXTRACT_UTC function in Oracle forms version 9

    Hi,
    I would like to use the function SYS_EXTRACT_UTC in forms but I get an error 201:
    identifier 'SYS_EXTRACT_UTC' must be declared.
    How can I use this function? do I need any library or something?
    Thanks

    You can try creating a wrapper database procedure for this and call the procedure
    from forms. It should work
    Rajesh

  • Api Function to list port in use

    Hi!I'm looking for an Api Function to list a ports in use in a Essbase Serve.

    Although there is currently no Api function to check the ports in use, if you are using Essbase 6.5 there are a couple other methods that could be used. (Might work in 6.2 but I didn't check).Check out the following functions in Maxl:- display system- display session all "Display system" displays how many ports are available - if you know how many you have then you know how many are in use. "Display session all" displays the users and their tcpip address - allowing you to determine the number of ports in by counting the number of unique user id + tcpip addresses. A worse case scenario to capture this information would be a program that runs the Maxl script to output a file that is then parsed.Hope this helps,- Jay---------------------------Jay NishSenior Business Intelligence ConsultantClarity SystemsEmail: [email protected]: www.claritysystems.com

  • Update number of hrs in OTL TimeKeeper Entry Form not working using API

    Hi,
    Say for example Employee working hrs are 8/day, I have entered manually in Timekeeper's entry form as follows and submitted and changed status to "approved"
    16-aug-2010 17-aug-2010 18-aug-2010 19-aug-2010 20-aug-2010 21-aug-2010 22-aug-2010
    8 8 8 3 8
    so i need to update 19-aug-2010 to 8 using an API, i tried using API but it's not updating can you guys please let me know.
    Regards,
    Sri

    Follow the OTL api guide and check your code. If your code is proper, timecard should get updated properly.
    --Shiv                                                                                                                                                                                                                                           

  • How to use PSA api functions RSAR_ODS_API_GET

    Hi everybody
    I need to call function module RSAR_ODS_API_GET. It recive an internal table with request ids and should return in E_T_DATA "unstructured" data from the psa and in E_T_RSFIELDTXT the description of the data structure, I guess
    from sap help only thing I have reggarding how to use the function module is :
    "You can call up the function module RSAR_ODS_API_GET with the list of request IDs given by the function module RSSM_API_REQUEST_GET. The function module RSAR_ODS_API_GET no longer recognizes InfoSources on the interface, rather it recognizes the request IDs instead. With the parameter I_T_SELECTIONS, you can restrict reading data records in the PSA table with reference to the fields of the transfer structure. In your program, the selections are filled and transferred to the parameter I_T_SELECTIONS.
    The import parameter causes the function module to output the data records in the parameter E_T_DATA. Data output is unstructured, since the function module RSAR_ODS_API_GET works generically, and therefore does not recognize the specific structure of the PSA. You can find information on the field in the PSA table using the parameter E_T_RSFIELDTXT."
    unfortunately I when running de report bellow, I get a dump which says:
    Function parameter "E_DATA" is unknown
    in the definition of the interface E_DATA has no type, which means it can recive any table type, right?
    So I have two questions?
    1) How to get the code working
    2) How do I use the parameter E_T_RSFIELDTXT to parse the data returned in E_DATA
    I tried test the function with tc se37 but I get a short dump as well (diferent message although).
    by debuging RSSM_API_REQUEST_GET for this code I found it try to put an internal table with the struct of the database table /BIC/B0000151000 in E_DATA
    Thanks a lot for any help
    rgds
    my test report is:
    REPORT ZTEST_PSA_API.
    TABLES: /BIC/B0000151000 .
    TYPE-POOLS: RSSM.
    TYPES: BEGIN OF STC_REQ_LINE,
    sign(1),
    option(2),
    low TYPE rsa_request,
    high TYPE rsa_request,
    END OF STC_REQ_LINE,
    IT_REQUEST TYPE STC_REQ_LINE OCCURS 0.
    DATA: lit_request TYPE RSSM_T_API_REQUEST_GET WITH HEADER LINE,
    lc_system TYPE RSSM_T_API_LOGSYS,
    lit_request1 TYPE IT_REQUEST WITH HEADER LINE.
    DATA: lc_dtarget_name TYPE RSA_ODSNAME,
    lit_meta_data TYPE RSARC_T_RSFIELDTXT.
    DATA: lt_psa_data LIKE /BIC/B0000151000 OCCURS 0.
    CALL FUNCTION 'RSSM_API_REQUEST_GET'
    EXPORTING
    I_SOURCE = '2LIS_13_VDITM'
    I_TYP = 'D'
    I_DATEFROM = '20060627'
    IMPORTING
    E_T_REQUEST = lit_request[]
    E_T_LOGSYS = lc_system
    EXCEPTIONS = 1.
    READ TABLE lit_request.
    lit_request1-sign = 'I'.
    lit_request1-option = 'EQ'.
    lit_request1-low = lit_request-request .
    APPEND lit_request1 .
    break-point .
    CALL FUNCTION 'RSAR_ODS_API_GET'
    EXPORTING
    I_T_REQUEST = lit_request1[]
    IMPORTING
    E_ODSNAME = lc_dtarget_name
    E_T_RSFIELDTXT = lit_meta_data
    TABLES
    E_DATA = lt_psa_data
    EXCEPTIONS
    NO_DATA_FOUND = 1
    PARAMETER_FAILURE = 2
    REQUEST_NOT_AVAILABLE = 3
    NO_REQUEST_FOUND = 4
    NO_FIELDS_TO_ODS = 5
    NO_ODS_FOUND = 6
    PACKAGE_LOCKED_BY_LOADING = 7 .

    I found this at the file */rss/rss_detailed_view.jsp*
    Version version = (Version)request.getAttribute("version");
         if(version != null){
              INodeManager nodeMgr = ContentManagerFactory.getNodeManager();
              Node node = nodeMgr.getNodeByUUID(new ContentContext(), version.getNodeId());
    I think this is what you are looking for

  • To format an Excel worksheet invoked by oracle form using DDE functions

    I'm exporting data from oracle form6 into excel sheet using DDE functions.
    Is there any DDE functions to format the excel sheet.

    Maybe you can use format commands through DDE (if the DDE server suports them) but I personally don't know.
    My approach is to record an excel macro which formats your sheet and then invoke the macro through DDE. You can fill cells with control numbers (like number of rows, number of cells) so you can make your macro even smarter by reading these numbers.

Maybe you are looking for

  • Where is the cron for root and how to edit at start-up?

    I was using Cronnix (as I am not very familiar with cron, unix etc). to create a root system task to reboot my server every night. As I hit safe I noted I made a mistake and have it run every minute. so I do to get in any more. So there are two solut

  • ITunes closing randomly

    First off - I had the "iTunes won't open" problem and solved it easily by disabiling all non-Microsoft services and startup programs. It worked just fine for me and prefer it - I don't need random programs to open when I startup, because it only take

  • First time using RAW pics

    I'm going to shoot RAW today for the first time. Any feedback, thoughts, or anything I should consider in this? Will Aperture convert the pics over to jpeg if I have a need to do so in order to save space or send to others? Thanks, Robert

  • ALV Tree Hierarchy using OOPS

    Hi all, I have developed a program for ALV Tree Hierarchy using OOPs.I followed the SAP demo program.I am not able to get the values in the output.Please can anyone guide me where to correct my program. I am placing the entire code so that you all ca

  • Network diagram

    Hello, I'm planning to setup a network with xserve and mac os x server when leopard is released for my company. I have been reading a lot about what I need for my requirements. I just wanted to verify my solution with you guys. What I need: Registere