Report launch form (qms0012f)

Dear Headstart Team,
when using the LOV query (through Headstart Foundation Application) the user is forced to use the LOV
and is not able to fill in the parameter field (field protected against update).
If I use the LOV, Value or Description width fields they generate an On Off behaviour. The values you specify are not important.
When specified the LOV becomes screen wide, disregarding the specified widths. When cleared the LOV returns to it's
initial behaviour.
Are both points as intended ?
With kind regards,
Gerard.

Gerard,
"when using the LOV query (through Headstart Foundation Application) the user is forced to use the LOV
and is not able to fill in the parameter field (field protected against update). "
This behavior is intentional. The reason for this is that with Hsd6i, we added a display value that is different from
the actual value of the parameters. However, in order not to break applications developed with older releases
of Headstart, the LOV still lists the actual value is still listed first in the lov query. Since the first field in the LOV
is not the field displayed on the screen, you cannot set Validate in LOV to true. So, the only option is to force
users to use the LOV to enter data. If you do not have compatibility issues with older applications, you can
set Validate in LOV to true and change all your LOV queries to put Description first and then value.
"If I use the LOV, Value or Description width fields they generate an On Off behaviour. The values you
specify are not important. When specified the LOV becomes screen wide, disregarding the specified
widths. When cleared the LOV returns to it's initial behaviour. "
I suspect this might be a new forms bug. I've logged a Headstart bug, just in case we can find a workaround.
"The manual describes the use of GLOBAL variables for Default Value and Description.
So far :
the code for the default value will never work
name_in(l_default_value)
should be
name_in(substr(l_default_value,2))
in order to remove the colon.
The code for the Default Description is totally absent."
I have also logged a Headstart bug for this. We will need to investigate it. Certainly, the mechanism is working
correctly, so I'm not sure what is going on here.
Regards,
Lauri

Similar Messages

  • Resetting parameters in the Report Launch Form (qms0012f)

    We ran into the problem today that the parameters in the Report Launch Form cannot be reset if they have no default value defined against them. In our situation this proved to be quite confusing and annoying for our end users, so we investigated the logic in the Headstart code and created a very simple solution: we added one character to the code in the qms0012l library. (package qms$param, procedure check_par_value.
    For the long story, see http://technology.amis.nl/blog/?p=925
    best regards,
    Lucas

    Gerard,
    "when using the LOV query (through Headstart Foundation Application) the user is forced to use the LOV
    and is not able to fill in the parameter field (field protected against update). "
    This behavior is intentional. The reason for this is that with Hsd6i, we added a display value that is different from
    the actual value of the parameters. However, in order not to break applications developed with older releases
    of Headstart, the LOV still lists the actual value is still listed first in the lov query. Since the first field in the LOV
    is not the field displayed on the screen, you cannot set Validate in LOV to true. So, the only option is to force
    users to use the LOV to enter data. If you do not have compatibility issues with older applications, you can
    set Validate in LOV to true and change all your LOV queries to put Description first and then value.
    "If I use the LOV, Value or Description width fields they generate an On Off behaviour. The values you
    specify are not important. When specified the LOV becomes screen wide, disregarding the specified
    widths. When cleared the LOV returns to it's initial behaviour. "
    I suspect this might be a new forms bug. I've logged a Headstart bug, just in case we can find a workaround.
    "The manual describes the use of GLOBAL variables for Default Value and Description.
    So far :
    the code for the default value will never work
    name_in(l_default_value)
    should be
    name_in(substr(l_default_value,2))
    in order to remove the colon.
    The code for the Default Description is totally absent."
    I have also logged a Headstart bug for this. We will need to investigate it. Certainly, the mechanism is working
    correctly, so I'm not sure what is going on here.
    Regards,
    Lauri

  • Running Reports using DESTYPE=CACHE from Report Launch Form (QMS0012F)

    We are trying to run reports via the web. Since this is a 3-tier setup and our report server is running under UNIX the DESTYPE=Preview and Screen are not valid options. When we choose CACHE as DESTYPE we get the error:
    'Invalid value '||l_value||' passed for parameter DESTYPE'
    I have traced the error down to the QMS0012L.PLL library -> QMS$REPORT (version 6.5.1.3) package -> add_par_to_list procedure.
    Is this a legacy of a client/server type setup? I have modified the procedure to allow for DESTYPE=CACHE. Now by submitting a report with DESTYPE=CACHE it gets submitted to the reports server except it doesn't show report. To display the report I believe we have
    to use the Web.Show Document function to display the report (eg. http://bill:7777/servlet/RWServlet/getjobid8?server=rep60bill) as per the oracle white paper "Integrating Oracle9iAS Reports in Oracle9iAS Forms"
    Has there been a headsdtart patch to include the DESTYPE of CACHE when running reports? or are we the only ones running reports this way.

    Raymond,
    I have recorded a new bug against Headstart for this. We do not
    currently have a fix, but I've looked at the code you mention and
    your fix looks correct.
    Regards,
    Lauri

  • Report launch form - implementation name?

    In the report launch form (qms0012f), no reference at all is made to the implementation name defined for the module. This attribute is mandatory when setting up the module definition (via qfd0016f), & according to the on-line help for this form it's used to specify the physical name for the module. We'd like to use it so we can have a generic report module, with separate module definitions for each menu call via qms0012f (& hence different parameters).
    Why hasn't this functionality been implemented?

    Cheryl,
    I'm sorry, on creation of Headstart 2.1 we added the implementation_name to the qms_modules table, but we just plain forgot to modify qms0012f as well. As most people have the implementation name identical to the module name, nobody noticed until you did!
    If you want to change this, you should modify library qms0012l.pll.
    Go to package qms0012f,
    find the declaration of g_short_name_item, and add a similar one g_implementation_name_item where 'SHORT_NAME' is replaced by 'IMPLEMENTATION_NAME'. In the same package qms0012f, find the function get_short_name_item and add a similar one get_implementation_name_item.
    Then go to package qms$report, function fill_par_list. At the end of this function, you will see a statement l_module_name := name_in(qms0012f.get_short_name_item);
    Change this into l_module_name := name_in(qms0012f.get_implementation_name_item);
    I am not able to test this, but I think it should work. Please let us know if this workaround helps, then we can include it in Headstart 6i.
    Hope this helps,
    Sandra

  • Calendar function not working in report launch form

    We are currently using Headstart 6.5.3.1 for 9i. When we invoke the calendar function for a date parameter in the report launch form (qms0012f), we get the error-message ORA-6508: could not find program unit being called in PL/SQL Program Unit qms$calendar.show.
    After closing the report launch form and re-opening it again this error message does not appear again and the calendar is shown without any problems.
    Does anyone have experience with this error or know the reason why it is occurring?
    Regards,
    Gert de Boer

    Hi dear
    I am Santosh in New Delhi. Hope you will help me.
    I M working with report 10G. My problem is that , I am not able to get normal character printing on Dot matrics printer and character mode report of report 3
    Thanks

  • No color change for mandatory parameters in Report Launch Form

    Report Launch Form (qms0012f) does not color the mandatory report parameters when running on 9IAS webserver.
    We are using Designer 6i with Headstart 6.5.3.0.
    On client server the mandatory report parameters are changed to user preference color.
    Testing when running the form with the Developer Web Previewer of Forms Builder 6i the mandatory parameters are also changed to user preference color but the background color is white instead of gray?

    Cheryl,
    I'm sorry, on creation of Headstart 2.1 we added the implementation_name to the qms_modules table, but we just plain forgot to modify qms0012f as well. As most people have the implementation name identical to the module name, nobody noticed until you did!
    If you want to change this, you should modify library qms0012l.pll.
    Go to package qms0012f,
    find the declaration of g_short_name_item, and add a similar one g_implementation_name_item where 'SHORT_NAME' is replaced by 'IMPLEMENTATION_NAME'. In the same package qms0012f, find the function get_short_name_item and add a similar one get_implementation_name_item.
    Then go to package qms$report, function fill_par_list. At the end of this function, you will see a statement l_module_name := name_in(qms0012f.get_short_name_item);
    Change this into l_module_name := name_in(qms0012f.get_implementation_name_item);
    I am not able to test this, but I think it should work. Please let us know if this workaround helps, then we can include it in Headstart 6i.
    Hope this helps,
    Sandra

  • Report Launch Form Error

    I have recently installed HeadStart 6i (see version info below).
    When I launch a report in the demo app (QMS0012F) and select
    the 'Options...' button I receive 'FRM-41052 Cannot find Window:
    invalid ID'. This is followed by the 'Report Launch Options'
    window but this appears to not work correctly (no lov buttons
    and all fields are blank even though they are setup in the
    Foundation app correctly). If I dont use the 'Options...' button
    the report runs correctly (if all the required report fields are
    defaulted in the Foundation app). Thanks, Keith
    Headstart Demo Application 6.5
    Application Library (hsdapp65) 6.5.0.4
    Oracle8i Enterprise Edition Release 8.1.7.1.1 - Production
    Oracle Forms Generator 6.5.40.4.0
    Headstart Template Package 6.5.1.0
    Template Form (qmstpl65) 6.5.0.6
    Object Library (qmsolb65) 6.5.1.4
    Event Handler Library (qmsevh65) 6.5.1.5
    Core Library (qmslib65) 6.5.1.12

    This is a duplicate posting, please disreguard

  • Is it possible to bypass the Reports Launch Form

     

    The question is not if it is possible to bypass the Launch Form, but
    1. is it possible to pass parameters (arguments) to fill out the parameters from another form.
    2. Assuming the answer to Q1 is Yes, is it possible to automatically launch the report if all parameters has been filled in?
    +ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Reports Lauch Form

    Can anyone tell me how you are supposed to send a report to a file through the reports launch form.
    Does anyone know what the "Options" button is supposed to allow?
    Running the report to the previewer does allow a file - generate to file - pdf/html/rtf/postscript option but this seems to error.
    Any ideas anyone.
    Cheers,
    Dave

    Dave,
    To send a report to a file, you press the Options button and change the value for Destination Type to 'FILE'. You can optionally enter a printer driver in the Destination Format parameter. When you run the report, the reports runtime engine creates a printer file in the working directory of your application. Note: this is a printer file and not a word/pdf/html document.
    As far as the Options button goes, this is a mechanism to allow users to enter some of the normal command line parameters for reports. In the foundation application, choose Parameters->Standard Report Parameters. This form allows you to define any report command line parameters. If you check the Report Specific checkbox, then this parameter is available to be included in a report. You must then go to Parameters->Module and Parameters and use the Add Standard Report Parameters button to add this parameter to your report(s). The parameter is then available to the end user when they press the Options button.
    Headstart doesn't do anything special with these parameters. It simply passes them to the reports runtime engine on the command line. You can read the Report Builder documentation to find out more about the usage of individual parameters.
    Regards,
    Lauri

  • FRM-41085 when launching form for running report in headstart

    I try to migrate headstart application built in developer 6i, using headstart 5.0 to run on the web, i.e. Oracle application server 10g.When I try to call report, form qms0012f should appear, but then error occurs:
    FRM-41085: variable global.cgnv_last_closed_form does not exist
    Can someone help me?

    wronde wrote:
    Hi,
    I am upgrading an 6i Forms environment to an 10g Webforms environment. Currently the application is running fine, except for all the Headstart forms (f.e. qms0006f, Preferences). If I open this form, I first get FRM-41085: Error getting Group Row count
    And after that another error: QMS-00100 Unhandled exception ORA-06502: PL/SQL numeric or value error ORA-01403: no data found in PL/SQL Program Unit qms$form.init
    I have deployed this application on a linux appsserver, and it creates this error. However, if I run it on my <font face="tahoma,verdana,sans-serif" size="1" color="#000">windows</font> development environment I am able to open the form. Connected as the same user on the same database.
    I compiled the Headstart forms, that are supplied by Headstart itselves, so the form is not generated from Designer.
    Anyone any idea? (If there are still some Oracle consultant reading this Headstart forums?)
    Kind regards,
    WilliamIt's very long now, I have the issue which is similar to what you have faced, Anybody can answer it?

  • Report Launcher to run with different Menus

    We have a situation where we run reports from two parts of the same application. Each part has a different Menu, therefore we would like qms0012f (report launcher) to have the menu of the calling form/menu.

    I am unable to test but you can try something like this,
    DECLARE @COUNTRYID INT
    SET @COUNTRYID = 1WHILE @COUNTRYID <= (SELECT MAX(COUNTRY_ID) FROM COUNTRY)
    BEGIN
    DECLARE @COUNTRY_CODE VARCHAR
    BEGIN TRY
    SELECT @COUNTRY_CODE = COUNTRY_CODE FROM COUNTRY WHERE COUNTRY_ID = @COUNTRYID
    EXEC getIPs @COUNTRY_CODE
    END TRY
    BEGIN CATCH
    INSERT INTO [dbo].[ERROR_LOG]
    SELECT
    GETDATE(),
    ERROR_NUMBER() AS ErrorNumber
    ,ERROR_SEVERITY() AS ErrorSeverity
    ,ERROR_STATE() AS ErrorState
    ,ERROR_PROCEDURE() AS ErrorProcedure
    ,ERROR_LINE() AS ErrorLine
    ,ERROR_MESSAGE() AS ErrorMessage
    END CATCH;
    SET @COUNTRYID = @COUNTRYID + 1
    END
    Regards, RSingh

  • How to create a report in Form line Style and can display Image field?

    Hi,
    In Report builder 10g, I would like to create a Report with Form Line Style and this report included a Image field.
    I can choose this Style only when Select Report type is Paper Layout. Because, If I choose Create both Web & Paper Layout or Create Web Layout only then in the next Style tab 03 option Form, Form letter and Mailing Label be Disabled.
    But in Paper Layout, my report can not display Image field.
    I tried with Web layout and all the other Styles (Except 03 mentioned be Disabled) then all Styles are displayed Imager field OK.
    How to create a report in Form line Style and can display Image field?
    I was change File Format property of my Image field from text to Image already in Property Inspector. But report only showed MM for my Image field.
    Thanks & regards,
    BACH
    Message was edited by:
    bachnp

    Here you go..Just follow these steps blindly and you are done.
    1) Create a year prompt with presentation variable as pv_year
    2) Create a report say Mid report with year column selected 3 times
    - Put a filter of pv_year presentation variable on first year column with a default value say @{pv_year}{2008}
    - Rename the second time column say YEAR+1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)+1
    - Rename the second time column say YEAR-1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)-1
    Now when you will run Mid Report, this will give you a records with value as 2008 2009 2007
    3) Create your main report with criteria as Year and Measure col
    - Change the fx for year column as CAST(TIME_DIM."YEAR" AS INT)
    - Now put a filter on year column with Filter based on results of another request and select these:
    Relationship = greater than or equal to any
    Saved Request = Browse Mid Report
    Use values in Column = YEAR-1
    - Again,put a filter on year column with Filter based on results of another request and select these:
    Relationship = less than or equal to any
    Saved Request = Browse Mid Report (incase it doesn't allow you to select then select any other request first and then select Mid Report)
    Use values in Column = YEAR+1
    This will select Year > = 2007 AND Year < = 2009. Hence the results will be for year 2007,2008,2009
    This will 100% work...
    http://i56.tinypic.com/wqosgw.jpg
    Cheers

  • Running reports from forms on the web

    On forms and reports 6i we used the following code to run reports from forms.
    We need to do the same on 9i forms and reports, we are running into problems.
    Any help will be appreciated.
    PROCEDURE web (inFileName VARCHAR2,
    inRecordGroup RECORDGROUP) IS
    outVirtualPath VARCHAR2(200) := '/forms90/f90servlet?p_url=/reports/rwservlet?'; outServer VARCHAR2(200) := 'server=rep_ora-app-4';
    outReport VARCHAR2(200) := 'report='||inFileName;
    outUserid VARCHAR2(200) :=
    'userid='||GET_APPLICATION_PROPERTY(USERNAME)||'/'||GET_APPLICATION_PROPERTY(PAS
    SWORD)||'@'||GET_APPLICATION_PROPERTY(CONNECT_STRING);
    outDesType VARCHAR2(200) := 'DESTYPE=CACHE';
    outDesFormat VARCHAR2(200) := 'DESFORMAT=PDF'; outUser VARCHAR2(2000);
    outCount INTEGER;
    error we are getting.
    FRM-42017:Module name must be specified.

    S Hatch (guest) wrote:
    : I'm thinking that you're going to have to install the Reports
    : cartridge, create an entry in the keymap with any parameters
    and
    : call your report via the url.
    : Dessislava Gantcheva (guest) wrote:
    : : How do I call a report from a form on the web?
    : : I have installed Windows NT Server 4.0 with SP 5, OAS4.0.7
    EE
    : : with patch 1, Developer 6.0 with patch 1. Developer server
    and
    : : forms server work fine in a non-cartridge implementation,
    but
    : I
    : : cannot run a report within a form. I just have no any info
    how
    : : to do this.
    I have entries in my keymap file and I can call my reports via
    the url, but I cannot run a report WITHIN a form. I mean to call
    a report by clicking on a button of a form on the web. The
    RUN_PRODUCT built-in does not work (at leas it seems like this)
    If any one has expiriense with it, please, give me a hint.
    Thanks
    null

  • Crystal Report Windows Forms Viewer Error in 1 Workstation after upgrade of PL

    Hi all,
    We just upgraded SAP from 8.82 PL02 to 8.82 PL15.
    Afterwards, in just 1 workstation, Crystal Reports layouts have Crystal Report Windows Forms Viewer error I attach.
    Before the upgrade this error did not happen.
    No permissions or authorizations were changed  in the workstation.
    The Crystal Reports layouts remain working fine in server and in the other workstations.
    In the workstation following are installed:
    - Operating System Windows 7;
    - Microsoft .NET Framework 4.5;
    - SAP Crystal Reports runtime engine for. NET Framework;
    - Crystal Report 2008 Runtime SP6;
    - Microsoft SQL Server 2008 R2 Native Client.
    All, but the operating system, are equal to the other workstations.
    User has edit access to SAP folders, temp and access to the attach path.
    We already uninstalled SAP client and client agent and re-installed it but with no avail.
    Can anyone help me?
    Thanks in advance.
    Best regards,
    Pedro Mariano

    Hi San Xu,
    Thank you for your input.
    However I'm facing problem with each software is suitable.
    I installed SAP Crystal Reports for SAP Business One (CR 2011 V14.0.4.738), but with no avail.
    Thanks in advance.
    Best regards,
    Pedro Mariano

  • Report  from  form

    Hi,
    i called report from form with following and gives the
    error
    REP-0100 Unable to open the file
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status varchar2(20);
    repid := FIND_REPORT_OBJECT('DUMMY_REPORT');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    Thanks.

    Hi,
    this tells you that the Reports Server cannot find the physicale reports file. Please see
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    Frank

Maybe you are looking for

  • After upgrading to iOS4 on your 3GS, are you having battery & signal issues

    I was having big problems with my battery life (10% per hour at best) and also signal dropping issues from time to time. Last night though I solved all these problems... HOW ?? Via iTunes, restore your iPhone and select the option "as new iPhone" NOT

  • What do I do if my ipod touch wont turn on

    My ipod touch wont turn on...my daughter was using it and it just went black.  It has been needing to be charged more frequently lately...

  • Shake on iMacG5

    Will shake 4.1 run on an iMac G5 with the older non intel processor? iMac G5   Mac OS X (10.4.2)  

  • Write to multiple digital lines

    I am trying to write to 2 digital outputs. When I set one to high both go to ~2.5v. When I set both to high, both go to ~4.6v. If I set both to low, both go to ~0.0v. I have LV5.1.1 & a DAQCard-AI-16XE-50 & an SCC2345. I am using the DIO Port Config.

  • Help! javac?

    Hello! I download j2re-1_4_0_01-windows-i586-i.exe then install but javac.exe is missing. I read in forum previous similar question but nothing. help me. thank you in advance.