How can a field be formatted to limit the specific characters it accepts.

Need to limit a field to accepting only one of four characters. For instance a field that will accept on an M Q or X.

This works but I had to remove the returns so the script was one continuous line. And I had to add an xtra } at the end
The simpleist:
event.rc = event.value == "" |event.value == "M" || event.value == "Q" || event.value == "X"; or a validation with a prompt: if (event.value !="") {if( event.value != "" && event.value != "M" && event.value != "Q" && event.value != "X" ) {app.alert("Input must be M, Q, or X", 2, 0);event.rc = false;}}
Thanks
Pandora273

Similar Messages

  • How can I copy cell formatting from one range to another?

    How can I copy cell formatting from one range to another, including text fonts, colours, borders, etc., so that, for example, I can reuse a formatted reconciliation table again in different parts of a sheet?

    Hi George,
    Wayne found the Spinning Beachball of Death, and you will find it too.
    Numbers is not good at handling large datasets. Might I suggest that you group your data into smaller sets (each month, perhaps?) and save each group in a separate Numbers document. Numbers will not link between documents, but you could have a summary Table within each document. Then comes the "clunky" bit of copying all those summary tables into a master document where you do the final processing of the data.
    Regards,
    Ian.

  • How can i see my formatted document??

    Hi,
    I have this table
    CREATE TABLE ARCHAEOLDB(
    ID_DOC NUMBER(5) PRIMARY KEY,
    NOME_DOC VARCHAR2(200),
    FMT_DOC VARCHAR2(10)
    this is an example of my formatted document in my table.It has stored in my file system
    INSERT INTO archaeoldb VALUES(1,'RapportiSiciliaMagnaGreciaEtruriaTestimonianzaAraTarquinia.doc','binary');
    My datastore is file_datastore, and my filter is inso_filter.
    How can i see my formatted documents from php?
    I tried to create a table that contained the text of every document,using ctx_doc.Filter, in this way
    create table doc_filter
    query_id number constraint doc_filter_key primary key,
    document clob,
    format_doc VARCHAR2(10) default ‘binary’
    begin
    Ctx_Doc.Set_Key_Type ( Ctx_Doc.Type_Primary_Key );
    Ctx_Doc.Filter
    index_name => 'archindex' ,
    textkey => '2',
    restab => 'doc_filter',
    query_id => 2,
    plaintext => true /* try the effect of FALSE */     
    end;
    but if i runned from php
    select format from doc_filter where query_id=2 ;
    the result was a not formatted document..
    how can i solve my problem??
    if there are other solution, it's ok!!
    I tried in many ways, but i can't solve this problem!!
    thankyou

    SORRY!

  • How can I know in which Tables are the fields stored

    Hi,
    In transaction FSE3 Display Financial Version
    Statement Version, if I drilldown in details, I can
    see Item No, Chart of Acc, From Accountm To Account D,
    C.
    when I do a F1 on the fields, I can see that it is a
    structure. How can I know in which Tables are the
    fields store?

    Hi Ankit,
    There are no rules or guidelines for finding the table but i will share some of the tips used generally.........but i am not sure if we can do it for a tree structure..but try anyways....
    Double click on the structure name seen on the F1 pop up window...
    in the structure screen, try to analyse the field which is very important something like a key in that set of fields or do the same for the fields which we feel are more important,then click on the domain for that field....once in the domain..click on the "where used list for the domain" on the top...
    it will display a pop up -> select only "table" and then press "Tick/OK"..A list will be displayed with the data element and table name ..from this we need to find out the right one we need either by going for text of the table or going through each and every one
    It takes time but does the job.....
    Regards
    Byju

  • TS1702 I have ePub documents that won't open using iBooks, how can i get them formatted so that I can use them

    I have ePub documents that won't open using iBooks, how can i get them formatted so that I can use them

    You could try downloading a program called Calibre.  It is very good at converting files between formats.  I use it all the time to convert PDF's from work to read on iTunes when I don't want to have to keep zooming in and out to read the actual text. 
    I know that iBooks will read PDF's but they can get pretty squashed down some times. Especially if the original font was small to begin with.  So I run them through Calibre and then email them to my phone and open them in iBooks. 

  • PAL or NSTC, how can i tell what format the vid clip is?

    The 2nd abbreviation might be wrong...
    concerning vid clips
    How can you tell what format clips are in before iMovie tells you?
    I don't want to combine the formats and cannot figure a way to tell the difference before trying to burn the dvd

    At the top of the iMovie project window it will tell you by giving the name you gave to the project as well as 'DV NTSC, or DV NTSC Widescreen.
    Somewhat confusingly, when you set your choice of NTSC or PAL in iMovie's preferences when starting a new project (you can't switch later), these are only identified as 29.95 fps (which is NTSC) and 25 fps (which is PAL). Once you have set that, all iMovie projects you start will default to the same until you change it. You cannot combine the formats in the same project.
    As you are in the USA yours will probably default to NTSC which is the TV system you use there. In Europe we set it to PAL which is what we use here.
    A bit rudely, we also say that NTSC stands for 'Never The Same Colour Twice'!
    PAL used to stand for 'Prolongs Active Life', but that was actually the tag-line in a dog food commercial! But they are useful mnemonics to remember them by!

  • How can a field dclared as decimal initially displayed as blank urgent.....

    hi all,
    how can a field dclared as decimal initially displayed as blank.......... i have decaled a field as p. and assigned space to it . but when it is displayed it is diaplayed with zeros..........i want that to be diplayed as blank

    Hi Soniya ,
                        you can write the following statement also.
                        Data : P type d value space.
                         This will diaplay blank.
                         reward Points if it work.
    Thanks
    Jitendra

  • How can I download Raw format photographs into my iMac from my Sony A850 camera?

    How can I download Raw format photographs into my iMac from my Sony A850 camera?

    Looking at this article, it doesn't look like that camera model is supported by iPhoto. You may want to get in touch with Sony and see if they have any software that will allow you to import/view it.

  • How can i recognize mixed format of text?

    Mission:
    if some text has "regular" fontstyle, i apply to it Bold style. And if it have mixed fontstyle (both bold and regular) i would like apply the Bold Italic style. But i discovered, that property FontStyle of text with mixed style is "Regular"! Then how can i recognize mixed format of text?
    Thanks.

    When you have a text reference, check to see how many textStyleRanges it has. If more than one, you have mixed formatting. Check the style of each textStyleRange.
    Dave

  • How can I move paragraph formats from one document to a new one?

    How can I move paragraph formats from one document to a new one?

    > How can I move paragraph formats from one document to a new one?
    Have both open.
    File > Import > Formats
    Import from Document: [ nameofsource.fm ]
    [ Deselect All ]
    [*] Paragraph Formats
    [ Import ]
    Now, do the existing paras in the importing document have exactly the same names?

  • How can I upgrade my Photoshop Element to the most recent changes. Thank you!

    How can I upgrade my Photoshop Element to the most recent changes. Thank you!

    Hi,
    If you mean "How do you upgrade to Photoshop Elements 13 from an earlier version" then you need to buy the new version. There is an upgrade option but if you shop around then you can sometimes buy the full product cheaper. They are both the same product once you have installed them.
    If you install Photoshop Elements 13 on the same system as your old version the you can convert your existing catalog to the new format.
    Note that Photoshop Elements 13 will not work on older operating systems. The 30 day trial version can be downloaded from here
    Download Photoshop Elements products | 13, 12, 11, 10
    If you are asking about updating the camera raw in your current version then we need to know which version you want to update. Normally, you can go to the Help menu and select Updates.
    Note that each version has a limit on the version of camera raw that it can use - again we need to know which version you currently have.
    Brian

  • I had an apple ID which I used for iCloud.  I upgraded the iCloud account and changed the apple ID to a @me address. Now I can't view what was in my original apple ID account.  How can I get what was stored on the original account?

    I had an Apple ID which I used for iCloud.  I upgraded the iCloud account and changed the apple ID to a @me address. Now I can't view what was in my original apple ID account.  How can I get what was stored on the original account?

    cathorio wrote:
    I recently changed my lap top. My problem is the new lap top won't accept my apple I D it asked me to sing up for a new one which I did.
    I am puzzled by this. The laptop doesn't need the Apple ID - but iTunes does. I could be missing something but ....
    Why would you not be able to use your existing Apple ID and iTunes account on a new laptop? If you authorized the computer - you should be able to use your existing account - unless you already had 5 computers authorized with the existing ID - and that was why iTunes would not accept the ID. However, I'm sure that you would have received a popup message from iTunes telling you that you had reached the limit.
    I just received a new MBP and my daughter did as well. My entire family shares an Apple ID and we had no issues at all with my Apple ID and iTunes on our new computers and I did not have to sign up for a new account. Did you even try the old ID?

  • HOW can I get a GOOD copy of the iTunes software for my desktop?

    I solved MY corrupt firmware file problem!
    A little background- I deleted all Apple, iPod, and QuickTime software from my desktop PC and reloaded iTunes for the (I don't know how many) time. Same thing! Downloaded it again and used the "erase iTunes" option then reloaded again and had the same result. I then cranked up my old laptop and when I got to the Apple website, I was offered an opportunity to download QuickTime and took it. It came with iTunes if I wanted, so I took that too. After the download, I plugged in the Nano and it restored to Windows format. I did not want it to sync to the laptop, so I took it to the desktop and was able to sync with Nano and downloaded my tunes. TALK ABOUT HOKEY!
    WHY does the restore program have to be resident on MY PC or MAC anyway? Seems like I could just as simply download a current copy from Apple every time I want to restore.
    WHY doesn't Apple do something about this problem and let users know about the solution? Do they not want to grab a share of the Windows business? Here is an excellent opportunity!
    Now for my question.
    HOW can I get a GOOD copy of the iTunes software for my desktop? I now know it works! Is there a hidden file or folder I should delete before I make my next attempt to cleanup and download? Why isn't this information public?
    I spent over 30 years in the DP industry. PC is not my area of expertise, but this must be the most frustrating experience of my years.
    desktop   Windows XP  

    I THINK I have solved the problem. Can't be 100% because I don't want to try a restore. At least the Apple home page lites up correctly with quicktime now. It hadn't in the past.
    Thank you for your assistance. - LRB
    desktop   Windows XP  

  • How can i create a new item in the app "health"?

    how can i create a new item in the app "health"? I need a field for documentation of "Waist-to-height ratio", exactly for "circumference".
    It's a matter of common knowledge, that the Waist-to-height ratio (WHtR) has more significance then the Body-Mass-Index (BMI).

    If you mean you want to change a color of a calendar category or create a new one, you cannot do that, what is pre-loaded is what you get and cannot be edited.

  • How can I set my Mac to only share SPECIFIC folders with Win7

    It used to work, but, even though I have set only my Public folder and a specific photographs folder to share with a Win7 PC on my home network, the Win7 machine can see the entire Mac HD.
    I followed instructions from here:
    http://www.trickyways.com/2011/07/file-sharing-mac-os-x-lion-and-pc-windows-7/
    But if I type Run then enter the ip address of the Mac, all the folders appear. Is there a way to limit them to only the two specific folders?
    I've mapped the single folder to a drive, so admittedly, unless you go into "Run", you can't see the other Mac folders and drives, but I'd still like to make sure it can't be done.
    Thanks

    Welcome to the Apple Community.
    Cricket66 wrote:
    ........ How can I set photo stream to only upload specific images?
    That's not possible unfortunately.

Maybe you are looking for

  • Problems with ps files to destiller from Indesign CS3

    Hello out there I have som problems when I save ps files for ferther work in destiller. It appears small lines from priceboxes that are grouped together in my dokument over pictures. This only appears when I save through postscrip and destiller and n

  • Custom Filename for Export Data from a Query

    Hi, Would like to define a custom filename for the file to be download as a csv from the web query, Is it possible? Regards Chocks

  • Need help with MIDI for Korg M3

    My current set up is Korg M3 and Access Virus TI2; audios are hooked into a Behring Xenyx 1204fx (USB) with both M3 and Virus TI2 USB plugged into my MAC. Right now I'm having difficulty in setting up MIDI tracks on Logic 9 using MIDI channels from m

  • Is JWSDP+JNI workable?

    Hi, Is it workable to use JSWDP+JNI on Linux? I am trying this, but when ever I am using a class which will call System.loadLibrary(mylib), the client will show the following error message: [java] java.rmi.ServerException: JAXRPC.JAXRPCSERVLET.28: Mi

  • CC&B-MDM OUBI 2.4 Out of box batch jobs related question?

    friends, I have a Question on CC&B 2.3 Out Of Box BI batch jobs: SP/Meter Extract batch jobs are in MDM OTB but we are not sending a specific SP Type to MDM as it is and Item based SP. How do I extract that info from CC&B without a lot of Custom. Ale