Lock-procedure using headstart for designer

When deleteing a record from a form that has been generated using
designer (headstart installed), I get the error "FRM - 40700 No
such procedure: LOCK-PROCEDURE". I looked through the
headstart library QMSLIB50.pll and found three reference to this
procedure but can not find the actual procedure. What am I
missing?
Thanks
Alan Schif
null

Alan,
I'm not sure what the problem could be. I have tried this myself
and have no problem doing the delete (or updates). Note: I'm on
Form Builder 6.0. You don't mention which version you are using.
Assumptions:
You have created a TAPI for your base table.
You have created a MAPI for your module.
You have set the module component to Data Target Type = PL/SQL
Procedure.
You have generated the module.
If you look at the form in Form Builder, the block should have
DML Data Target Type = Procedure and DML Data Target Name = null
or a package.procedure name. The insert, update, delete and lock
procedures should be filled in with the appropriate procedure
names. You should have a block level ON-LOCK trigger that
contains a call to qms$event_data_block('ON-LOCK') in
qmsevh50.pll. (Designer should do all this for you.)
In qmsevh50.pll, qms$event_data_block should contain a call to
qms$record.on_lock in qmslib50.pll. This procedure should check
the dml data target name and if it is null or contains a
package.procedure name, it should call the execute_trigger
procedure to execute the LOCK-PROCEDURE trigger.
This procedure is automatically generated by Form Builder at
runtime. The Form Builder on-line help has the following to say
(under 'Lock-Procedure Trigger'). "Automatically created by Form
Builder when the lock data source is a stored procedure. This
trigger is called when a lock operation is necessary. Think of
this as an ON-LOCK trigger that is called by the system instead
of doing default lock operations. Do not modify this trigger."
This is only valid when the dml target type is Procedure. If the
dml target type is table, the dml target name should contain the
name of a table. Oh, I just thought of something. Are you
by any chance using schema.table_name in your blocks? If so,
this would cause the problem you describe. See the note in the
qms$record.on_lock procedure in qmslib50.pll. Ideally, the code
should simply check the dml target type for Procedure. However,
due to a forms bug (655567), we can't do this. So, we used a
work-around. We check for the presence of a '.' in the name
assuming that if a '.' is present, it must be
'package.procedure'. However, it could also be 'schema.table'.
If this is the case, you might want to consider using the new
'alter session set current schema' option available in Oracle
8.x. Rather than referencing the schema in each block, you add a
line to your application library to set the schema when the user
first logs on. See the Headstart Template Package User Guide,
chapter 8 (Runtime Environment), 'Alter Session Current Schema'.
I hope this info helps you to resolve your problem.
Best Regards,
Lauri
Alan Schif (guest) wrote:
: When deleteing a record from a form that has been generated
using
: designer (headstart installed), I get the error "FRM - 40700
No
: such procedure: LOCK-PROCEDURE". I looked through the
: headstart library QMSLIB50.pll and found three reference to
this
: procedure but can not find the actual procedure. What am I
: missing?
: Thanks
: Alan Schif
null

Similar Messages

  • Using font for design

    Mr. Dov Isaacs and other crew,
    Thank you all for so simple answers on forum, you are the best because something complicated you answer on a simple way,  but I have one more question. As you said buying licence means that we are able to use font for design, print, etc. but if we are designing let say watermark for photo, because I am hobby photographer, not selling anything but like to design watermarks for my photos. Is it ok to add or attach ornament to letter, let say if I am using letter M inside some font is it ok if I attach flower to left leg of M, or ornament or anything, not changing software or anything else just adding something that is representing things that I do?

    I did reply to your private message. Repeating my response for others to see …
    What you can do with a particular font depends upon the font and whom you license the font from. For fonts you license from Adobe, you may make any modifications or augmentations you want, either to the font itself, its outlines (assuming let's say you “outline” some text) or rasters. The restriction is that you may not redistribute such fonts to others, the visual results in your artwork or photos, yes, the fonts themselves, no.
    Hopefully that makes some sense?
              - Dov

  • Backup procedure using RMAN for 11i Instance

    Hi,
    we have 11.5.10.2 instance
    Node 1 = Application Tier ( 11.5.10.2)
    Node 2 = DB Tier ( 9.2.0.7)
    as of now, we are taking daily cold backup of both instances.
    we want to implement RMAN online backup for DB and take cold backup every week end only.
    so, what are the best procedures for implementing RMAN for 11i Database.
    Please share your experience, if you have anybody implemented?
    which one you prefer in RMAN backup ( backupsets or copy option or backupsets with compressed option) interms of performance.. our db size is 60 GB only.
    we apply apps tier patches very rarely . so we want to take RMAN online backup for DB daily and take cold backup for entire apps and db in the week ends.

    Hi,
    This time, i am going to implement for Oracle 11i Database. thats why, i need you guys advice regarding 11i Database.Well, the same is applicable to 11i/R12 databases. You just need to configure RMAN the same way you configure it on any standalone database.
    If you have implemented any where RMAN, can you share, how you are taking RMAN backup? I can share the scripts we use for backup using RMAN. If you are interested, let me know and I shall send it by email.
    if we want to clone, are you cloning the TEST instance with RMAN backup or using cold backup.We use both, depends on the time frame of the cloning task and whether it is possible to use cold backup for cloning or not.
    Please have a look at the following notes, it should be helpful.
    Note: 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230672.1
    Note: 760772.1 - Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=760772.1
    Note: 362473.1 - Cloning E-Business Suite Using Hot Backup for Minimal Downtime of Source Environment
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=362473.1
    Regards,
    Hussein

  • UPGRADE Headstart 6523 TO Headstart for 9i 6530   concise step by step proc

    Hello,
    We are using Headstart for Designer 6i. We have upgraded our designer repository to 9i and therefore have to upgrade the headstart to "Headstart for Designer 9i 6530, 6531 and then 6532". The upgrade pdf file states that we should patch upgrade to 6521, 6522, and 6523 before applying the main UPGRADE to Headstart for 9i (6530). We have successfully patch upgraded to 6523 without problems. However when we run the patch script 6530 against the repository, we have come out with so many invalid objects under the HSU65 schema. WHY ?
    Could someone give us a concise step by step procedure for doing this upgrade.
    Your response will be very much appreciated.

  • Non retina MacBook pro 2.3 vs 2.6 for design

    I want to purchase a new MacBook pro. I don't want to get the retina because I plan on upgrading it. I am stuck between the 15in 2.3 ghz and the 2.6 ghz. I made both of them identical spec wise:
    750 gb 7200 rpm
    8 gb ram
    Hi-res anti glare screen
    The 2.3 ghz comes out to $2,014 and the 2.6 ghz is $2,134. Is it worth the 100+ upgrade? I plan to use this for design work for school (photoshop, illustrator) and some video editing. Also the 2.6 ghz has the NVIDIA GeForce GT 650M with 1GB of GDDR5 memory vs the 512mb in the 2.3. Which do you recommend for me to get? I'm buying this with my own money so I would like to save as much as possible. Thank you.

    You will need a USB display adapter http://www.displaylink.com/shop/adapters

  • ID CS5 for designing websites?

    Hi there all you helpful people!
    I have asked this question before - but it was a while ago and I wondered if things had changed for anyone.
    Is anyone using IDCS5 for designing/prototyping websites?
    I am a print and web designer and use ID for all my print work and FW for all my web work.
    Increasingly I am getting more and more frustrated with FW - so many simple things that it does sooooooo badly compared to ID.
    Now that IDCS5 has the ability to design in pixels there is the option to design websites in ID, however, it will not export to png format and I know that will make it hard for our coders to use.
    Does anybody have any experiences of using it to design websites and if you do, what workflow do you use?
    Thanks in advance.
    Tom

    tpstom-ggDek1 wrote:
    Bob - to clarify - I don't produce the websites, just design/prototype them.
    I get them to a stage where they look good and the content is right and then they go to a professional coder to be created.
    In my experience, you will have great difficulty exporting everything your coder/developer requires from InDesign. Once designed, typically your developer will need individual images for each section and hex color codes - both of which are not easy to get from InDesign alone.
    I have used InDesign for 'Prototyping' a website but more for the functionality and to show several pages but the design was 100% done in Photoshop. Basically I exported a JPEG from PS of every page in the website that is different and then imported that into InD - one JPEG per page. I then overlayed buttons on top to show the menu working and when clicked, navigated to those pages via InD buttons "Go to Page" function. The buttons themselves can have a gradient overlay so it looks like they are being hovered over. It gave a rather simple example of how the website would finally function and was saved as a PDF so all reviewers could see it.
    InDesign was also used for the style guide which was then sent to the developer, which included all hex codes, text styles and dimensions.
    Hope this helps you.

  • Differences between Headstart Oracle Designer and Headstart for Apps

    Hello,
    I would like to know where i can find an online demonstration of the product "Headtsart for Apps 11i" ?
    I have found the online demonstration of the product "Headtsart Oracle Designer" at the url :
    http://otn.oracle.com/products/headstart/headstartdemo_viewlet.html
    I would like to compare the functionalities of these two products (the tabs option for example).
    For a new application, we have the choice between "Headstart for apps"+"Oracle Application" environment or "Headstart Oracle Designer" alone.
    If no demonstration exists, could you tell me the difference between these two products (i have understood that one run under OA and the other run alone) ?

    Hi,
    Headstart for Apps and Headstart Oracle Designer are based on the same idea, and therefore there are many similarties between the two. The main differences are:
    * the look and feel
    Headstart for Apps is used to generate Oracle Form screens with the same look and feel as a standard Oracle Application screen. Headstart Oracle Designer has its own look and feel.
    Headstart for Apps also enables/eases some Oracle Applications specific look and feel features (although Headstart Oracle Designer has also adopted some of these).
    * dependency of Oracle Applications
    Forms generated with Headstart for Apps cannot run outside the Oracle Applications framework. You will use the same security mechanism as for an Oracle Applications form, the same messaging system, and you can use the standard Oracle Applications built ins.
    Headstart Oracle Designer runs completely outside the Oracle Applications framework, there is a separate messaging system, and you cannot use the Oracle Applications built ins.
    Hope this helps!

  • Designer 6.0 = 6i still using Headstart 2.1.2 patch 10 possible?

    My client are upgrading Designer and we have som questions.
    This is installed:
    Designer Repository installed in 7.3.4.X
    Designer 6.0 patch 5
    Developer 6.0 patch 7
    Discoverer 3.1.X
    Headstart 2.1.2 with patch 10
    PC Windows NT4
    Application (190 forms, 60 reports, 40 discoverer) runs in database 8i 8.1.7 and the database is recently upgraded from 7.3.4.X.
    We have developed Reports outside Designer.
    We want to upgrade as far as we can with client/server support in Forms but also having the option to use webforms later.
    Right now we want to upgrade to:
    Designer 6 rel 4 and in database 8i
    Developer 6i patch 5
    Discoverer 4.1.37
    IAS 1.2.2.2a (only Discoverer services)
    I have read information on OTN but I did not get any answers.
    Questions:
    1. Can we upgrade Designer to 6i without Headstart patches and without too much problem?
    What problems can we expect? I heard about LOV and record indicator changes.
    2. If we have to use Headstart patches, then patch 11 to 13 is of interest that is available on OTN, is this a working solution and how much work does this imply? Our application is in production and almost a 24/7 business.
    Thanks
    Gustavo Forsberg
    email: [email protected]
    homepage: www.oraclecp.com

    Hello everybody,
    here's the script for width corrections of poplists, checkboxes and buttons:
    declare
    l_update BOOLEAN := TRUE; --SET FALSE IF LOG ONLY
    l_display_width_new NUMBER := 0;
    cursor items is
    select modul.short_name modulename,
    modul.name "modulename descr",
    mco.name block_name,
    'bound item' bound_type,
    item.id,
    item.name,
    item.prompt,
    item.display_type,
    item.display_flag,
    item.display_width,
    item.display_height
    from ci_general_modules modul,
    ci_module_components mco,
    ci_module_detail_table_usages mco_detail,
    ci_items item
    Where mco.general_module_reference = modul.id
    and mco_detail.pac_reference = modul.id
    and item.pac_reference = modul.id
    and item.module_unit_reference = mco.id
    and item.detail_table_usage_reference = mco_detail.id
    and item.display_type IN ('CHECK BOX','POP-LIST','BUTTON')
    -- test:
    -- and modul.short_name IN ('module_name')
    -- and mco.name = 'module_component_name'
    -- and item.name = 'item_name'
    union
    select modul.short_name modulename,
    modul.name "modulename descr",
    mco.name block_name,
    'unbound item' bound_type,
    unbound_item.id,
    unbound_item.name,
    unbound_item.prompt,
    unbound_item.display_type,
    unbound_item.display_flag,
    unbound_item.display_width,
    unbound_item.display_height
    from ci_general_modules modul,
    ci_module_components mco,
    ci_unbound_items unbound_item
    Where mco.general_module_reference = modul.id
    and unbound_item.module_unit_reference = mco.id
    and unbound_item.display_type IN ('CHECK BOX','POP-LIST','BUTTON')
    -- test:
    -- and modul.short_name IN ('module_name')
    -- and mco.name = 'module_component_name'
    -- and item.name = 'item_name'
    order by 1,2,3,5;
    begin
    dbms_output.put_line(RPAD('Module',10)||RPAD('item',25)||RPAD('Prompt',20)||
    RPAD('disptype',15)||
    RPAD('before',6)||
    RPAD('after',6)||
    RPAD('disp?',10));
    for item in items loop
    IF item.display_type = 'POP-LIST' THEN
    l_display_width_new := FLOOR(item.display_width/2);
    --IF YOU WANT LESS THAN 4, CHANGE PREF PLSIWD AFTER MIGRATION
    --OTHERWISE WIDTH = l_display_width_new + PLSIWD (default 4)
    IF l_display_width_new < 4 THEN
    l_display_width_new := 4;
    END IF;
    if l_update = TRUE THEN
    update ci_items
    set display_width = l_display_width_new
    where id = item.id;
    end if;
    ELSIF item.display_type = 'CHECK BOX' THEN
    l_display_width_new := FLOOR(item.display_width * (7/10));
    if l_update = TRUE THEN
    update ci_items
    set display_width = l_display_width_new
    where id = item.id;
    end if;
    ELSIF item.display_type = 'BUTTON' THEN
    l_display_width_new := FLOOR(item.display_width * (7/10));
    if l_update = TRUE THEN
    update ci_items
    set display_width = l_display_width_new
    where id = item.id;
    end if;
    END IF;
    dbms_output.put_line(RPAD(item.modulename,10)||
    RPAD(item.name,25)||
    RPAD(NVL(item.prompt,'(NULL)'),20)||
    RPAD(item.display_type,15)||
    RPAD(item.display_width,6)||
    RPAD(l_display_width_new,6)||
    RPAD(item.display_flag,10));
    end loop;
    end;
    Note: we found poplist width 4 problem after the script was commited, I have added the correct code. This script corrects most of the problems but it depends on you layout. If you have used PLSQL for layout changes this script might not help. Don't forget BLKUTT and GRPUTT preferences that you may have to change.
    Good luck!
    Regards
    Gustavo Forsberg
    www.oraclecp.com

  • HT4623 Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ??

    Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ???

    Did you buy this iPhone new from an authorized seller?

  • I opened my iPod Touch up to fix my home button. When i closed it back up it had a white screen. I tried pressing lock and home button for 10 seconds and it worked but while i'm using it it goes white with lines on the screen. Help please

    I opened my iPod Touch up to fix my home button. When i closed it back up it had a white screen. I tried pressing lock and home button for 10 seconds and it worked but while i'm using it it goes white with lines on the screen. Help please. This has been happening for a while and i've tried everything but it doesn't work.

    Try:
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • I do not have an apple computer,  I have had Itunes  Previously but had not used it for some time.  when I try to use it now the following message keeps coming up no matter how many times  install Itunes.  "The Itunes library is locked on a locked disc ?

    I do not have an Apple computer,  I have had Itunes previously but had not used it for some time,  I have Itunes gift cards but can not get ,on to use them.  I have tried to download Itunes again but the following keeps poping up, "The Itunes library is locked on a locked disc, oryou do not have write permission for this file."  How can I overcome this?

    To solve this issue all I did was check to ensure that the file permissions were set as described by the earlier posts, followed by simply deleting the iTunes Library Genius.itdb file.  Once the file was deleted I was able to open iTunes without difficulty.  Note that I am running Windows 8.  Hope this helps!

  • I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have manged to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the pr

    I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have managed to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the projects, what I would like is a piece of text  or icon that when you roll over it and then click a separate window pops up with additional information in, once finished reading the info you can then click to close the box, any advice on how to do this?

    The best way to do what you're asking is with the Composition widget. Start with the Tooltip preset, which, by default shows the info on rollover. You can change the option to show on click, which is what you're after. You can also add the close button or have the info disappear on rollout.
    David

  • I have an ipad which I received from my fiancee' who passed away.  I used it for a year with my own ID.  I decided to have it cleared so that I could download apps.  I am now locked out . I have his ID no pswrd, suggestions? Genius bar no help

    Cannot activate ipad because myy fiance' who passed away had it connected to find my iphone and cloud
    I have his ipad ID but not his mail password.  I cannot get past security questions such as what was your first car, etc.
    No help from the Genius Bar at Orlando Millenia Mall or call to Apple Care.
    Any suggestions?
    I was using this for a year without problems until I decided to have it wiped and get my name on account for downloads from Itunes.

    iCloud: Find My iPhone Activation Lock in iOS 7
    http://support.apple.com/kb/HT5818
     Cheers, Tom

  • I am trying to understand the licensing procedures for using tabKiller for 3.5.7 firefox. Who should I contact for this? I do not see any customer service phone number for Firefox

    I am trying to understand the licensing procedures for using tabKiller for 3.5.7 firefox. Who should I contact for this? I do not have the customer service phone number for Firefox

    Tab Killer is not created by Mozilla, it is created by a private individual who has made it available at no cost for other people to use.

  • Stored Procedure used as a data source for an Apex report

    Just wondering whether anyone has used a Stored Procedure as the data source for an Apex report. An option to select Stored Procedures(s) as the data source does not appear within the IDE (only displays Table, Views, Functions).
    Do you have to return the definition of the Stored Procedure via a function ... if so, how is this done ?
    Thank you.

    >
    Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "920338".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    Just wondering whether anyone has used a Stored Procedure as the data source for an Apex report. An option to select Stored Procedures(s) as the data source does not appear within the IDE (only displays Table, Views, Functions).
    Do you have to return the definition of the Stored Procedure via a function ... if so, how is this done ? When asking a question about "reports" it's firstly essential to differentiate between standard and interactive reports. Standard reports can be based on tables, views, SQL queries, or PL/SQL function blocks that return the text of a SQL query. Interactive reports can only be based on a SQL query.
    "Stored Procedures" are therefore not an option (unless you are using the term loosely to describe any PL/SQL program unit located in the database, thus including functions). What would a procedure used as the source of a report actually do? Hypothetically, by what mechanisms would the procedure (a) capture/select/generate data; and (b) make this data available for use in an APEX report? Why do you want to base a report on a procedure?

Maybe you are looking for

  • Code doesn't behave the way it should when i create an ipa . However , if i flash the build directly from xcode it works fine ?

    Hi , I am creating an ipad application . When the app launches i am trying to get some data from server , and show it at the beggining . It works perfectly fine when i run the app in simulator , and flash the build in ipad from Xcode . However ,as so

  • Trouble creating photo page

    I am trying to build my very first web page. iWeb seems very easy to use except I can not build a photo page like I want. I would like to have a main photo page,that when you click on a pic it redirects(hyperlink???) to another page with more photos

  • Gnome-shell 3.10.2 + gdm: interface broken. Restart with "r" fixes it

    Hello forum I have a fresh install of Arch with Gnome-shell and GDM, and after logging in for the first time, the Gnome-shell interface appears broken. See the screenshots below: The desktop http://imgur.com/RWJROK3 and when clicking the top right tr

  • Problems- IE7 & Flash

    I know that IE7 has some issues, and thought they may have been resolved. Having this problem at http://www.superzoo,org These are comments from Windows user: Can't click the attendee/exhibitor button until the movie runs all the way through once. It

  • Claimed up to date mountain lion

    I applied for an uprgrade to Mountain Lion and was given a reference number and told I would receive an email. I've heard nothing. Any news about how I go about upgrading? I only bought my macair last week.