Edit Size for Numeric fields - 2007 vs. 2005

Hi,
I set up a user-defined field with VB code in 2005 with an edit size of one; no problem.  The same code in 2007 fails saying that the field size deviates from legal range [1...11].  The "1" I am using is in the range. 
Any ideas?
Thx, mike

Dear
The UserFieldsMD.Size property is the actual size of the field in the
database and is set automatically based on the value set in the
UserFieldsMD.EditSize property. You should not assign any value to the
Size property.
So in your code, replace
  uf.Size = 1;
with
  uf.EditSize = 1;
best regards,
xiaodan an

Similar Messages

  • OBIEE Presentation Services : Default formatting for numeric fields

    Hello all.
    I need help in setting default formatting for numeric fields in criteria. If a user adds an numeric field, it does not have any formatting associated with it. I want to know how do you set default formatting (for example if user adds sales measure it should appear in default format like $1,000 or even with decimal places).
    Please help.
    Thank you.

    Hi,
    1) We have so many subject areas. If we select "system wide default for this data type", is this change going to reflect in all subject areas.No should do this subject area wise.
    2) Will this effect if we migrate from dev to prod environment.Yes it will effect.
    I hope u will follow this to-
    http://forums.oracle.com/forums/ann.jspa?annID=939 :)
    Regards,
    Srikanth

  • Need help for "Numeric field Overflow" error in excel 2003.

    Hello,
    a friend of mine have a problem exporting Business Objects 5.1.8 to excel 2003 (turning on windows 2000).
    Each time she want to export her reporting in excel format (.XLS), she obtain a "Numeric field Overflow (3349)" error.
    So, she export in .CSV format, but it's not easy to use for her following tasks.
    What could she do ?
    Does she do an "update" to newer version of B.O., or there are a solution at her problem ??
    Thanks in advance.
    Nicolas
    P.S.: I searched for solution on this forum, but found nothing.
    Edited by: Nicolas Kowarski on Sep 28, 2008 10:16 PM

    Hello Nicolas,
    Please post this query to the [Legacy Products|SAP BusinessObjects BI Legacy Products;  forum.
    That forum is dedicated to topics related to legacy products such as Business Objects Enterprise 5.x and 6.x.
    The forum is monitored by qualified technicians and you will get a faster response there.
    Also, all Legacy Product queries remain in one place and thus can be easily searched in one place.
    Thanks a lot,
    Falk

  • Maximum Size for a Field in a TABLE.

    Hi All,
    I need to create a field in a ZTABLE which can hold the maximum data. This is intended to hold a structure (of any kind) on a temporary basis untill another event is completed.
    What can be the maximum recommended size of a field in a ZTABLE.
    Thanks in advance..!
    Jr.

    It seems that the maximum is 3000 for a char field...Most recommended...Not sure...Just try to keep it small -:)
    Greetings,
    Blag.

  • Value Range for numeric field

    I'm fairly new to LiveCycle, I've used it to make forms for a bit, but am now hoping to make the forms much more advanced.  I'd like to know the best way to set a value range/parameter for a numeric field? I want the filler to be restricted to a range of $300 to $10,000 and if they try to enter below or above that value they would receive an error message.  I've looked at all the beginner material and am trying to get introduced to FormCalc and/or JavaScript but not fully comprehending the best/complete method (any guidance on where to start is also greatly appreciated).
    Thanks, Ed

    if (((300 < this.rawValue) && (this.rawValue < 10000)) || (this.rawValue == null)){
       true
    } else {
    this.rawValue = null;
    app.alert("Please enter a value between 300 and 10.000")
    I changed some things though... ^^
    If you want 300 / 10 000 to be true too then set <= instead of <.
    You can also change the app.alert message as you want.
    If you don't add the null in the beginning you might get an error message if it's on the validate event. If it's in the exit there shouldn't be a problem...
    Though this is just a little different from Paul's original solution.

  • Varying sizes for text fields

    I have multiple text fields on my form.  However, when I adjust the size for one, they all adjust also.  How do I stop this since I want teh text boxes to be different sizes?

    Are you asking about the FormsCentral designer or are you working with fields in Acrobat?

  • How to define the format for numeric field ?

    Hello
    I have Amount field and I would to define the format to be ( XX.XXX,000 )
    How can I do this ??
    I'm new in ADF and need your help ..
    rgrds
    Edited by: moh3li_pal on Mar 1, 2010 8:05 AM

    i have the same problem i try with pattern "###,###.##" but the application adf is the inverse "###.###,##" , this a bug or the pattern errornious.??Hi Joaquin. This is not a bug, although this is a little difficult to explain without face-to-face communication :D The confusing thing here is the difference between the 'special pattern characters' and actual output characters (which are chosen based on your locale).
    If you check the Java DecimalFormat class (which provides the rules for formatting) you'll see the following:
    Using , in the pattern = Grouping separator
    Using . in the pattern = Decimal separator or monetary decimal separator
    According to your locale, the grouping separator is '.' and the decimal separator is ','. So the pattern you have specified does dictate that you should get the result you have found.
    You either need to change your locale settings (best option) or cheat by switching the , and . in your pattern.

  • Fonts For numeric fields

    Hi all,
      In my smart form, I have a table containig columns as Material description, Quantity,Unit & Amount . While Printing smartform, data is not coming properly. Means, material description,Unit 's data are printing at upper part of table cell & quantity, Amounts are printing a bellow part table cell....this is my problem ....i need to diaply data in same line.....can any one please help me....:-(
    For this i have used smart styles...
    Thnaks In Advance

    Hi..
    (C) indicates the compression of blank spaces, out of the following text formatting options available in smartforms:
    &symbol(Z)& Omit Leading Zeros
    &symbol(S)& Omit Leading Sign
    &symbol(<)& Display Leading Sign to the Left
    &symbol(>)& Display Leading Sign to the Right
    &symbol(C)& Compress Spaces
    &symbol(.N)& Display upto N decimal places
    &symbol(T)& Omit thousands separator
    &symbol(R)& Right justified
    &symbol(I)& Suppress output of the initial value
    Did it solve your purpose?
    Regards,
    Karthik

  • Edit Autofill for a single field?

    There's a form I use a lot. I simply enter currency amounts into it in the form of xx.95. IOW, two digits, decimal, 95. So, when I wanted to enter 11.95, I had only to enter "1". One time, when I wanted to enter 11.95, I accidentally entered 11 and left out the .95. Now, when I enter "1", I get two choices:
    11
    11.95
    I would like to edit out the "11" so that I can go back to just typing "1" to get 11.95. I do NOT want to delete the Autofill for the whole form because there are a LOT of data in the other fields that I don't want to lose.
    So my question is: can one edit Autofill for one field in a form?

    Hi
    It would be nice to selectively edit these forms, as I have a few I'd like to change. Unfortunately, there is no easy way to edit selective entries for a particular auto-fill. I say "no easy way" as I'm sure someone has a more in-depth understanding of where this information is stored and how to edit/access that file. Such information is beyond my Universe.
    Within Safari, the only way to correct the entry is to remove it, then re-enter the information.

  • Change Font Size in a Field

    Hi - I am typing information into a Adobe document which was created by another user.  I would like to change the font size for the field so the complete entry can be viewed.  I have Adobe Acrobat Standard version 9 and my operating systems is Windows.
    Thanks so much for your help with this

    You have to go to the form edit mode. Check the properties (ctrl-D) to see if you are allowed to edit first.
    If so, try the forms menu>edit fields. Right click on the field and select properties. The is often an auto mode that will let the font size adjust if you run out of room.
    If you can not do the edit just suggested, then the form was likely created in Designer and you will have to select to edit the form with Designer to make the change.

  • Disable typing of non-numeric characters for numeric item

    Hi,
    For numeric fields, Oracle Forms checks the entry after the user tries to move out of the item.
    But, the requirement is to disable the typing of non-numeric keys when entering data in a numeric item.
    pls tell me how to achieve this..
    regards,
    Asim.

    Hi Asim,
    You can achieve this by using a PJC (or else you could try using some PL/SQL Code in the KEY-PRESSED Trigger or so.. but not sure).
    There is a demo available on OTN on how to achive this using PJC
    http://www.oracle.com/technology/sample_code/products/forms/index.html
    You could see a Key Filter demo under JavaBeans/PJC Samples (all available as part of the Forms demos).
    HTH.
    Regards,
    Arun

  • Display pattern of numeric field in adobe reader ver 8 and 9.

    I have added a text field to my form and have set the following properties:
    Type: Numeric field
    Limit length to visible area: checked (so that it accepts upto 9 digits)
    display pattern: zzz9
    data pattern: zzz9
    data format: Integer
    When I type "123456789" in the field, adobe reader version 7 and 9 are adding commas to the number and are displaying it as "123,456,789" while adobe reader 8 displays it the way i want "123456789"
    Appreciate if someone can quickly provide some guidance here.

    The issue is that the pattern that you are applying from the field cannot be applied to your input so the default pattern for numeric fields is being applied (hence the 123,456,789). If you make sure that your numeric field is set for integer (Binding tab/Data Format). Then set the display pattern to num{zzzzzzzz9}. It will work.
    The default pattern is held in the XDP template. It is created based on your locale. If you click on the XML Source tab (between Preview and Master Pages - if it is not visible then you can make it visible on the View/XML Source menu)then do a serach ctrl-F for numberPattern you will see where it is defined in the template. If you modify this one then it will only be applied for this form. Any new forms will revert back to the old pattern.

  • Wildcard search for numeric values using select ?

    Hi,
    I want do wildcard search for numeric fields of the table.
    For charcter/string i have used - select * from XX_TABLE where param1 like 'SS%'. But this query doesnt work when para1 is numeric. Please let me know first whether this is possible ? if yes how to achieve it ?
    Thanks in advance,
    Shrinivas

    Hi Jack,
    The numeric field is of  8 digits, so when i give search critera as '66', it should return values 66000000, 660000, 6600 etc. so i was not able to give between some range. I also tried storing all these values in internal table and the segregate the values it contains '66*'. This worked well but requires lot of coding effort.Please suggest if you guys have any better method ?
    Thanks,
    Shrinivas

  • Numeric field validation in Report Field

    How we can have the validation check for numeric field in report ?
    please help me on this

    Hi,
    Try creating a function that returns either 0 or 1 depending on whether or not the value is numeric and then handle the result accordingly.
    Something like:
    CREATE OR REPLACE FUNCTION IS_NUMBER(p_string IN VARCHAR2) RETURN NUMBER
    AS
    vNUMBER NUMBER;
    BEGIN
    SELECT TO_NUMBER(p_string) INTO vNUMBER FROM DUAL;
    RETURN 1;
    EXCEPTION WHEN OTHERS THEN
    RETURN 0;
    END;Then create a PL/SQL process that loops through your data. Something like:
    BEGIN
    FOR x IN 1..APEX_APPLICATION.G_F01.COUNT
    LOOP
      IF IS_NUMBER(APEX_APPLICATION.G_F01(x)) = 0 THEN
       ... do something if the value is not numeric ...
      END IF;
    END LOOP;
    END;Andy

  • I have created numerous forms in Designer and for some reason, "Edit in Designer" from PDF, I cannot edit any of the fields in Design View.

    I have created numerous forms in Designer and for some reason, "Edit in Designer" from PDF, I cannot edit any of the fields in Design View.

    Is it possible you accidentally put the fields on the master page?

Maybe you are looking for

  • Can we use BLOB instead of LONG RAW in JMSStore

    (Oracle 9i, Weblogic 8.1.2)           We are putting in place a Dataguard environment (or standby database). In such environment, prod data is copied to another database in 'pseudo' real time. Unfortunately some 'old' datatypes are not supported by D

  • Where do we specify Report category in HR Adhoc query

    Hi All. We have a standard query which shows a selection screen which is different in Production. When I went into the program behind the query and saw the report category, it is different in both the environments. I am not able to find where do we s

  • OTL Template customization - need timecard start date in projects LOV query

    Hello Folks, Can anyone help me with the below requirement? We need to restrict the projects LOV on the seeded projects timecard so that a resource can only select the project he/she is currently assigned to. We will assign the resource as key member

  • How to enter flex 10 bios?

    Ok, seems like a daft question, right? I bought one of these a few days ago and I cannot find a way of getting into the bios, other than via windows 8.1 itself. If this goes wrong, and I cannot boot it, I need to know how to get into the bios from th

  • SG500 in L3-Mode: new VLAN Interface won't create route

    Hello, i have some SG500 in a stack. The Stack has Routing enabled and everything works as expected. But now i created a new VLAN10, assigned an IP-adresse and i'm not able to route into this vlan. There is no entry in the routing table. In VLAN10 ar