Forms with COM dll

Hello!
Our program developed by Forms 6i.
Can we call to COM dll and how can we do it if possible?
Thanks!

if you're on client-server there are two possibilities:
Use ORA_FFI to map the C-calls from the dll to pl/sql-calls or (if supported by COM.dll) use OLE to communicate with the COM.dll over OLE.
Be aware that migrating your application to 10g (which you will need to do at some time) the ORA_FFI-solution will be harder to migrate.
For details on ORA_FFI have a lok at the Forms 6i-online help, there should be examples in it.

Similar Messages

  • How do communicate with COM DLL(microsoft COM object written in VC++)

    How do i communicate with a COM DLL(written in VC++ or VB) with a java program. The COM object has a method called dispPrint(String arg).

    Or if you are like me, use a product like Jawin which simplifies things like this (no need to a intermediate dll).
    http://staff.develop.com/halloway/code/jawin.html

  • PDF form with XML data connection comes up blank at run time

    Hello All,
    I am a newbie to ADOBE Livecycle 9, but am very proficient in C#.  I would like to request for your guidance on the following issue.
    We have a desktop application in C#, WPF, Sqlserver. The requirement is to launch a Livecycle form from the application for the user to read/edit/save data
    I have done this much so far -
    Downloaded trial version of Livecycle 9
    Developed a interactive PDf form
    Created an XML based data connection. Generated fields on the form using the fields from this connection.
    Set the .XML file as preview source for the form
    the controls on the form are boumd to the xml data source
    In design mode, the form works fine, it displays my data correctly
    I have created a WPF form with a button. On click of this button, I call the Process.Start(pdf-file-path). My pdf is launched properly
    I have added a combo box to my WPF form. I select a parameter from this, then call a stored procedure which returns me a datatable depending on parameter passed
    Using the returned datatable, I have used the datatable.writexml and datatable.writexmlschema to create my XML and XSD files. as mentioned above, this xsd is used to create the data connection for the PDF and the XML for the preview source
    This is what I want to do -
    Launch the PDF from my WPF form, pre-populated with the newly created XML data from my WPF form.
    So basically, as the user changes the selection criteria from the combo box, the XML file data will change and the PDF file will be launched each time with new data.
    The XSD format will always be constant
    Problem -
    My XML and XSD get created properly, my PDF launches, but it is empty
    If I change my selection criteria and run the WPF application, and then open the PDF in design mode, it asks me whether it should refresh the XML source. This means that the PDF form is connecting correctly to the XML source
    So why then, does the form come up empty at run time?
    What link am I missing?
    I have found some sites that help using Web applications, but nothing for desktop applications. It would be fantastic if you could point me to some help for developing Livecycle forms with C# / SQLServer
    Your help in this case will be highly appreciated.
    Thanks and Regards

    Oops, something happended with the above post. I will try again... I have tried your suggestion but I still get the same garbled XML (with data repeated and some values "cut in half".<br /><br />Here is what I get after decode-service and extract-to-XML-service. This is just the first barcode, the others are similar, sorry for the poor formatting, but I get a CDATA tage infront of the "istensen" value.<br />                                                              <br />CDATA:istensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />>Superroad 99, 1330 Supertown</fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br />>/sub_Adresse<br />><sub_Person<br />><fld_ForMellemEfterNavn>Kim Christensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />> Superroad 99, 1330 Supertown </fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br /><br />Obviously this is not a legal xml-string, so I can do nothing about it.<br /><br />I have tried using a custom .NET component (ClearImage) for reading the same form (with the barcode) I get the correct data out from the barcodes. So I guess something is wrong with the decode-service in Barcoded Forms ES when I use compressed XML. But I can conclude since the ClearImage component can read the barcodes that they are compressed correctly.<br /><br />Can you help me with getting further with this problem?<br /><br />Sincerely<br />Kim

  • CR XI R1: viewer can't open report with UFL from COM dll

    Hello all!
    I faced the following problem: report which is uses functions from COM dll doesn't works on customer's pc. CRViewer throws exception when calling ViewReport() method. GetLastError() gives just 0 ...
    All other reports without functions from COM DLL are working on that PC however. Moreover, reports which uses function from non-COM DLL are also working.
    Versions & environment:
    - Report file is designed in CR11, CR Developer; Product type: Full, Product Version: 11.0.0.895
    - Runtime files on customers pc installed by .msi created from merge modules for Crystal Reports XI RDC Deployments (latest available SP4 for CR XI R1: [crxi_rdc_merge_modules.zip|http://resources.businessobjects.com/support/communityCS/FilesAndUpdates/crXI_rdc_merge_modules.zip], as listed on [this|http://resources.businessobjects.com/support/additional_downloads/runtime.asp] page)
    - target OS: WindowsXP SP3, all updates are installed
    - i'm using COM crviewer, but there are some points in application where report is opened using CRPE api - it is also crashing on reports with custom functions from COM DLL
    - UFL DLL is registered and loaded correctly (investigated by debug output), looks like crash occured during attemt to call function
    - just for test I tried to install CR Developer on customers PC: it successfully opens all "problem" reports, but the viewer in application still crashing ...
    I would appreciate any tips / suggestions. Please also let me know if I need to specify versions of other products / components.
    Thx,
    Andrew

    Sorry, but you have to define "viewer just crashed". To different people this means different things; error, viewer never shows up, application terminates, etc., etc., etc....
    If the issue is only 10% of computers then it is not
    Re. "...could be caused by:"
    - previous installation of CR8.5 (or earlier) runtime (how to cleanup it correctly?)
    possibly - see below
    - OS configuration (what we need to ajust?)
    probably not - as long as it's the same OS and SPs
    - something missing in our code (but why it works in 90% cases?)
    -no
    - something wrong with CRXI runtime (but we a using latest available MSMs, and again, this works in 90% ...)
    possibly see below.
    I would approach the issue by running [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] and comparing the dlls loading on a computer that works and one that "crashes"...
    Your second utility is [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] but ProcMon creates large and difficult to read files.
    Oh, and get the powers that be to start to consider moving away from this legacy "stuff". Like I said, PE APIs have been gone since version 9 of CR and RDC has been retired in CR XI R2 (11.5). Neither product is supported anymore.
    - Ludek

  • JNI communication with MFC COM DLL issue

    Hello all,
    I have a MFC COM dll which exposes a method to be called from Java. For this I am using JNI.
    This method is written to set an integer value into a Microsoft Project Plan. There is some unknown error at the statement where the setting is done, causing the Java application to crash (JVM crash).
    What could be the reason?
    Regards,
    Hemanth

    if the JVM crashes, the problem is in the native code. "Something" in the DLL is causing an error. What that something is nobody can tell you.
    If you can, I would create a shadow setup in a C++ application that does exactly the same as the Java code and see if that works; if it does at least you know there is something wrong with the JNI setup. If it doesn't you can easily debug the problem.

  • Does Forms Central come with Acrobat XI Pro for Educators or must it be purchased separately?

    I keep getting conflicting messages.
    Does Forms Central come with Acrobat XI Pro for Educators or must it be purchased separately?

    FormsCentral is an online subscription service.
    It is not a built-in feature of Acrobat XI.
    With that said Acrobat XI Pro does have a built-in "link" to FormsCentral and this provides an Acrobat centric user interface.
    The actual "real deal" is online (the "web" / "cloud" - whatever).
    For that you'd visit:
    https://www.acrobat.com/en_us/products/formscentral.html 
    About the subscription:
    "The FormsCentral 30 Day Opt-Out trial gives you the option to try the Basic plan features for USD $0.99.
    Simply add to cart and enter a credit card to set up your account.
    After you place your order you will have 30 days to use FormsCentral.
    At the end of the 30 day trial period your card will automatically be charged the standard monthly subscription rate of $14.99 so that you can continue to create, distribute, and manage your online forms and surveys.
    Subscriptions cancelled within the first 30 days will be refunded in full.
    To change or cancel your subscriptions, visit the My Subscriptions page on Adobe.com."
    Be well...

  • PDFFILT.dll conflicts with AcroRdIF.dll?

    Note: the post which led up to this post is here: http://forums.adobe.com/thread/1037849. Anyone truly interested in the subject may want to read that post first!
    Both posts refer to the following installations on a computer:
    Windows XP Pro SP3 32-bit
    Adobe Reader 10.1.3
    Windows Search 4 (WS4)
    XP's Indexing Service
    Adobe's IFilter 6
    Outlook 2007.
    Background.
    1. Adobe Reader automatically instals AcroRdIF.dll, and associated .dlls, for use by WS4 in indexing content of text-based Adobe files (.acrobatsecuritysettings, .fdf. .pdf, pdfxml, .xdp, .xfdf). In the absence of it, or any other installation providing a filter recognised as equivalent to Adobe reader's, in WS4's File Types list against "pdf" "File Properties filter" or "Plain Text Filter" appears. With Adobe Reader installed, "PDF Filter" appears against the file types in question. The Adobe .dlls observed here running with AcroRdIF.dll under WS4's searchfilterhost.exe are:
    ACE.dll                         
    ACE.dll                         
    AcroRd32.dll                 
    AcroRdIF.dll                 
    AdobeXMP.dll               
    AGM.dll                        
    AGM.dll                        
    AXE8SharedExpat.dll     
    BIB.dll                           
    BIB.dll                           
    BIBUtils.dll                    
    CoolType.dll                  
    CoolType.dll                  
    JP2KLib.dll.
    I have left the several instances of some them as seen in Process Explorer.
    With no other Adobe filter installed, AcroRdIF.dll can also appear as running under Indexing Service's cidaemon.exe. However, it does no job there. Content of Adobe files is not indexed.
    2. Adobe's IFilter 6 enables the Indexing Service in XP Pro SP1 to index content of Adobe text-based files. With Adobe Reader (or Acrobat) not present on the system, but Adobe's IFilter 6 installed, these Adobe .dlls are observed running under Indexing Service's cidaemon.exe:
    atmlib.dll                                           
    ACE.dll      
    AGM.dll
    ARE.dll                                                          
    BIB.dll        
    BIBUtils.dll
    CoolType.dll             
    JP2KLib.dll
    PDFFILT.dll
    PDFL60.dll
    XMP.dll.
    Where some of these bear the same file name as some of the .dlls running under searchfilterhost.exe, in each case their version numbers are earlier.
    In addition, in WS4's File Types list, "PDF IFilter"* appears against "pdf" only. However, it fulfils no function with WS4. With only IFilter 6 installed, WS4 does not index content of Adobe text-based files. No instances of PDFFILT.dll or any other of the associated .dlls, bearing the earlier version numbers, have been seen as running under searchfilterhost.exe.
    * "PDF IFilter" as against Reader's "PDF Filter".
    3. I have marked the .dll file names common to both processes in red.
    4. When 2. applies, but 1. is then introduced, "PDF IFilter" disappears from WS4's File Types list, to be replaced by the configuration shown in 1. When 1. applies, but 2. is then introduced, AcroRdIF.dll (if formerly present; it does not always manifest) disappears from under the cidaemon.exe process, to be replaced by the configuration shown in 2.
    5. Whichever sequence in 3. has occurred, Outlook's having its connection with WS4 enabled is a constant. Thus if WS4 and Outlook are running, WS4's indexing and search functions also become Outlook's, for indexing and searching Outlook’s .ost and .pst files. (The Indexing Service cannot index content in .ost or .pst files and cannot be integrated with Outlook.)
    The issue.
    Once IFilter 6 has been installed, it damages Outlook. The damage remains even after IFilter 6 has been uninstalled. The damage can be fixed by running a repair on Outlook.
    Effects of the issue.
    With Adobe Reader installed and thus AcroRd32.dll and associated .dlls potentially working with WS4, WS4's indexing of and searching for content in Adobe files becomes erratic. Symptoms vary. In some cases, WS4 will not index the content of any Adobe file (in this case, the Adobe .dlls cannot be seen firing up in Process Explorer; they are not called when an Adobe file is reached). In other cases it will only search content in recently introduced Adobe files. Sometimes the filter works, for attachments in this instance, via WS4's GUI but finds nothing when the same search is carried out via Outlook's GUI. And so on. "Erratic" means what it says!
    Fix (of sorts).
    By trial and error, I isolated the fault to Outlook, as follows:
    A.
    IFilter 6 is uninstalled
    WS4 makes a fresh index
    WS4's searching of content in Adobe files remains erratic.
    B.
    IFilter 6 is uninstalled
    Outlook is repaired
    WS4 makes a fresh index
    WS4's searching for content in Adobe files works reliably.
    Questions.
    Does anyone know how to fix this? It seems to me that IFilter 6, which is designed for XP Pro SP1's Indexing Service, should make no contact with WS4 and thus with Outlook. But, clearly it does, damaging Outlook. Equally, Adobe Reader should make no impression on XP's native Indexing Service, but clearly it does, its main indexing .dll (AcroRdIF.dll) sometimes appearing under cidaemon.exe. Does the issue arise from both filters sharing a number of .dll file names?
    Would my installing IFilter 6 in a separate partition, and not in the regular Adobe folder in Programme Files, next to Reader, help?
    Any other suggestions, please?
    Related matter.
    Regarding the Registry, when IFilter 6 is uninstalled, these files are listed, by the installer, as not unregistered, as they are self-registering files:
    ARE.dll, MPS.dll, PDFL60.dll, BIB.dll, ACE.dll, AGM.dll, XMP.dll, CoolType.dll, JP2KLib.dll, BIBUtils.dll (ten in total) -
    that is, all of the eleven IFilter .dlls observed as running under cidaemon.exe except PDFFILT.dll and atmlib.dll and with the addition of BIBUtils.dll. I am not sure though that that has anything to do with the issue. PDFFILT.dll is listed in the registry under "DLLsToRegister", here:
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\ContentIndex
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\ContentIndex
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex.
    Again, I am not sure there's any problem there. However, my inexpertise in the Registry prevents me looking further. It strikes me that the fault lies in the presence of two Adobe programmes on the system, both possessing similar indexing and searching facilities.
    Views very welcome!!
    NB Anyone reading this may wonder why this man is running both SearchIndexer.exe (Windows Search 4) and cisvc.exe (Indexing Service) on the same system. The answer is that the clodhopping hybrid WS4 is only installed to index and search Outlook, which the Indexing Service cannot do. For other searching I find the native Indexing Service, and the Search Companion which works with it (if enabled so to do), much faster and more reliable facilities! I can switch either service on or off very quickly using the sc commands (http://technet.microsoft.com/en-us/library/bb490995.aspx). I should mention here that I have modified the "Search" shortcut in "Start" so that Search Companion fires up instead of WS4 by changing the value of ShowStartSearchBand under HKEY_CURRENT_USER\Software\Microsoft\Windows Desktop Search\DS from 1 to 0 (thanks to: http://johnsadventures.com/archives/2006/11/how_to_default_to_search_companion_with_window s_de/; Search Companion must be running for ShowStartSearchBand to appear). As this is, I think, only a user-accessed shortcut, then I am assuming the change won't have contributed to the current conflict.

    I can conclude this query briefly.
    After a number of tests, it is quite clear that both PDFFILT.dll and AcroRdIF.dll cannot run satisfactorily on the same XP Pro SP3 32-bit system. Whenever PDFFILT.dll runs, it progressivily destabilises the functioning of AcroRdIF.dll with Windows Search 4 (WS4).
    The hook-up between IFilter6 and XP's native Indexing Service is far more robust than the hook-up between Adobe Reader's filter and WS4. As the latter fragments, the the former keeps soldiering on.
    Even after uninstalling IFilter6, the Reader/WS4 combo does not recover. Repairing Outlook (see above) may help. But the only certain way to restore Reader and WS4 to good working order, with regard to indexing and searching the content of Adobe files such as .pdf, is, after having uninstalled IFilter6, to uninstal and re-instal both.
    Registry entries to observe are:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pdf\PersistentHandler]
    and
    [HKEY_CLASSES_ROOT\.pdf\PersistentHandler].
    If {F6594A6D-D57F-4EFD-B2C3-DCD9779E382E} is the value against both, that should indicate WS4 and Adobe are conjoined in unison.
    If {B7509D6F-85EE-11d0-AF7D-00C04FD8DC02}, then that indicates the same for Indexing Service and IFilter6.
    However, whilst when the latter is the case you can be reasonably sure all is well, the appearance of the other value does not guarantee happiness in the WS4/Adobe camp. Indeed, that situation may well be followed by the two keys disappearing altogether! Stability in the {F6594A6D-D57F-4EFD-B2C3-DCD9779E382E} zone can only occur after uninstallation of IFilter6, as already said above. If it's in situ and so much as hints at running, all is swept before it and its rugged patron, the Indexing Service.
    In the blogs and help files (including Adobe's) there is a confusion regarding nomenclature.
    Windows Search 4 is a programme added to an existing operating system. It was previously known as Windows Desktop Search. Its service name is: WSearch.
    Indexing Service or Content Index Service is built into Windows XP, and has been known as Windows Indexer and similar confusing names which include the word "Windows". Its service name is: ciscv.
    Note: this thread concerns itself only with XP Pro SP3 32-bit (extended support for which from Microsoft ends on Tuesday, 8th April 2014 - presumably the date of the last "second-Tuesday" update); search configurations in Vista and Windows 7 are different, as I understand it, and are at any rate ignored herewith.
    The two services (WSearch and ciscv) can run independently and carry out their functions separately, which includes of course each cataloguing the same sorts of different files - with the exception of Adobe files. The two services cannot both catalogue the insides of Adobe files. Either one does it, or the other.
    The programme Lookeen (paid) may be used apparently as an alternative to WS4 for the purposes of cataloguing emails in Outlook. It is a type of successor to Outlook's Lookout. Their forums/FAQs suggest they only use IFilter6, and have no access to, or use for, the filter in Adobe Reader/Acrobat. Also the filter Foxit (paid) may be more adaptable than the filter bundled with Reader or Acrobat. Both to be confirmed...
    Brevity is the soul of wit.

  • I have created a .pdf form with text boxes, but the recipients are unable to fill in their answers.

    How can I distribute a form with text boxes so that the recipients are able to type into the boxes?

    This forum is for the Adobe FormsCentral (formscentral.adobe.com) which is a service that allows you to create, collect and analyze data using an online web form. You should ask PDF related form questions in the Acrobat forums: http://forums.adobe.com/community/acrobat/forms
    I'll move your post to that forum so you don't need to retype it. They can help you out...
    Randy

  • Adobe Muse form with 3rd party host is not working

    I have uploaded a form with Adobe Muse to a 3rd party host.  Upon testing the link scripts/form_check.php, I see 3 green checkmarks.  Upon testing the form, the form appears to submit successfully, however I never receive the email.
    I checked with the hosting company and this is what they said:
    ...this form is using localhost smtp of webserver which was stopped due to spamming issues...actually, localhost doesn't have proper rDNS record and the return path for all mails is the server itself, so whenever a client uses its domain for spamming the server's mail queue gets choked and creates issues for others. So we generally do not open localhost smtp and recommend users to use proper SMTP Authentication so that each mail will be delivered and won't create issues for server even if someone does spamming because in that case all mails will bounce back to the mailbox.  So, we recommend you to use smtp authentication in the form and use proper smtp details to send mail.
    Please provide a recommendation on what I should do to resolve this?  Is there a way to modify the form so that it uses proper SMTP Authentication instead of Localhost?

    Hi
    Please refer to this document :
    https://forums.adobe.com/docs/DOC-3581
    Thanks,
    Sanjit

  • Image upload in  Form with Report

    Hello
    I have created a table FA_CUST_DTL
    Column Name     Data Type     Nullable      Default     Primary Key
    CUST_ID NUMBER      No          1
    CUST_NAME     VARCHAR2(1000) Yes          
    CUST_ADD     VARCHAR2(4000)     Yes          
    MOBILE     NUMBER(12,0)     Yes          
    PHONE     VARCHAR2(15)     Yes          
    EMAIL     VARCHAR2(100)     Yes          
    SIGNATURE_IMAGE     BLOB     Yes          
    MIMETYPE     VARCHAR2(200)     Yes          
    FILENAME     VARCHAR2(400)     Yes          
    IMAGE_LAST_UPDATE     DATE      Yes          
    Then i created a page Form With report with the trigger . After Browsing , images are not showing in my report.
    Can u tell me any idea abt it plz help me its urgent for me.
    Regards
    Geet

    If you need to control height and width of your uploaded images, then you must use the APEX_UTIL.GET_BLOB_FILE_SRC function. Please refer to this documentation:
    [http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_util.htm#AEAPI129]

  • How do I use infopath 2013 with visual studio 2013 to modify forms with code?

    Dear all,
    I am using sharepoint online and infopath 2013, I wonder how do I edit infopath 2013 forms with visual studio? When I try to edit form code it says  I need visual studio 2012 and some other tools, I installed them and visual studio 2013, I wonder how
    do I get rid of the message and start coding? Can someone provide a detailed procedure of doing so? I am having trouble with creating multiple items with single infopath form with repeating table on sharepoint online. Thanks.
    Timothy

    Hi,
    According to your post, my understanding is that you want to create InfoPath form with code using Visual Studio.
    More information about develop InfoPath form with Visual Studio:
    http://msdn.microsoft.com/en-us/library/office/ee526362(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/aa942693.aspx  
    For the second question, I suggest you can create another post , it will be easier for others to focus on one question in one thread.
    Best regards

  • I created a form with Single Choice fields, 4 days with times listed. But, I want the user to only be able to choose one time, and the time chosen to be unavailable for other users. How do I do this?

    I created a form with Single Choice fields, 4 days with times listed. But, I want the user to only be able to choose one time, and the time chosen to be unavailable for other users. How do I do this? I have 4 blocks of Single Choice fields in order for the summary page to give me each day in the final report. But, I need the user to be able to make a selection of any day and time and that apointment to no longer be available to future users when they log in. Plus, when the user clicks on the time, they are unable to change their mind and choose another time. Here's the link if you want to see what I'm talking about: 2015-2016 Workload Apportionment Review

    I'm afraid not.    It's not rocket science but you need to do some coding. 
    You'll need to find a script (php) and save it to your local site folder.  Then reference the script in your form's action attribute like so.
         <form action="path/form-to-email-script.php" >
    The input fields in your HTML form need to exactly match the script variables. 
    I'm  assuming you're hosted on a Linux server which uses PHP code.  Linux servers are also case sensitive, so upper case names are not the same as lower case names.  It's usually best to use all lower case names in your form and script to avoid confusion.
    Related Links:
    Formm@ailer PHP from DB Masters
    http://dbmasters.net/index.php?id=4
    Tectite
    http://www.tectite.com/formmailpage.php
    If this is all a bit beyond your skill set, look at:
    Wufoo.com (on-line form service)
    http://wufoo.com/
    Nancy O.

  • Rep-52005 error when running a report from form with parameter form

    I am trying to run a report from a web deployed form and this report has a parameter form. I am getting a Rep-52005: The specified key report does not exist in key map file.
    I am using Oracle Forms/Reports 10.1.2.0.2. My code is below. The first part works fine where I run a report with no parameter form, but the second part when I have a parameter form gets the about error.
    PROCEDURE call_report (
    p_report_name VARCHAR2,
    p_reportobj_name VARCHAR2 DEFAULT NULL,
    p_parameter_list paramlist DEFAULT NULL,
    p_parameter_string VARCHAR2 DEFAULT NULL
    IS
    repid report_object;
    v_rep VARCHAR2 (100);
    rep_status VARCHAR2 (100);
    v_report_url VARCHAR2 (240);
    v_interface VARCHAR2 (50);
    v_report_parameter VARCHAR2 (1);
    vc_user_name VARCHAR2 (100);
    vc_user_password VARCHAR2 (100);
    vc_user_connect VARCHAR2 (100);
    vc_connect VARCHAR2 (300);
    v_reportserv VARCHAR2 (30);
    v_job_number number;
    BEGIN
    /* Get the database to run the report against and
    find out if the report has any parameters */
    SELECT report_parameter_flag
    INTO v_report_parameter
    FROM program_list
    WHERE program_type = 'REPORTS'
    AND UPPER (screen_id) = UPPER (p_report_name);
    vc_user_name := get_application_property (username);
    vc_user_password := get_application_property (password);
    vc_user_connect := get_application_property (connect_string);
    v_reportserv := 'rep_xxxx_ias10g_home';
    v_report_url := 'http://xxxx.state.il.us';
    v_job_number := length(v_reportserv) +2;
    vc_connect :=
    vc_user_name
    || '/'
    || vc_user_password
    || '@'
    || vc_user_connect;
    v_interface := get_application_property (user_interface);
    IF ( v_interface = 'WEB'
    AND v_report_parameter = 'N'
    THEN
    repid := find_report_object(p_reportobj_name);
    set_report_object_property (repid, report_comm_mode, synchronous);
    set_report_object_property (repid, report_destype, cache);
    set_report_object_property (repid, report_desformat, 'pdf');
    -- v_reportserv := get_report_object_property (repid,report_server);
    set_report_object_property (repid, report_server, v_reportserv);
    set_report_object_property (repid, report_other, p_parameter_string);
    v_rep := run_report_object (repid);
    rep_status := report_object_status (v_rep);
    IF rep_status = 'FINISHED'
    THEN
    web.show_document (
    v_report_url
    || '/reports/rwservlet/getjobid='
    || substr(v_rep,v_job_number)
    || '?server='
    || v_reportserv
    ,'_blank'
    ELSE
    message ( rep_status
    || 'Report output aborted');
    END IF;
    ELSIF ( v_interface = 'WEB'
    AND v_report_parameter = 'Y'
    THEN
    repid := find_report_object (p_reportobj_name);
    set_report_object_property (repid, report_comm_mode, synchronous);
    set_report_object_property (repid, report_destype, cache);
    set_report_object_property (repid, report_desformat, 'pdf');
    set_report_object_property (repid, report_server, v_reportserv);
    set_report_object_property (
    repid,
    report_other,
    'paramform=yes P_USER_CONNECT='
    || vc_connect
    || ' P_SERVERNAME='
    || v_reportserv
    || ' P_ACTION='
    || v_report_url
    || '/reports/rwservlet'
    v_rep := run_report_object (repid);
    rep_status := report_object_status (v_rep);
    IF rep_status = 'FINISHED'
    THEN
    web.show_document (
    v_report_url
    || '/reports/rwservlet/getjobid='
    || substr(v_rep,v_job_number)
    || '?server='
    || v_reportserv
    ,'_blank'
    ELSE
    message ( rep_status
    || 'Report output aborted');
    END IF;
    ELSE
    run_product (
    reports,
    p_report_name,
    synchronous,
    runtime,
    filesystem,
    p_parameter_list,
    NULL
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    message (SQLERRM);
    END;
    My parameter form comes up and I enter the necessary information and hit submit query button. Then I get the Rep-52005: The specified key report does not exist in key map file.
    Any help will be greatly appreciated!!
    Shellie Bricker

    Your code seems to be implementing metalink note 139546.1 - Using Reports parameter forms with RUN_REPORT_OBJECT on the web.
    For what I can see, the P_ACTION parameter should end in ?...
    i.e.
    P_ACTION=http://<hostname.domain:port>/reports/rwservlet?'
    set_report_object_property (
    repid,
    report_other,
    'paramform=yes P_USER_CONNECT='
    || vc_connect
    || ' P_SERVERNAME='
    || v_reportserv
    || ' P_ACTION='
    || v_report_url
    || '/reports/rwservlet?'
    );If this does not fix your problem, then to troubleshoot further you would have to post the code in your Before Parameter Form trigger of your report.
    Hope this helps,
    UPDATE:
    If the above does not fix your problem, my guess is that report name is not being generated in the hidden runtime values build by the code in the Before Parameter Form trigger.
    i.e.
    http://localhost:8889/reports/rwservlet?report=&destype=cache&desformat=PDF
    The above code will throw error REP-52005: The specified key report does not exist in key map file.
    Edited by: Rodolfo Ferrari on Jul 8, 2009 9:43 PM

  • Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotfo

    Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotform.com, but this form doesn't search the site, instead it sends me an e-mail. Do you have a solution for me? Thanks.

    Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotform.com, but this form doesn't search the site, instead it sends me an e-mail. Do you have a solution for me? Thanks.

  • Fatal error distributing forms with Adobe Acrobat 9 Pro

    Fatal error distributing forms with Adobe Acrobat 9 Pro.
    I click
    "Adobe Acrobat Pro/Formularer/Distribuer formularer/"
    ("Adobe Acrobat Pro/Forms/Distribute forms/")
    and chose a form for distribution and in the picture "Distribute Form" chose
    "Automatically download & organize responsees with Acrobat.com".
    I then click "Next" and write an email-address to send it to (i.g. to my own)
    and then click "Send".
    The program quickly writes
    "Authenticating email-addresses"
    and then gives the following error message
    "Borland Database er ikke installeret. Kan ikke indlæse tjenesteudbyder af Corel-adressekartotetek."
    ("Borland Database is not installed. Can not read load service provider of Corel address directory.")
    When I clik "OK" I get the error message
    "Adobe Acrobat has encountered a problem and needs to close. We are sorry for the inconvenience."
    I have undeleted and reinstalled Adobe Acrobat many times without any effect.
    The same procedure has been tried on another computer without any problem.
    What is my problem and how do I resolve it ?
    Operating System Windows XP
    Has worked may times before
    Same results with other files
    No recent system hardware or software change

    This is the image that I have plus....
    Reader 9.0 AcroRd32.exe caused Microsoft Visual C++ Runtime Library error
    Preinstalled Adobe 9 Standard doesn't work on a new Dell out of the box - why would it?
    Need help in creating a batch file that will add and remove some registy keys.
    %userprofile%

Maybe you are looking for