How Can i create a package/trigger

Hi Every1,
I want to create a database trigger which act on entering the charahters and count the characters.
e.g
you can understand with the example
if i press 01 in a specific column the length of characters is two after this automatically the character sign i.e. / ( forward slash ) appers and then i can write 03 again the month and then again automatically / slash appers and i press 2009 and then go on
then the filed will look likes 01/03/2009
simply i dont want to press the / sign in the date fileld or place sign after ENTER through format mask property in forms 6i
can any1 please help me
Regards
M. Laeeque A.

I want to create a database trigger which act on entering the charahters and count the characters.I guess you're talking about a forms-trigger, not a database-trigger.
if i press 01 in a specific column the length of characters is two after this automatically the character signi don't think thats possible in 6i. In 10g you could write a java-bean for that.

Similar Messages

  • How can i create a Package to make this above procedure fit under it ??

    Hi ,
    I am going through package tutorials in Oracle , but unfortunately i couldn't able to follow :
    On Web , They simply say that Packages are used to group Procedures or Functions of similar kind .
    Could any please tell me how this is possible ??
    Assume that i have a simple Stored Procedure as shown below :
    CREATE OR REPLACE PROCEDURE emp_sel (cv_results IN OUT SYS_REFCURSOR)
    IS
    BEGIN
    DBMS_OUTPUT.PUT_LINE('Hi my First Package');
    END;
    Please help , thanks .

    package is basicly a group of procedures, functions, type definitions, etc... if you put this procedure into a package you can do this:
    a package has two parts, spec and body, spec is interface for outside and body is source code.
    create or replace package DUMMY_Pkg is
      PROCEDURE emp_sel (cv_results IN OUT SYS_REFCURSOR);
    end;
    create or replace package body DUMMY_Pkg is
      PROCEDURE emp_sel (cv_results IN OUT SYS_REFCURSOR)
      begin
         dbms_output.put_line('something');
      end;
    end;
    /

  • How can I create RT time-trigg​ered events?

    We have a RT VI running on a PXI.  One of the RT event loops handles turning on and off digital outputs at precise times.  Because we want high precision, the loop is running at a high rate (1 KHz) and every iteration, we check to see if it's time to do something.  But this seems inefficient to me because the vast majority of the time, we're sitting and spinning.  Is there a way to turn this from a polled system to an even-driven system?  I'd like to schedule events to occur at given times and use an event handler to process them.  But how do I schedule a time-triggered user event?
    Thanks,
    Keith.

    There are other RT timed loops running, but I'm not sure if it counts as "a lot of stuff."  As for what controller, I'm not sure (I inherited the system) but MAX says it's a PXI-8187 with a SCXI-1102 and a PXI-1052 (SCXI) SCI with a few cards in it.  Is that what you're asking?
    How do I find out how much CPU is being used?
    The time trigger is like this: The operator hits a "go" button on the host VI.  This signals a sequence of on/off timed events that are relative to the time when the button was pressed.  The relative timing sequence is fixed before the VI is run and does not change afterwards.  It's also a one-shot -- each digital output is turned on once and off once, just at different times.
    If the way we're doing it is fine, I'm cool with that.  I'm just trying to see if I can simplify things.  The previous developer had mentioned doing a lot to optimize, so looking for inefficiencies is fresh in my mind, but I don't know (yet) for sure if there are current problems.
    Thanks,
    Keith.

  • Can I create another package for another module?

    Hi,
    I am doing a project in NetBeans.
    I used a JFrame with Menu and a JDesktopPane with five JInternalFrames for my I module.Now I first module is finished.
    My designing and coding are in Package Javaapp1.
    For II module I have to create another JDesktopPane with five jInternalFrames.
    If I use the same Javaapp1 package for II Module my coding is very large and difficult to trace.
    can I create another package Javaapp2 for II module and import
    in my first package?
    if it is possible? please give me few lines about this.
    Thank you so much.
    Meena.

    Hi,
    Thank you so much for your reply.
    I understand what you mean.
    I am developing only one project not two many.
    But I have four modules in my project.So I try to the concept of package.
    In NetBeans I first create one project named Javaapp1.
    It automatically comes under the name Package Javaapp.
    In this I finished my first module.
    Now I want to develop second module.To avoid confusion in coding I need to create second module in different package.
    So I create another project Javaapp2.It comes under the name
    Package Javaapp2.I develop II module here.
    Then I try to import Javaapp2 in Javaapp1.I got the error "Package Javaapp1 doesnot exist".Thenonly i add needed jar file(Javaapp2.jar) into my project.Now there is no error.
    You told me that "The Above Approch is for when we create more than one project and take something from one to other".
    But I donot know how can I create another package without creating another project and without including the jaf files.
    I donot know is there any way to do.
    I am also have a look at netBeans.org.
    Can I continue with this?
    will you please comment on my lines.That should be useful to me to get a idea.
    Thank you so much.
    Meena.

  • How can I create a pdf-report in a database trigger

    Hi,
    how can I create a pdf-file with Reports 9i in a database trigger ?
    Where can I find informations about it?
    Thanks
    Friedhold

    Here would be the place to start.
    If you have existing reports to call, take a look at the JRC

  • How can I create a Forms9i Runtime for client distribution

    Currently we have an application developed in Forms 5.0.6.8.0 our Database has been upgraded to 9i DB. The application is working fine with this combination but we want to upgrade Forms in order to get Oracle Support. We just get the Developer Suite 9i package and we're trying to test our application with this software.
    How can I create the client runtime for Forms 9i?
    My application will work with Win 95 and 98?
    Thanks.

    Oracle9i Forms is web-only. Forms 6i is the last release of Forms to have client/server and character mode.
    You can test Forms from the Builder by installing iDS. To deploy Forms using iAS follow the documentation. It's all there in the deployment guide.
    iAS and Forms doco can be found on OTN.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • How can I create an Excel file?

    Hi,
    How can I create an Excel file using Forms 6i.
    What I'm doing is to create a file using TEXT_IO package an name it .XLS. If a read it double-clicking over the file, it opens Ok but If I open directly from Excel it opens the Convert dialog.
    I need to create an excel file as it was made from within Excel.
    Thank in advance,
    Benjamin

    When you are talking about subfiles, are you talking like Package contents of an application?
    Terminal application in Applications -> Utilities can give a command line grasp of all your files using the du command.
    Type
    man du
    when entering the terminal, followed by the enter key.
    Note, by default the terminal opens at the Home folder.   To navigate outside the Home folder enter "/Volumes/name of mounted drive/folder/subfolder" as your path.  If there are spaces in the name, putting quotes around the whole path can help.    If you end your du command with a > name.txt a text file with the name name.txt will be plugged into your Home directory.  That you can open with Excel and parse by /es thus giving you everything in Excel.

  • How can i create 256 colors (8 bits) jpeg ?

    Dear all :
    The jpeg created by JPEGEncoder was in true color (24 bits) , how can i create or convert the jpeg to 256 colors . Because i want to convert the jpeg to gif in further , but the gifencoder i found can only accept the images that with 256 colors only , so any one can give me a help ? Or the ways that convert a jpeg to gif using java ?

    To reduce the number of colors in an image, try:
    http://www.gurge.com/amd/java/quantize/
    This does a very good job of reducing colors without making the image look too different.
    Further, if you want to encode a GIF file, try using:
    http://www.acme.com/java/software/Acme.JPM.Encoders.GifEncoder.html
    There should be some sample code which shows you how to use those packages on their respective websites. Hope this helps!

  • How can we create a table with more than 64 fields in the default DB?

    Dear sirs,
    I am taking part in the process of migrating a J2ee application from JBoss to SAP Server. I have imported the ejb project.
    I have an entity bean with 79 CMP fields. i have created the bean and created the table for the same also. but when i tried to build the dictionary, i am getting an error message as given below,
    "Dictionary Generation: DB2:checkNumberOfColumns (primary key of table IMP_MANDANT): number of columns (79) greater than allowed maximum (64) IMP_MANDANT.dtdbtable MyAtlasDictionary/src/packages"
    Is it mean that we can not create tables with fields more than 64?
    How can i create tables with more than 64 fields?
    Kindly help,
    Thankyou,
    Sudheesh...

    Hi,
      I found a link in the help site which says its 1024 (without key 1023).
    http://help.sap.com/saphelp_nw04s/helpdata/en/f6/069940ccd42a54e10000000a1550b0/content.htm
      Not sure about any limit of 64 columns.
    Regards,
    S.Divakar

  • How can I create a short-key of an iconic button in Developer-6i

    Sir,
    How can I create a short-key of an iconic button in Developer-6i. Which works when I press the short-key the code execute which attach with button directly not just move the selection to this button and then need enter or click to execute the button.
    I am using oracle-9i and Developer-6i
    Thanks & Regards

    Hello,
    In the BUTTON PROPERTY set the property Access Key to any of your keyboard letter let say S.
    Then for that button you can use Alt+S. It will fire the trigger WHEN-BUTTON-PRESSED or it will work same as you are pressing button by enter or mouse.
    -Ammad

  • How can I create JScrollPane in my swing application with scroll bars movin

    Hi,
    How can we create scrollpanes moving with scrollbars.I tried many times with custom layout.but it does not work if i set custom layout.I hope that I will get my problem solved.
    Thanks and Regards,
    Rameh RK

    This means it is not possible to create a pure unicode file without the byte order mark?
    You wouldn't happen to know how a file with byte order mark should read on a Linux system?
    Or if this possible or not?
    Regards
    Christian

  • TS2756 How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )

    How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )
    i know its not a problem whit my carrier o data plan or sharing preferences on the ipone because when i use it un my laptop it works perfectly through
    the usb and even works on the Imac through wifi and bluethood tethering but NOT through usb!!.
    the problem is that trying to make it work i deleted the "profile" usb iphone on the network prefereces panel. Now i only have 3 options: ethernet / wifi / bluetooth
    but not the usb iPhone i used to have.
    And when i try to add a new one i dont get a USB option.
    can some one help me please??
    this is how it looks (after the bluetooth PAN i used to have USB iPhone option)

    The question would be more appropriate in the Mac forums as it is not really related to the iPhone.

  • How can I create a new ring tone for my iPhone 4?

    How can I create a new ring tone for my iPhone 4? I followed the Garage Band process and ended up with the ring tone I want as a AAC audio file. It got stored in my iTunes a a song rather than a ring tone. How do I make it a ring tone vs. a song? I tried dragging it t the Ring Tone category at the bottom of the ITunes list, but it won't alloow me to move it?

    There's also an easy to use Applescript over at Doug's Applescripts for iTunes. It automates the whole thing. All you do is set the start and stop time on a file in iTuens and run the script. It will do everything else.
    Make Ringable v1.1
    http://dougscripts.com/475

  • How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word.

    How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word in the document. I am teacher. So for example when a student came to word he/she did not know, if he/she hovered the cursor over the word, a defintion or other information would appear.  You can do this in Word using bookmarks/hyperlinks but I can't figure this out in Pages. I can link it to another point in my Pages document but I just need the text to pop up - not take the reader to another location.  THANK YOU!!!!!!

    Have you tried Word for Mac?
    You will need to test if links survive export or printing to .pdf
    Peter

  • How can I create an csv/excel file using pl/sql and then sending that file

    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.

    968776 wrote:
    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
    Whay do you want database (pl/sql) code to do these things?
    Anyhow, you may be interested in :
    {message:id=9360007}
    {message:id=9984244}

Maybe you are looking for

  • SO- my previous post was deleted by someone about SharePoint not talking to TFS

    If you are going to delete this, please have the courtesy to let me know before doing so. Our TFS SharePoint integration has ceased to work, and so far all the so called "fixes" have not worked to correct this. ON the TFS forum they are saying its a

  • Text jumping around in InDesign CS5 attributed to Magic Mouse!

    I am a long time user of Adobe software (beginning with PageMaker) and have been using InDesign CS5 since shortly after it came out. Most of my work involves display ads and catalogues for sporting goods stores, so there is a 'ton' of image and text

  • IPod new computer

    I would like to transfer all of my old computer's iTunes library to my new computer's iTunes library which of course is a blank slate. I have the entire library on my iPod nano and tried to deauthorize my old computer, however I found out that would

  • Disappearing Subform

    I've created an interactive dynamic form that shows or hides subforms based on a selection from a drop-down menu. The drop-down menu has 10 "List Items" and each List Item has a corresponding subform. Each subforms presence set to "Hidden (Exclude fr

  • Uninstall photo shop elements 6

    I bought a new V500 epson scanner from Staples about a week ago.  When I tried to install photo shop elements 6 the install got down to 38 seconds left and froze up.  I turned the computer off and then on again.  I found that the photo shop was not c