Avoiding N/A in numeric datafield : solution

Hello,
I finally found the solution to my 'N/A' problem in Forte Documentation.
As with Excel, you can provide more than one template dependind on the
numeric value :
Here is the text :
The Template value can contain as many as four formatting templates,
separated by semicolons:
the first template applies to positive NumericData object values
the second template applies to negative NumericData values
the third template applies to zero values
the fourth template applies only to NULL NumericData object values.
So if you use a template like
0;-0;0;MyText
the string MyText will appear in place of N/A.
If you want an empty string, just put one more ; in place of myText
Eric Decossaux
Cliniques Universitaires St Luc
Informatique des Laboratoires
+32+2+764 17 53

I have managed to avoid the dreaded "N/A" for null values by fully
defining a template for the field in question. For example, a currency
field would use:
$#,##0.00;$#,##0.00;$#,##0.00;;
In order, these four templates are defined for positive values,
negative values, zero values, and null values. Defining the null
template as ";;" avoids the "N/A".
I have not however tried this with domain fields. This also does not
check for maximum values.
Dan.
--- Eric Decossaux <[email protected]> wrote:
>
Hello,
I would like to have a datafield which is empty (blank) if no value
was
specified and which displays the value if there is one. The value can
not exceed a maximum value.So I want to use a domain field to avoid
N/A
and to check maximum value
I defined a domain class with superClass= integerNullable, form
widget =
datafield and template=integer.
To avoid having 'N/A' in the field, I overrided the fillstring
method(target:textData) with the code :
if self.isNull then
target.SetValue('');
else
super.fillString(target);
end if;
BUT I still have 'N/A' in the field. What's wrong and how to avoid
this
problem.
Eric Decossaux
Cliniques Universitaires St Luc
Informatique des Laboratoires
+32+2+764 17 53
For the archives, go to: http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a
new
email the word: 'Unsubscribe' to:
[email protected]
=====

Similar Messages

  • How does one avoid co-channel interference on dot11a solutions in EMEA ?

    When deploying wireless access points on dot11b/g, co-channel interference can be minimized by appropriate manual choice of channel numbers across the physical site.
    In the US, the same methodology applies for dot11a solutions, where manual frequency selection for an AP is an option.
    However, Here in EMEA, with compulsory DFS for dot11a, there appears to be no manual control at all on channel selection.
    The default behaviour as I understand it - is for an AP to pick a random channel during interface initialization, and then if no radar detected, continue to use that channel.
    (This has hit us on one solution, where four APs in neighbouring rooms at a client site selected the same channel on startup - causing significant co-channel interference!)
    So how does one avoid co-channel interference on dot11a solutions in EMEA ?
    Do wireless LAN controllers (with thin APs) have an option to preselect dot11a channels before the DFS listen check ? (Rather than just a random choice)
    The IDEAL solution, would be for Cisco to add the following option to its IOS syntax :-
    Interface dot11radio1
    Dfs band 2 3 4 block
    Channel 36 preferred
    Adding a preferred keyword option would allow co-channel interference to be avoided by design, whilst still allowing a DFS check to prevent wireless interference.
    If I wanted to pursue the inclusion of this new option into AP IOS, what would be the best method in tackling this?

    I don't have an answer for you but I do have a question. I have been researching the issue of which channels in the 2.4 band are permitted according to law in the various countries in Europe. We have offices in Germany, France, Spain, Netherlands and England and I was wondering which channels we are permitted to use. Do you know or could you point me to a document I could read?

  • I have an iMac (Mid 2010) and am running 0sx 10.8.5 and the WiFi always loses connection during sleep mode. I have seen numerous different solutions none of which seem to work. Can anyone help?

    I have an iMac (Mid 2010) and am running 0sx 10.8.5 and the WiFi always loses connection during sleep mode. I have seen numerous different solutions none of which seem to work. Can anyone help?

    Test after taking each of the following steps that you haven't already tried. Back up all data before making any changes.
    1. Make sure the network is on the preferred list by following these instructions. It's important to read the article carefully, as it's the starting point for any further efforts to solve the problem. If you skip any of the steps, the problem may not be solved. Make sure the box marked
              Remember networks this computer has joined
    is checked.
    2. Follow the instructions in this support article under the heading
              Symptom: After restarting or waking from sleep, my computer might not connect to the Internet
    3. Reset the PRAM.
    4. Make a note of all your settings for Wi-Fi in the Network preference pane, then delete the connection from the connection list and recreate it with the same settings. You do this by clicking the plus-sign icon below the connection list, and selecting Wi-Fi as the interface in the sheet that opens. Select Join other network from the Network Name menu, then select your network. Enter the password when prompted and save it in the keychain.
    5. From the Location menu at the top of the Network preference pane, select Edit Locations. A sheet will drop down. Click the plus-sign button to create a new location. Give it any name you want. In the new location, set up the Wi-Fi service with the same settings you used before. Click Apply and test.
    6. Launch the Keychain Access application. Search for and delete all AirPort network password items that refer to the network. Make a note of the password first.
    7. Repair permissions on the startup volume.
    8. Turn off Bluetooth and test.
    9. Reset the System Management Controller.
    10. This step shouldn't be necessary, but has been advised by Apple Support in some cases, apparently as a workaround for a bug. Open the Energy Saver pane in System Preferences. If applicable, click the padlock icon in the lower left corner to unlock the settings. Enter your administrator login password when prompted.
    Select the Power Adapter tab and uncheck the boxes marked
              Wake for Wi-Fi network access
    and
              Enable Power Nap...
    if present. Then, if the computer is a MacBook, select the Battery tab and uncheck
              Enable Power Nap...
    11. Reinstall OS X.

  • How to avoid Lags ? What is Alternative Solution ?

    I have studied we should always try to use lag as possible in schedule. How can i avoid lags , what is best practice and alternative solution to avoid lags?

    How to Fix a Slow iPad
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-A-Slow-iPad.htm
    iPad running slow? How to speed up a slow iPad
    http://appletoolbox.com/2012/07/ipad-running-slow-how-to-speed-up-a-slow-ipad/
    If You Think iOS 7 Feels Slow Here’s How to Speed It Up
    http://osxdaily.com/2013/09/23/ios-7-slow-speed-it-up/
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
     Cheers, Tom

  • Java stored proc. malformed values in numeric Datafield ...

    The java stored procedure functiones well, if it access tables that are on the same server.
    Retrieving Data from numeric field of a resultset will result in malformed numeric values , if the table I access it on another server.
    like sms.tabname@server.
    No matter , which methods I use
    rset.getBigDecimal , rset.getFloat /these will retrieve sometimes values with 20 to 40 digits!.
    Maybe some NLS related problem ?

    Hi,
    Which RDBMS release/version are you using (and whish one is the target)?
    Kuassi, http://db360.blogspot.com

  • Is there any solution to make getter called only once?

    In my application i can see getter is calling more than once. I know this is due to JSF life cycle, but can i avoid that?
    is there any solution to make getter called only once? what will happen if i use immediate ="true"
    thanks in advance

    debdutta wrote:
    In my application i can see getter is calling more than once. I know this is due to JSF life cycle, but can i avoid that?
    is there any solution to make getter called only once? what will happen if i use immediate ="true"
    thanks in advanceTake whatever you need out of the getter method(s) and put it in the constructor method of your bean. Then it only get called once. The getter method should only return the value and nothing else i.e. no database calls, calculations or anything else.
    Off topic, perhaps a sticky thread for this topic should be created as I see it being asked numerous times in the last four months.

  • Design Exercise - LAN Solution

    I have an opportunity to gain employment with a network consulting firm. Part of the process is to take some information that goes through a mock RFP and come up with a design. It is an excellent way for them to see what I have to offer given all the channels available in coming up with a design. I believe in the process of collaboratoin and was hoping I could engage some willing individuals to work with me in creating a design for a LAN Solution, Wireless Solution and WAN solutions. I have until next Wednesday to put something together for a presentation next Thursday. So if you like practicing your design skills and would like to work with me on this excercise, I would greatly appreciate it.
    The purpose of the excercise is not overerly technical in nature, but more high level. Here is the scenario:
    Overview
    The Widget International Group (WIG) is a prominent organization in the Upstate New York market. The WIG is looking to expand to a new regional office and build a new network. The network shall consist of high-availability, layer-3 routing, redundant, and fault-tolerant network equipment. Applications such as Voice over IP, Video over IP, WLAN, Voice over WLAN and possibly other leading edge applications may be utilized and, therefore, must be accounted for in this solution. The solution shall permit LAN segmentation via VLAN’s, and support VRF’s to avoid spanning tree issues. The solution shall support software modularity, to allow the switch software to be upgraded or downgraded with no service disruption, provide protected memory space for critical processes, and enable processes to be restarted independently of one another. Careful planning should be done to ensure that the WIG network has the flexibility to accommodate future applications. In addition to the solution parameters set forth in the following paragraphs, WIG would like the Contractor to review the overall functional requirements of the RFP and, coupled with the Contractor’s prior project experience, make recommendations on equipment and network configurations that may be overlooked in this document. All recommendations that are outside the requirements set forth herein, but may be of interest to WIG, shall be provided as an alternate solution and price. A separate Bid Form should be provided for each alternate solution and the Contractor shall state in their proposal which solution is most recommended for WIG and the reasons why.
    The Contractor will be responsible for providing a turnkey design and installation solution based upon the parameters described. The design effort required at a minimum will include, but not be limited to:
    Logical Network design presentation
    Physical Network design presentation identifying all components to be sourced by Contractor or furnished by owner.
    Description of diversity, redundancy and security aspects intrinsic to the design.
    Identification of any impact the new design will have on existing environment configurations (i.e. redefining IP schemes). If it is prudent for WIG to make adjustments to their IP Schemes in their existing environment, then they will require support for this also.
    Support for Open System Standards - The solution should be support open system industry standards, such as H.323, 802.1p and 802.1q, MGCP, SIP, TAPI, JTAPI, IPV4, IPV6, etc.
    System Administration - Maximum flexibility for rapid, efficient, and cost-effective configuration changes, affecting personnel and associated IP telephone equipment through a standard browser-based interface.
    LAN SOLUTION PARAMETERS
    The complete data network core shall consist of two (2) chassis-based switches with redundant power supplies, two (2) supervisor-engines/CPU modules per switch and the appropriate quantity of line cards to support 10GB fiber uplinks to the edge switches in four (4) IDF closets. Uplink quantities are outlined in table 1 below. Core switches shall connect redundantly between each other, to the WAN equipment, as well as the edge switches in the respective TC’s. All 10GB uplinks shall be non-blocking. Edge switches shall be located in the TC’s in sizes and quantities required to support the number of users in that particular area. WIG desires a stackable edge switch.
    There area total of 200 users.
    10 Servers with basic services such as email, HR applications - CRM, and Active directory.

    Hi Mheick,
    since this is part of a hiring process, I don't believe this is the proper forum to ask for assistance. The potential employer wants to know what you would do.
    Collaboration and team work are very important elements in the work environment but not for job placement. However,  researching on the web or this forum to find useful information is all you need to do to develop your own solution.
    And, if a company is expecting this as part of the hiring process, expect to be grilled over your RFP - if you can't validate your RFP and defend your choices .........
    Best of luck. Regards,
    Steve

  • How to keep session open in hibernate to avoid lazyinitializationexception

    how to keep session open in hibernate to avoid lazyinitializationexception - please suggest a simple solution ....

    Are we talking about Spring here?
    Then this document is going to save you:
    http://www.jroller.com/kbaum/entry/orm_lazy_initialization_with_dao

  • Help Avoiding iCloud Duplicates

         Hey guys,
    I have been trying to figure out how to avoid duplicates on the iCal when syncing to the cloud. I currently have the iPad and iPhone synced up seemingly without any issues - but when I go to add the Calendar on my MBP - every entry shows up as a duplicate on due to the cloud - what steps should be taken to avoid this?
    Is the best solution to turn off the cloud - sync up each device to the MacBook and then turn the cloud back on?
    Or is there something a little easier than that?
    Would love any hints/tips/suggestions.
    Thanks,
    -t

    Hey guys - after signing up, creating a few tags - I got directed to another post of users having the same issue - looksl ike my problem may have been solved - I bookmarked it the page with the page that helped solve the issue.

  • HT4623 I recently updated to ios6 & have now found my forward facing camera does not work. We have tried to reset ipad & numerous other suggestions but no luck. Why has this happened & how can I fix it?

    I recently updated my software to ios6 &amp; have now found camera not working on my ipad. We have tried resetting &amp; numerous other solutions but nothing has helped. Can anyone tll me why this has happened &amp; ow o I fix it, thanks

    1. Double-click the Home button to reveal Task Bar at bottom
    2. Hold the Camera app down for a second or two until you see the minus sign
    3. Tap the minus sign to close app
    4. Re-launch the app and test
    Note: If necessary close all apps in the Task Bar

  • Mail is telling me my password is incorrect do i have a " virus" issue?

    My mail program  has stopped receiving mail from the server, Cincinnati Bell, zoomtown.  I have had numerous weird sent items that come back as undeliverable to people not in my contacts. When i try to log in it tells me that my password is incorrect. I tried to check on webmail and CB is saying they have locked my account for suspicous activity and i should remove the " virus" and they will reopen  my account. I thought that macs did not get viruses.any idea what is  causing this problem?  

    Whatever motivated Cincinnati Bell to suspend your account was not the result of a virus, and it was premature of them to imply one exists. The most likely cause of unauthorized activity is that your credentials were stolen by any number of possible means, including some that are completely beyond your control. "Phishing" exploits and the many forms in which they appear are the most common explanation for theft of passwords and other sensitive information, and the only protection against that threat is recognition and avoidance.
    Pursuing an "anti-virus" solution for what you describe will be futile.
    Change your password, with their assistance if necessary. If you used that same password with other accounts, change them also. Don't use trivial passwords and make sure your wireless network and the devices that create it are protected by their own passwords, as well as from physical access by anyone you don't trust.

  • In gui_download FM can we input  FILETYPE = 'WK1'

    In gui_download FM can we use the filetype = 'wk1'. or it is going to support only BIN and ASC.
    i want to upgraded ws_download to gui_download.in that ws_download filetype was 'WK1' .so how to give WK1 IN GUI_DOWNLOAD.
    PLS ITS URGENT

    you can use WK1 also
    chk this help
    'ASC' :
    ASCII format. The table is transferred as text. The conversion exits are carried out. The output format additionally depends on the parameters CODEPAGE, TRUNC_TRAILING_BLANKS, and TRUNC_TRAILING_BLANKS_EOL.
    'IBM' :
    ASCII format with IBM codepage conversion (DOS). This format corresponds to the 'ASC' format when using target codepage 1103. This codepage is often used for data exchange by disc.
    'DAT' :
    Column-by-column transfer. With this format, the data is transferred as with ASC text. However, no conversion exists are carried out and the columns are separated by tab characters. This format creates files that can be uploaded again with gui_upload or ws_upload.
    'DBF' :
    The data is downloaded in dBase format. Because in this format the file types of the individual columns are included, import problems, for example, into Microsoft Excel can be avoided, especially when interpreting numeric values.
    'WK1' :
    The data is downloaded in Lotus 1-2-3 format.
    'BIN' :
    Binary format. The data is transferred in binary format. There is no formatting and no codepage conversion. The data is interpreted row by row and not formatted in columns. Specify the length of the data in parameter BIN_FILESIZE. The table should consist of a column of type X, because especially in Unicode systems the conversion of structured data into binary data leads to errors.

  • What is the diffrence between ASCII and BIN mode

    Hello All,
    What is the diffrence between ASCII and BIN mode
    Regards,
    Lisa.

    'ASC' :
    ASCII format. The table is transferred as text. The conversion exits are
    carried out. The output format additionally depends on the parameters
    CODEPAGE, TRUNC_TRAILING_BLANKS, and TRUNC_TRAILING_BLANKS_EOL.
    'IBM' :
    ASCII format with IBM codepage conversion (DOS). This format correspond
    to the 'ASC' format when using target codepage 1103. This codepage is
    often used for data exchange by disc.
    'DAT' :
    Column-by-column transfer. With this format, the data is transferred as
    with ASC text. However, no conversion exists are carried out and the
    columns are separated by tab characters. This format creates files that
    can be uploaded again with gui_upload or ws_upload.
    'DBF' :
    The data is downloaded in dBase format. Because in this format the file
    types of the individual columns are included, import problems, for
    example, into Microsoft Excel can be avoided, especially when
    interpreting numeric values.
    'WK1' :
    The data is downloaded in Lotus 1-2-3 format.
    'BIN' :
    Binary format. The data is transferred in binary format. There is no
    formatting and no codepage conversion. The data is interpreted row by
    row and not formatted in columns. Specify the length of the data in
    parameter BIN_FILESIZE. The table should consist of a column of type X,
    because especially in Unicode systems the conversion of structured data
    into binary data leads to errors.

  • UDF Value is not coming in the query report

    Hi all,
    i have designed query report based on AR Invoice which has some UDF .
    all udf have FMS applied and all these udf has values.
    when i run report some times udf values are coming in the report and somtimes not even if udf contains values.
    if i open perticular invoice and again update that udf and again run report now udf value will come in the report.
    every time i need to manualy update the udf even if that udf contain value.
    how to avoide this problem.
    Pls suggest solution.
    Regards,
    Chetan

    Hi Chetan,
    Try this,
    -> Open the require document(module).
    Assign this procedure and then ADD the document
    and Run the Query Report.
    1. Goto the UDF and Click (ShiftAltF2).
    2. Select the SEARCH BY SAVED QUERY.
    3. Assign the FMS Query in UDF.
    4. Select the AUTO REFRESH WHEN FIELD CHENGES.
    5. Select the Auto Refresh Field (for example CardCode (or) Remarks).
    6. Check the Display Saved Values.
    OR
    -> Open the require document(module).
    1. Goto the UDF and Click (ShiftAltF2).
    2. When will you add the document at that time
    you can Click the SHIFT + F2 and than ADD the document.
    and than Run the Query Report.
    Regards,
    Madhan.

  • ID CS5: How to include additional text into a table of contents and how to hide text from it?

    I have the following problem:
    1. I'd like to include additional Information in my table of contents which I don't want to appear in the text I refer to.
    Example: I do have a picture with a caption saying:
    picture 1: Blablabla.
    And I want to have the source of the picture as additional information in the table of contents:
    picture 1........Blablabla (source: thisandthat)........23
    Still I don't want this additional content to disappear, as soon as I update the table of contents!
    How can I achieve that?
    2. And how can I have this the other way round?
    Let's say I want the source in the caption, but not in the table of contents.
    So the caption says:
    picture1: Blablabla (source: thisandthat)
    but the table of content says:
    picture 1........Blablabla.....................23
    I was trying to achieve this by two different praograph styles in the caption. One which would be listed, and one which wouldn't be listed, but this of course resulted in always having two paragraphs in the caption, which I'd like to avoid:
    picture1: Blablabla
    (source: thisandthat)
    Any solution to this?
    Best Regards,
    Rainer Schwachsinn

    Sorry, missed the second part of the question. I think the only way to do that is to use invisible "dummy" text of some sort, and if you're going to do it for some entries, you might as will do it for all.
    One of the easiest ways is to put the text you want inthe TOC into an anchored frame attached to the actual heading in the text (so it moves along with it). Use a unique paragraph style for this text, and include this style, not the one applied to the headings inthe text, to make the TOC. I usually use a character color of red to make it satnd oout so I don't forget it's there, and the position on the page isn't really critical. Select the anchored frame, open the Attributes panel and make it non-printing. You'll see it in editing mode, the TOC will pick it up (as will variables, if required) but it will disappear on output.

Maybe you are looking for