Is it possible to enter only numbers in the field

Hi expers,
I want that when my user is giving input in the empno field of my form in enter query mode , he or she will be able to enter only the number not anything other then number . is it possible via oracle forms 6i.
If yes ,please let me know.
and another thing is that how can i get this type of output.
'abc','efg','kkk'
declare
cursor abc is select empname from emp;
output varchar2(2000);
begin
for i in abc loop
output := output ||'''||i.empname||'',';
end loop;
end;
can you please say how can i disable the cotes (') the secode cotes because it is giving trouble in java in term of disableing we use / is there anything like that in oracle.
Regards
Rajat

Hi aweiden
Thanks for your answer the second question ,i want that in the output variable i want to store the name of the employee in this fashion.
When i am givig dbms_output.put_line(output) the output should be like that.
'Rajat','aweiden ','kumar','sachin'
I am trying to append the name of the employee with the variable output.
The cursor is fecting the name of one employee in each itaration.
in the 1st itaration the value of output will be -'Rajat'
in the 2nd itaration the value of output will be - 'Rajat','aweiden'
and so on.
But when i am trying to append the '(single cotes) before and after the name it is giving trouble.
What i have done is;
for i in abc loop
output := output ||' ' '||i.empname||'',';
end loop;
but it is not working.
can you tell me how can i get the deserve output.
Regards
Rajat

Similar Messages

  • Is it possible to view line numbers in the search results in Dreamweaver CS5?

    Is it possible to view line numbers in the search results in Dreamweaver CS5?
    If so how do I switch it on.
    Thanks

    I don't think so. 
    Just double click on results in your Results Panel. 
    DW will open the page to that line of code.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Installation: hello, I am trying to install my adobe elements twelve. I have a serial number, which contains no letters (only numbers), from the box. I use a mac. When I try to install it, it says it's unable to validate my serial number. I have already c

    Installation: hello, I am trying to install my adobe elements twelve. I have a serial number, which contains no letters (only numbers), from the box. I use a mac. When I try to install it, it says it's unable to validate my serial number. I have already checked the spelling. What should I do?

    Does it begin with 1057? If not, it's a redemption code. In which case, see here:
    Redemption Code Help
    If it is a serial number, go to system preferences>security & privacy>firewall>firewall options and be sure that PSE is allowed to call out.

  • PDF forms have problems displaying text and only appears when the field is selected

    Hello,
    I created some pdf forms to distribute to the company clients. But we are having some people complaining about the text visibility. When they have work in team, the pdf that they receive from a third person often appears unfill or without text, the text is only visible when the field is selected. I need to find a solution for this because our company products are base on this forms.
    If there is any addition information that I should add to understand what is happening and how to fix it, I'll be happy to write it.
    In the company, we all have mac and the forms where created innitially in Adobe acrobat 9 pro, but we have now Adobe acropabt XI pro.
    The users have both Mac and Windows systems.
    Thank you,

    This is usually caused by the form being filled-in and saved by a Mac user who is using the Preview application to view the PDF. More information is here: http://kb2.adobe.com/community/publishing/885/cpsid_88564.html
    It is a good idea to inform your users that Adobe Reader (or Acrobat) should be used to work with the forms.

  • How to restrict the text field to enter only numbers???

    I have used "onkeyup" event to call a function "test", I am getting the alert message for every entry (even for a number), I dont know why I am getting this. Please help me out.....
    Number1 : <input type="text" name="myin1" id="a" onkeyup="test(this,event)">
    function test(ff,evt)
    evt = (evt) ? evt : event;
    var charCode = (evt.charCode) ? evt.charCode : ((evt.keyCode) ? evt.keyCode :
    ((evt.which) ? evt.which : 0));
    if (charCode > 31 && (charCode < 48 || charCode > 57)) {
    alert("Only numbers are allowed"); }
    }

    Hi,
    However this is java forum and you are asking for a solution of a javascript problem,
    I think I got the problem.
    This script works fine when I run it on IE and use the numeric keys above the text keys,
    but give error when I use the numerical keypad on the right.
    I think you should change your if condition like this
    if (charCode > 31 && ((charCode < 48 || charCode > 57) || (charCode < 96 || charCode > 105)) {                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Entering negative numbers into a field

    How do I allow an item (non-base table) to accept negative numbers that are entered in the following way, "x-". I know that you can have a format mask with "x-". But that will not help me in this situation. Thanks in advance for your help!

    I dont kno what is your exact requirement. But if you are trying to accept a -ve number you can just enter -30 in a number field. but if you want 30- to be entered in a field then you can not do it directly. The workarround may be create a character field let the user enter the 30-. Possibility is that he may enter alphabetic or alpha numeric ,in this case take the substring of the field and check if it is a number field or not. if its not then do raise a message and raise form_trigger_failure to force the user to enter a valid number.
    like
    If NOT isnum(substr(:field1,1,length(:field1)-1) Then
    message ('Please enter a valid number');
    Raise Form_Trigger_failure;
    End If;
    Hope this will help.

  • Is it possible to obtain line numbers in the stack trace of an exception

    Is it possible for e.StackTrace in the following code to contain line numbers?
    try
    catch(Exception e)
    LogStackTrace("Stack Trace:" + e.StackTrace);}
    Hong

    Thank you for your response.
    The linked article is for Windows Phone and it points out "it's not possible to deploy the PDB alongside the EXE/DLL". Is this also the case for Windows Store app, or Windows Store app is different and it can be deployed with a .pdb file as you
    pointed out?
    The Windows Store app package is like the following:
    My App_1.3.0.5_AnyCPU.appxupload
    It is a zip file that contains the following two files:
    My App_1.3.0.5_AnyCPU.appx
    My App_1.3.0.5_AnyCPU.appxsym
    Hong

  • Is there a way to enter specific numbers in the Adjust pane?

    I need to repeat some adjustments such as exposure for a number of photos. But I can't simply copy the whole adjustment group and paste it because some of the other adjustments need to stay as they are. SO I just want to copy or re-renter one numeric value. The sliders are very imprecise and if I want to set the exposure to +2.0 it will sometimes land on 1.98 than jump to 2.01 etc... Is there a way to enter these values numerically instead of by using the sliders?
    Thanks for any help.
    Bo

    Bo:
    When you set a specific adjust for a photo you can copy those settings (the Copy button) and then apply (Paste button) to other photos. Those settings will be preserved until you set new ones and save them, i.e. you can close iPhoto, reopen and the setting will still be there to apply to photos.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • How to enter text & numbers into text field?

    I am designing a form for our Labor cases, and in the Case# field, which I have established as a (text field), I wish for the user to input the following as example:
    2014-DAA-000012
    I would like for the dashes to show automatically as does the social security number.  Any takers on this?  Thank you!

    Hi,
    you can use patterns to format you input a little bit.
    You need 2 patterns in your text field:
    One for displaying ...
    text{9999-AAA-999999}
    ... and one for editing.
    text{9999AAA999999}

  • How can I set my filter to bring only zeros for the field?

    I have a field that has Number as data type in a table in Access. I only want to extract only zero values.
    Field1     Field2
    Orange    33
    Apple       0
    pumpkin  0
    Tangerine 12
    I appreciate your input.
    GGGGGNNNNNN
    GGGGGNNNNN

    Try a LEFT JOIN --
    SELECT [All Applications-Western].ApplicationNumber, [NN List - Western].approved
    FROM [All Applications-Western] LEFT JOIN [NN List - Western] ON [All Applications-Western].DealerNumber = [NN List - Western].DealerNumber
    WHERE ((([NN List - Western].approved)=0));
         OR a RIGHT JOIN --
    SELECT [All Applications-Western].ApplicationNumber, [NN List - Western].approved
    FROM [All Applications-Western] RIGHT JOIN [NN List - Western] ON [All Applications-Western].DealerNumber = [NN List - Western].DealerNumber
    WHERE ((([NN List - Western].approved)=0));
    Build a little, test a little

  • How can a user enter a value in the field which is in read mode.

    Hi all,
          I am creating a badi for the valuation class.when ever i execute the mm02 transaction.if an invalid valuation class is entered,my error message is poping up.but it is coming in the display mode.i should get the valuation class field in the read mode.
    Regards,
    charita.

    Hi Charita,
    Use information message instead of Error message.Then it will not give u that field in non-editable mode.
    <b>Reward points if it solves ur query or answer is helpful</b>
    Thanks
    Chinmay

  • Possible to SCREEN P2 clips in the FIELD without FCP?

    I'll be in the field shooting Panasonic P2 cards and downloading to a mac laptop. I'm not sure if the producer has fcp on the laptop but I want her to be able to screen the p2 footage after it's saved off the card.
    What's the best way to achieve this? It seems a bit tricky without fcp, and VLC doesn't bring up the p2 clips in a format that's screenable.
    Any ideas?
    Thx.
    Mark

    Sure. Get P2CMS (Free from www.panasonic.com/p2) or P2 Log (not free from www.imagineproducts.com).
    Shane

  • JAVA CODE Restricting users from entering Fractional numbers in Data forms

    Hi,
    is there anyone who can help me with the Java Script code of ValidateData.js file?? I am very novice in scripting and find it very difficult to write a proper javascript code to restrict the users from entering fractional numbers to HEADCOUNT cell. I would very much appreciate if i get some help from anyone out there.
    Users should be able to only enter whole numbers to the cells for Headcount entry.
    Kindly give me the layout of the script to be used. Has anyone out there ever done anything like this??
    Looking forward for a help.
    Thanks.

    Hi,
    I think customCellEnterPre and customCellValidatePre is the function you'd be using
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/apas02s01.html
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/apas02s03.html
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/apa.html
    You can refer to SampleValidateData.js that's within Planning deployment custom js folder for further reference and sample usage.
    Cheers,
    Alp

  • How to enter numbers in Arabic font in the fields

    Hi Everyone,
    I installed Adobe Reader 10.0.1 multi-Language and I am able to enter Arabic alphabet in the fields, but when I enter numbers in the fileds, it is English. I don't have this issue in MS-Word. i.e., both letters and numbers depend on my keyboard setting and is English or Arabic respectively. The numbers setting in windows in "depend on context" and I think is fine. Do you know how I can fix this issue? Is there any setting in Adobe that overwrights the Windows setting for numbers?
    Thanks a lot

    I won't say I am very clear about this topic. But I will give an example, which seems to show that number (in the double type) is logically of the form -000.00 while locale spacific String object can be both of the forms "000.00-" and "-000.00"
    // you can show the string below (formatted) on a JLabel with the following
    //<JLabel_instance>.setFont(new Font("Lucida Sans", Font.PLAIN, 22));
    NumberFormat nf = NumberFormat.getInstance(new java.util.Locale("ar","EG"));
    //NumberFormat nf = NumberFormat.getInstance(new java.util.Locale("fr","Fr"));   // compare
    DecimalFormat df=null;
    DecimalFormatSymbols dfs= null;
      if (nf instanceof DecimalFormat) {
          df = (DecimalFormat)nf;
          dfs = df.getDecimalFormatSymbols();
          dfs.setZeroDigit('\u0660');// set the beginning of the range to Arabic digits.. this can be commented out
          df.setDecimalFormatSymbols(dfs);
      String formatted = nf.format(-1234567.89);

  • Syncing only part of the playlists

    Hi,
    Is it possible to sync only part of the playlists? It seems that if I remove some of the songs from my hard drives, iTunes removes the files from my iPod as well. For example, in my iPod I have a playlist called ABC that contains a song DEF and GHI. If my hard drive no longer has these songs and the playlist's removed in PLAYLISTS, playlist ABC and the songs in my iPod will be deleted after I do a sync. How do I keep the songs in my iPod when they're no longer in my hard drive?
    Thanks,
    Sun

    If I select just one of the many playlists I want to update, it seems to update just that playlist and remove everything else.
    iTunes won't remove anything from the iPod if you are Manually managing your music.
    To remove songs from the iPod, YOU have to select the songs and delete them yourself.
    Just like if you want any songs on the iPod, YOU have to select them and drag them to the iPod.
    So it doesn't do incremental synchronizing?
    If you are manually managing your music on the iPod, it doesn't do ANY syncing.

Maybe you are looking for

  • Attaching/Retrieving Files from Access

    Good morning. I've been trying with little/no success to attach documents to an MS Access 2000 database via the JDBC-ODBC bridge, and was wondering if anyone here could give me some assistance in this regard. I can get the document information into A

  • Lacie D2 and Canon MVX150i,

    Recently I have been borrowing cameras to capture for projects, the Canon XM1 I had for a while was working fine connected to the Lacie. Now, I have tried using a Canon MVX150i and it just wont see eye to eye with the Lacie and wont capture with the

  • QoS Setup for Whatsapp and VOIP application

    Hello guys,                     I own a WAG320N modem. I wasnted to setup QoS priority for 2 applications "Whatsapp" and a VOIP application which allows me to call from a computer to a mobile phone. I use torrent applications and they take all the ba

  • Lightwave problem

    Hi there I am still having major problems with lightwave. I could not get it to run the other day as it kept coming up with cannot change module- or cannot access module error, so I reformatted the drive on my mac and reset the machine up with maveri

  • Updated wrong

    I tried to update my 5S phone but instead of adding a new phone I pressed update my phone.  How do I undo what I've done?  All of my old text messages are restored, all of my new is gone.