Allowing a zero as the first digit in an insert record form field

I have a form that has an insert record behavior applied to
it. I would like to be able to put a number into one of the form
fields that begins with the letter zero (i.e. 010507). The trouble
is that when I insert any number beginning with a zero, the first
zero in the number gets dropped when it is entered into the
database. This occured even when I tried changing the field type
from number to text in Access.

Oh, I failed to change the field type to "text" in the insert
record dialogue box as well.

Similar Messages

  • Zero a a first digit

    How do you enter zero as a first digit in a cell? I want to enter zip codes and those from the east coast begin with zero.

    W3,
    Use Custom Format and set for 5 digits, no separator and "Show Zeros for Unused Digits"
    Regards,
    Jerry

  • How to retrieve the first digit of a number

    Hi,
    In my smartform (PO Form)I have to check a condition with respect of the first digit of company code. To be more clear i need to check that if the first digit of the company code is '1' (like in case of 1000, 1002, 1003 & so on) then my PO should be a 3rd party consignment. how do i do that?

    Hi,
    thanks for ur quick reply.
    but i just wanted to verify that can i use this condition directly  under the condition tab of my smartform as i never used like this.
    Now i have put the condition like IS_EKKO-BUKRS+0(1) = '1'
    And one thing to let u know that the filed size of company code is always same. i.e.4

  • When I sort a column of figures, it sorts by the first digit. How do I get it to sort by the whole number?

    I have a column of numbers, Specifically: 5.2, 42.0, 25.5, 2.4, 11.8, 0.9, 0.5. Notice how it has sorted by the first digit, not the whole number. In other words 5.2 is ranked higher than 42, because 5 is larger than 4. What do I turn on or off to make it behave sensibly?
    Any answers would be appreciated.
    Martin

    Hi Martin,
    Are the cells formatted as Text (left aligned, as in Column B)?
    Data Format in Column C
    Column C will sort as Number.
    Regards,
    Ian.

  • "#" key as the first digit of site prefix code

    The plan at present is to implement the centralized CCM cluster design with a main office and 10 remote sites in Asia where the first digit of site prefix code is "#" follows by two digits of country code and 4 digit internal extension. So that a remote site in Tokyo would be #816200. Can "#" key be used as first digit of site prefix code? Thanks.

    Yes, you can use the # to route calls.

  • Not allowing a number as the first char in the username

    Is there a particular reason why I am not allowed to create a username with a number
    as the first character? Or is this something that can be changed? If so, how
    can I go about changing it? I have edited the UsermgmtTools.properties to say:
    "disallowFirstCharDigit: false", instead of true... and rebooted the portal, but
    it did not seem to make a difference. Any help in this would be greatly appreciated.
    Thanks

    Oh, I failed to change the field type to "text" in the insert
    record dialogue box as well.

  • Get the first item value of previous record in a multi record block

    Hai,
    I have a multi record block with four items.I should get the first item value of the previous record so that I can increment its value in the current record.
    Thanks.........

    If you want a distinct value in each row or to be able to retrieve the records in the same order they were written then you should use a sequence.
    If you want to retrieve the records in the same order they were created in the block then you will need a diffferent solution to the one you outline here since a user could enter a new record between two others.
    I posted this a while back in response to someone who was using a sort_key item and resetting it for each row when a new record was inserted:
    If you make the sort_key bigger then you have much more room to insert new rows in between existing rows without having to reset all the sort_keys.
    Eg. you have rows with sort_keys of 129282000000000000 and 129283000000000000 (you can have more zeros if you want) and you want to insert a row in between. if you're using oracle forms then the user would have to click on the first of these rows and then do 'insert'. in your insert process you would store the sort keys of the current record and the one below, create a blank record in between and set the sort_key of that record to the average of the other two. you will be able to insert many new rows in between the original 2 before running out of space in the sort_key field.
    the method above is not sufficient, there are some other cases to consider:
    1) when the user is on the last record of the block then you will just create a new record with sort_key set to a greater number than the row before. you can have the sort_key defined as number(38) and to safely allow you to enter 1000 rows each new row would normally be 10E33 greater than the previous one.
    2) when the user is entering the first record then just set the sort_key to 10E33.
    3) on the off-chance that you do insert a great number of records and cannot insert another in between then you would need to alert the user, process the records so that the sort_keys are evenly spaced and requery the block. this processing could be scheduled nightly to make this eventuality even less likely.
    4) make sure the user cannot run the default 'clear_record' procedure. this would break my method as well as yours!
    James.

  • Why would my PDF Form print out the tab order on top of my form fields?

    When this user prints out the filled out PDF form we created, it prints the tab order as a little square numbered box right on top of the form field entry.  The tab order prints over all types of fields, text entry fields, check box fields, etc.
    I am not sure if this issue is related to someone using a non-Adobe PDF reader, or an issue with their printer?   Unfortunately, we cannot duplicate this issue ourselves and are hesitant to interrogate our client futher on the matter. 
    Has anybody else ever seen this type of print out from a PDF form issue?

    Thanks for your reply!  Based on your suggestion I did a little experimenting.
    This is a form saved to Enable User Rights so PDF viewers can fill out and email or save the form.   After seeing your question, I opened the form for editing (actually saving a copy first that was not restricted, and editing the copy).  I then toggled the Tab Numbers on via Tools > under the Forms header I clicked Edit > Other Tasks > Edit Fields > Show Tab Numbers.  After revealing the tab numbers I then tried to save the form as a Reader Extended PDF, but the Enable Additional Features option was grayed out.  Even if I wanted to, I could not save the form with the tab numbers revealed.
    The form itself was also received by our company electronically and when viewed does not show the tab number order and when we print it, it prints as expected (no tab order numbers).
    We are suspecting that this may be an issue either with the end users printer? Or possibly viewing and printing via an alternate viewer like Foxit?
    Anybody run across this odd behavior?

  • I need to verify that Acrobat Standard XI has the ability to add a digital signature form field to an existing PDF file.

    Can anyone answer this question for me?
    As in, a PDF that has already been created in a different version and has established form fields. Can I open it in Standard and add a digital signature to a field or do I have to use Pro, or does the form need to be recreated? The comparison chart is kind of unclear about this.
    Message was edited by: Danny Yoder
    Message was edited by: Danny Yoder

    Yes. It was possible in Acrobat X Standard and I do not think it was removed in Acrobat XI Standard. It does not matter with which version your PDF was originally created. You can always add fields.

  • Single Record Form: fields display with the wrong width

    I'm laying out fields on a single record form and notice that the width of the fields displayed when I run the form is less than the width I specify on the "Edit Page Item" page. Here are 3 examples:
    field 1: Display as=text, Width=100, Maximum Width=100, ==> displayed width=76
    field 2: Display as=text, Width=50, Maximum Width=50, ==> displayed width=46
    field 3: Display as=textarea Width=100 Maximum Width=100 ==> displayed width=100
    Anyone know why this is happening? I'm trying to layout the form so that it has a pleasing look. It's hard to get the fields lined up when they don't display according to the widths specified.
    Edited by: Corvette Captain on Aug 9, 2012 3:21 PM

    Hi,
    >
    I'm laying out fields on a single record form and notice that the width of the fields displayed when I run the form is less than the width I specify on the "Edit Page Item" page. Here are 3 examples:
    field 1: Display as=text, Width=100, Maximum Width=100, ==> displayed width=76
    field 2: Display as=text, Width=50, Maximum Width=50, ==> displayed width=46
    field 3: Display as=textarea Width=100 Maximum Width=100 ==> displayed width=100
    Anyone know why this is happening? I'm trying to layout the form so that it has a pleasing look. It's hard to get the fields lined up when they don't display according to the widths specified.
    >
    Setting the Width of the Page Item sets the input elements "size" attribute. HTML rendering based on size attribute is not a precise as you need. You should use CSS for precision. See Compatibility Notes
    Cheers,

  • Still have the first letter missing when typing in forms

    Thought this may have been fixed in 10.5. Anybody else experiencing the same thing?
    MBP 2.4

    I was using Firefox, not IE. Yes, all keys seemed to work just fine, as well as the keyboard and mouse, which made it so weird and hard to figure out. But it was all the mouse. I guess it had cancer.

  • How to add the percent (%) symbol at the end of a number in a form field

    Hi,
    I need to display a percentage as a result of a calculation in the form: 80.23%
    How can I direct the Format Mask     inside an APEX form to display that?
    I use a PL/SQL expression
    Thank you

    There is no solution to this?
    I would think that since the percent symbol is a very common symbol next to numbers that it should have been a native format in oracle.
    this needs to be escalated to the database team.

  • I can't read the text in my Acrobat pro fill forms fields

    I used to be able to render text with my acrobat pro, now the function is missing.  I can't read what people put in the fields I create in my forms if they don't fill it out with acrobat when they email them back.  This didn't used to be the case. One month ago I could render the text.  I had help from a tech at Adobe about a year ago on this and he changed my acrobat somehow so now I can't update it because it's been "modified".  How can I make my text visible?   Thanks!

    Read this:
    Renderable Text?

  • First digit disappears

    I am facing a peculiar situtation in our multiple forms application. The situation is like this-
    In form A I have a text field named TEXT1 with data type as number.I navigate from form A to Form B and perform some update in Form B. After this I come back to Form A and type a number in the field TEXT1. The first digit that I type in this field almost always disappears. If I do not perform any update in form B this does not happen and things work fine. I am messing up something that I am not aware of.
    Does any body have any clue?
    Thanks for help.

    I've experienced this peculiarity sporadically as well. From what I can tell, sometimes it does this: you navigate to the text item, you enter first char, magically this char gets selected, next char you write replaces selection and from there on everything seems normal.
    I think it's a bug in the java gui part, and some of these things have gotten better with new Jinitiators. 1.3.1.8 on Unix was horrible, 1.3.1.9 (windows) was better and I don't see it happening (much?) with 1.3.1.13 (also on windows).
    Some people tend to experience it more often than others. I've hypothesized somewhat about mouse drivers and that sort of thing ...?
    Regards,
    Jesper Vad Kristensen

  • Limit the amount of characters of a text field based on first digit

    Hello and thanks in advance for your help!
    I would like to limit the amount of characters of the text field based on the first digit of the number (the text field is only limited to a number format...no decimals, no commas).
    For example, if the number begins with a 3, I would like to limit the text field to allow only ten characters. I have three scenarios but if I could get started with some code and what is the best place to add it (keystroke or validation?) I can take it from there. Thanks again for your help!!

    I've written this code for you that does that. Use it as the field's custom Keystroke code:
    // Validate that only digits are entered
    if (event.change) {
        event.rc = /^\d+$/.test(event.change);
    // Validate string length if it starts with 3
    if (/^3/.test(AFMergeChange(event))) {
        event.rc = AFMergeChange(event).length <= 10;
        if (!event.rc) app.alert("If the number starts with \"3\" it may not be longer than 10 digits.",1); // optional error message
    You can duplicate the second part of it for additional conditions, but keep in mind that this code won't even let you remove the first character in the field if the result is an invalid one.
    For example, if you enter "234567890123456" then you can't remove the "2" at the start because that would result in an invalid number. You can remove any of the other digits, though, and when it's 10 digits or less then you could remove the starting "2" as well.

Maybe you are looking for