N/A in DataFields

Hi all,
When I map a domain class to a datafield, the field will
show N/A when the domain class has a NULL value. I
want it to show something else, like 'Empty' or 'Not filled
yet' or nothing.
How do I do that?
Overriding 'FillString' will let me format the value to any
string I want, but 'FillString' will nog get executed when
'IsNull' is TRUE.
Pascal.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Patrice,
OK, that is one viable option. But what if I want 'Empty' in
one window and 'N/A' in another?
Pascal.
Pascal,
to replace 'N/A' by whatever you want, you only have to :
- decompile the message catalog $Forte_Root\install\nls\fortemsg
(see Forte system management guide for utility Compmsg).
- edit the .msg file created by compmsg utility
- replace the string # 126 in set # 1 ('N/A') by another
(type a blank character in you don't want anything, not a nil).
- recompile the message catalog, replace the old by the new one,
shutdown Forte
- start a brand new Forte session, and enjoy the new string...
(cf : technote # 10783 & 11027)
De : Rottier, Pascal[SMTP:[email protected]]
R&eacute;pondre &agrave; : Rottier, Pascal
Date : jeudi 8 octobre 1998 12:38
A : Forte Users Mailing list
Objet : N/A in DataFields
Hi all,
When I map a domain class to a datafield, the field will
show N/A when the domain class has a NULL value. I
want it to show something else, like 'Empty' or 'Not filled
yet' or nothing.
How do I do that?
Overriding 'FillString' will let me format the value to any
string I want, but 'FillString' will nog get executed when
'IsNull' is TRUE.
Pascal.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Similar Messages

  • How to Sum the datafield of a sub-group?

    Post Author: [email protected]
    CA Forum: General
    Hello guys,
    I am having this issue that I want to only Sum the datafield at sub-group level, not the detail level. But when I do the sum, it is adding all the details. The reason I am having this is because I have somewhat duplicated details (they complement each other). I merge them using group (by Item). The Item QTY is the feild that they all have and they have the same value, but I only need one of them. Now I want to group them by order number and show the total of items I ordered. I Sum all the items' QTY, but instead of sum the QTY that's merged, it sums all the QTY from detail. Basically I am suming duplicate numbers.
    Is there any solution to this? Thank you.

    Post Author: [email protected]
    CA Forum: General
    Hello Jagan,
    Thank you for the help. I treid the Average running total, but the problem is that I cannot do Summary on those new fields on the parent group. Also I can't get rid of the dupliate because the singel record does not contain enough info, I need all the records to merge togather to collect all the required inforamtion. Before I will just created a merged view on my DB to get rid of duplicate records. But this time, I am linking too much tables (includes external server DB table) that I can't make a view for that.
    Basically I have an order that splits into multiple invoices that get shipped using an external server where the Actual Ship Date does not write back to our own ordering system. I am trying to see if all my items are ship on time. So I need to merge all the items QTY from invoices that linked with external shipping DB, and group them in one order.
    The main problem I have is that I can't do summary on many custome fields. I can made the correct amount using Formula Field that has a shared flag to not include duplicate numbers. But once I use the shared flag, the forumla is no longer useable by Summary.
    Anyway, I think I will just use Excel instead. I already have all the proper data, just that when I do group summary in Crystal, it becomes a problem. I will export the data and do analysis from there.
    Thank you for the help

  • Using a canvas as an itemrenderer - how to access the datafield?

    Yes... another ItemRenderer related question...
    So I have this advancedDataGrid of which I dynamically
    generate the columns in actionscript. Each of these columns get
    their own datafield.
    This code works well, since all the data displays nicely
    where I want it to be.
    However, in the columns there are numbers from like 0 to 10,
    these are put there by the default itemrenderer by using the
    datafield. Instead of just displaying these numbers, I'd like to
    use a canvas as an itemrenderer to draw something in the box based
    on the value of the number. So all I need to access in my Canvas is
    the value that is parsed by the datafield.
    I thought to do so by overriding public function set
    data(value:Object):void
    But what does value contain? I tried doing something with it
    but I keep getting errors. Does value just contain the entire
    dataProvider? Or is there a way to acces just the number that would
    be put on that position in the grid if I wouldn't be using a custom
    itemrenderer at all?
    I've searched tons of blogs but haven't found the exact
    answer to my question yet.
    Many thanks in advance.

    "Lvw2000" <[email protected]> wrote in
    message
    news:gnucks$8kh$[email protected]..
    > Yes... another ItemRenderer related question...
    >
    > So I have this advancedDataGrid of which I dynamically
    generate the
    > columns in
    > actionscript. Each of these columns get their own
    datafield.
    >
    > This code works well, since all the data displays nicely
    where I want it
    > to be.
    >
    > However, in the columns there are numbers from like 0 to
    10, these are put
    > there by the default itemrenderer by using the
    datafield. Instead of just
    > displaying these numbers, I'd like to use a canvas as an
    itemrenderer to
    > draw
    > something in the box based on the value of the number.
    So all I need to
    > access
    > in my Canvas is the value that is parsed by the
    datafield.
    >
    > I thought to do so by overriding public function set
    > data(value:Object):void
    >
    > But what does value contain?
    It contains the information needed for the entire row. Just
    put a break
    point in the code in your override function and then run the
    application in
    debug mode. Use the variables window to inspect the value.
    > I tried doing something with it but I keep
    > getting errors.
    Are the errors related to the value or are they related to
    something else,
    such as trying to set properties on subcomponents that have
    not been
    instatiated yet.
    > Does value just contain the entire dataProvider? Or is
    there a
    > way to acces just the number that would be put on that
    position in the
    > grid if
    > I wouldn't be using a custom itemrenderer at all?
    Look at implementing IDropInListItemRenderer and then look at
    listData.label.
    HTH;
    Amy

  • RE: DataField, update underlying data via TOOL,Express

    John,
    does it work if you mix the "CopyfromClipboard" method with the "PlaceValueinDisplayedField" ?
    If this is not the correct solution to you problem, could you please specify "where" it does not work ?
    Thanks a lot indeed.
    Best regards
    /Stefano
    Stefano POGLIANI Fort&eacute; Software Consultant
    E-Mail : [email protected] Tel : +33.0)450201025
    Fax : +33.(0)450200257 Mobile : +33.(6)08431221
    Visit the Fort&eacute; Web Site : http://www.forte.com/
    Ducunt fata volentem, nolentem trahunt....
    -----Original Message-----
    From: John Hodgson [SMTP:[email protected]]
    Sent: Wednesday, July 02, 1997 8:39 PM
    To: [email protected]
    Subject: DataField, update underlying data via TOOL, Express
    In TOOL code we PasteText() into a DataField, but the underlying data
    object does not get updated until the user interacts with the GUI.
    That causes problems if we need to use the underlying data object's
    value immediately after the paste. How can we:
    force an update of the underlying data object and
    ensure that the update goes through before our method call returns,
    i.e., ensure that if the update is via Forte events, those events
    are handled before returning.
    The context is a calendar lookup button that pastes into an adjoining
    DataField.
    John Hodgson |Descartes Systems Group Inc.|[email protected]
    Systems Engineer|120 Randall Drive |http://www.descartes.com
    |Waterloo, Ontario |Tel.: 519-746-8110 x250
    |CANADA N2V 1C6 |Fax: 519-747-0082

    Well, I think I have answered my own question, but I will leave it here in case anyone else has the same problem. 
    So, as far as I have been able to track down, it all went wrong when I was running through the connection wizard. 
    Under the section titled "Creating the Data Source" is describes how to find your database file and create the appropriate connection string. However, on my version of VS Express 2010 . It offered me a prompts , saying something like, "would you like to
    move this database file into the application directory and change the connection string" this sounded very sensible to me, so I said yes.
    All proceeded accordingly. And the database file now appeared in the solution explorer. 
    The app config file said that the connection string was 
    Data Source=|DataDirectory|\Database1.sdf"
    I presumed this would be interpreted correctly by the rest of the app, as it was generated by VS.
    But it didn't, what I cannot understand is how no error was generated. And data seemed to pull
    into the bound controls. 
    But I have been testing it for a while now. and it seems that if I manually override the config file with the actual directory where the file exists , then there is not a problem. Data is retained in the file 
    This is more of a VB.net question, but I couldn't find it in the drop down. I will try and move it there now
    Thanks guys for your patience. 
    p.s. RSingh , the code I posted above did come from the SaveItem_Click event
    handler

  • Access DataField in Itemrenderer when submitting to Database

    Hello,
    I'm really stuck on this one. I have setup an Itemrenderer in a Datagrid which manages a DateField. Users can enter a date and other values directly in the datagrid. When they click 'submit', I want to populate a row in a database and I have setup a service for this. A row is created in the db as expected however the date is not populated despite users having entered a value. Below is a code snippet:
    Datagrid
    <s:GridColumn dataField="datf" headerText="Period From" rendererIsEditable="true">
         <s:itemRenderer>
              <fx:Component>
                   <s:GridItemRenderer dataChange="updateRenderer()">
                        <fx:Script>
                             <![CDATA[
                                       public function updateRenderer():void {
                                            periodFrom.text = outerDocument.dtf1.format(data.datf);
                                       private function dateField_labelFunc(item:Date):String {
                                            periodFrom.text = outerDocument.dtf1.format(item);
                                            return outerDocument.dtf1.format(item);
                             ]]>
                        </fx:Script>
                             <mx:DateField horizontalCenter="0" verticalCenter="0" width="90%" id="periodFrom" labelFunction="dateField_labelFunc"/>
                   </s:GridItemRenderer>
              </fx:Component>
    </s:itemRenderer>
    </s:GridColumn>
    Handler
    protected function createBillResult_resultHandler(event:ResultEvent):void
                                            var dataProvider = itemsDg.dataProvider;
                                            var item = null;
                                            for (var i:int = 0; i < dataProvider.length; i++){
                                                      item = dataProvider.getItemAt(i);
                                                      trace(item.datf); <--- THIS IS 'UNDEFINED'
                                                      billItems.days = item.days;
                                                      billItems.ratu = item.ratu;
                                                      billItems.lnid = item.lnid;
                                                      trace(billItems.datf = dtf2.format(item.datf));
                                                      createBillItemsResult.token = billingService.createBillItems(billItems);
    I would have thought that I can access the value from the itemrenderer using the dataField property like I do with the other items.
    Please, please, please help.
    Brian

    This error "TypeError: Error #1009: Cannot access a property or method of a null object reference" usually show when you are trying to set something that doesn't exist at the time of calling.
    I create a test code and it works for me. Try to replicate you issue here:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                import mx.controls.Alert;
                // Data includes URL to album cover.
                [Bindable]                       
                private var initDG:ArrayCollection = new ArrayCollection([
                    { Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99, datf:'01/01/2012'},
                    { Artist:'Pavement', Album:'Brighten the Corners',     Price:11.99, datf:'01/01/2012'}
                private function addEmptyRow():void{
                    myGrid.dataProvider.addItem({
                        'Artist':'',
                        'Album':'',
                        'Price':0,
                        'datf':''
                private function showData():void{
                    Alert.show('Done');
            ]]>
        </fx:Script>
        <s:VGroup>
        <s:DataGrid id="myGrid" dataProvider="{initDG}" width="100%" variableRowHeight="true" editable="true">  
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="Artist"/>
                    <s:GridColumn dataField="Album"/>
                    <s:GridColumn dataField="Price"/>
                    <s:GridColumn dataField="datf" headerText="Period From" rendererIsEditable="true">
                        <s:itemRenderer>
                            <fx:Component>
                                <s:GridItemRenderer>
                                    <fx:Script>
                                        <![CDATA[
                                            public function updateData():void {
                                                data.datf = periodFrom.selectedDate;
                                        ]]>
                                    </fx:Script>
                                    <mx:DateField horizontalCenter="0" verticalCenter="0" width="90%" id="periodFrom" formatString="MM/DD/YYYY" text="{data.datf}" change="updateData()" />
                                </s:GridItemRenderer>
                            </fx:Component>
                        </s:itemRenderer>
                    </s:GridColumn>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
        <s:Button label="Add Row" click="addEmptyRow()" />
        <s:Button label="submit" click="showData()" />
        </s:VGroup>
    </s:Application>

  • Keep certain text in a datafield together when it is divided in more lines

    Hello,
    I have a datafield 'U_ketel_verw'. The field is set as Allow to grow. What I like to realize is that certain text in this datafield is kept together.
    This is my exemple:
    It looks like this now:
    A = MAG 135/7, B = MAG 135/71, C = MAG 135/7 SO17, D = MAG 135/71 SO17, E = MAG
    135/7 TTB, F = MAG 135/71 TTB
    I like to have it as:
    A = MAG 135/7, B = MAG 135/71, C = MAG 135/7 SO17, D = MAG 135/71 SO17,
    E = MAG 135/7 TTB, F = MAG 135/71 TTB
    This means that the part which I want to keep together is: E = MAG 135/7 TTB,
    Is there a way to solve it.
    Tim

    Hello Ian and Abhilash,
    I tried both your solutions but in both cases I get an error.
    In Abhilash case I still get the Boolean error
    In Ian's case I get the next error:
    In this matrix there should be a subscript. Like: matrix <i>
    I changed the code put <i> behind data.
    But I get a Boolean error.
    WhilePrintingRecords;
    stringvar array data;
    numbervar i:=1;
    stringvar data_disp;
    data := split({OITM.U_Ketel_verw},",");
    while i <= ubound(data) do
    if i mod 2 = 0 then
    data_disp := data_disp + data<i> + "," + chr(13)
    else
    data_disp := data_disp + data<i> + ",";
    i:=i+1;
    data_disp;
    Hopefully you both have another idea what need to be changed.
    Thanks,
    Tim

  • Make datafield in datagrid a hyperlink to website

    I makes an HTTPService request which returns data to a datagrid. One of the returned fields is a website (without the "http://www" and ".com" so basically just the guts ("mywebsite"). I want to make the datafield an active link but do not know where or how to do this.
    THanks

    You can Use A Renderer For that and can use Link Buttton as a component.
    Sample code below: I have Hard coded URL you can use data.url from your HttpService result.
    Application:::
    <?xml version="1.0"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="white" backgroundGradientColors="[0xFFFFFF, 0xFFFFFF]">
    <mx:Script><![CDATA[import 
    mx.collections.ArrayCollection; [Bindable]
    public 
    var myAC:ArrayCollection = new ArrayCollection([{firstName:"Prad",lastName:"Shek",url:"http://www.compassites.net"},{firstName:
    "Alex",lastName:"Harui",url:"http://www.adobe.com"}]);
    ]]>
    </mx:Script><mx:DataGrid id="dg" width="500" height="100" dataProvider="{myAC}"><mx:columns>
    <mx:DataGridColumn
    dataField="firstName" headerText="First Name"/><mx:DataGridColumn
    dataField="lastName" headerText="Last Name"/><mx:DataGridColumn
    headerText="URL" itemRenderer="LinkREnderer"/>
    </mx:columns>  
    </mx:DataGrid>
    </mx:Application> 
    Renderer::::
    <?xml version="1.0" encoding="utf-8"?><mx:LinkButton
    xmlns:mx="http://www.adobe.com/2006/mxml" label="Click On Me" click="navigateToURL(new URLRequest('http://www.compassites.net'))"/> 
    If this post answers your question or helps, please mark it as such.
    Cheers,
    Prad.

  • Datafield includes parent node

    I am confused. I have a datagrid like always. The
    dataprovider is my xmllistcollection, I have done this many times.
    the datagridcolumn in question is <mx:DataGridColumn
    dataField="Botanical_Name"/>
    The data in the xml is:
    <Botanical_Name>
    <em>Dianthus</em> 'Bath's Pink'
    </Botanical_Name>
    And that's exactly what I get in the field -- including the
    surrounding <Botanical_Name> tags. I want what's IN those
    tags, as usual not the tags. I
    cannot change the XML it is coming from a source, I must
    deal with it as is.
    What am I missing?

    It's not so simple. Yes, that is a child node. The XML
    document I am working with is actually an RSS feed. There is a lot
    of information in there, a lot of it I do not need. My original
    application was designed to be used with a more customized XML
    feed, and it worked fine. The client changed it on me to this
    insane RSS formatting.
    I have temporarily pulled the tile list I was using (with a
    custom renderer) in order to more easily debug this data. I am
    currently working with the code below. Clicking an item in the grid
    should populate the fields above it with the appropriate data
    items. Where would I put a function to get the actual text? The
    datagrid is less important than the text field above.
    <mx:VBox>
    <mx:HBox>
    <mx:Image id="largeImage" />
    <mx:VBox>
    <mx:Text id="plantName"
    text="{tl.selectedItem.Botanical_Name}"/>
    <mx:Text id="plantPhonetic" />
    <mx:TextArea id="plantDetails"
    text="{tl.selectedItem.Description}" />
    <mx:LinkButton id="plantLink" label="READ MORE"
    click="goPlant(event)" />
    </mx:VBox>
    </mx:HBox>
    <mx:DataGrid id="tl" dataProvider="{coll}">
    <mx:columns>
    <mx:DataGridColumn dataField="Botanical_Name"/>
    <mx:DataGridColumn dataField="Description"/>
    <mx:DataGridColumn
    dataField="Phonetic_Transcription"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:VBox>

  • Accessing nested child in model to populate datafield in datagrid.

    I am using Rails + Flex and I have problems to access nested
    xml in a datagrid.datafield.
    I reproduce this in a simple mxml sample:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" width="954">
    <mx:Model id="md">
    <root>
    <e1>el1</e1>
    <e2>el2</e2>
    <child>
    <c1>c1</c1>
    <c2>c2</c2>
    </child>
    <e3>el3</e3>
    </root>
    </mx:Model>
    <mx:DataGrid id="myGrid"
    dataProvider="{md}" >
    <mx:columns>
    <mx:DataGridColumn dataField="e1"/>
    <mx:DataGridColumn dataField="e2"/>
    <mx:DataGridColumn dataField="child"/>
    <mx:DataGridColumn dataField="child.c1"/>
    <mx:DataGridColumn dataField="e3"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Application>
    Basically, at runtime the content of 3rd column is object
    (alright) and the 4th column is empty whereas it should be "c1".
    Am I doing something obviously wrong ?
    Thanks for any help.
    Romain.

    http://www.adobe.com/devnet/flex/articles/e4x_03.html
    http://www.adobe.com/devnet/flex/articles/e4x_04.html
    you can use the labelfunction

  • 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]
    =====

  • How to format date and currency datafield in a Datagrid

    Hy folks
    I am getting my data from a web service (against a SQL server)
    After that convert the data in an ArrayCollection and
    Finally I use the ArrayCollection in a Datagrid ussing somethig like :
    <mx:collumns >
    <mx:DataGridcolumn datafield="EnvoiceDate" />
    <mx:DataGridcolumn datafield="EnvoiceValue" />
    How can I format a date tipe datafield in a Datagrid.
    I need to display da date in an format like  DD/MM/YYYY   ex     12/10/2009.
    I also need to display da number like 1345.87   as  1.345,87
    thanks in advance

    Binoy,
    create fields that refer to DATS and TIMS data types
    Thanks
    Bala Duvvuri
    Edited by: Bala Duvvuri on Aug 5, 2010 10:28 PM

  • Using Nested Object Properties as DataGrid dataField

    I am populating a DataGrid with an ArrayCollection of
    Objects. Each of those Objects has a property that is itself an
    Object. I want to use a property of the second (or "nested") Object
    as a dataField for one of my columns.
    Any idea how to make this work? Would a custom item render be
    the only way?

    Using the labelFunction property of the DataGridColumn would
    be enough:
    <mx:DataGrid width="100%" height="100%"
    dataProvider="{myAC}">
    <mx:columns>
    <mx:DataGridColumn dataField="myProperty1" />
    <mx:DataGridColumn dataField="myProperty2" />
    <mx:DataGridColumn
    labelFunction="myOwnLabel" />
    </mx:columns>
    </mx:DataGrid>
    function myOwnLabel(item:Object,
    column:DataGridColumn):String
    return item.myProperty;
    The function must have that signature in order to work, where
    item is an instance of the objects in your dataProvider and column
    is the DataGridColumn calling the function.

  • DataField, update underlying data via TOOL, Express

    In TOOL code we PasteText() into a DataField, but the underlying data
    object does not get updated until the user interacts with the GUI.
    That causes problems if we need to use the underlying data object's
    value immediately after the paste. How can we:
    force an update of the underlying data object and
    ensure that the update goes through before our method call returns,
    i.e., ensure that if the update is via Forte events, those events
    are handled before returning.
    The context is a calendar lookup button that pastes into an adjoining
    DataField.
    John Hodgson |Descartes Systems Group Inc.|[email protected]
    Systems Engineer|120 Randall Drive |http://www.descartes.com
    |Waterloo, Ontario |Tel.: 519-746-8110 x250
    |CANADA N2V 1C6 |Fax: 519-747-0082

    Hello Gfinistr
    From what I understand to be the case you would like to use an application like VeraMail on the Treo to access your email instead of using Blazer (web browser), correct?
    Here are some things to consider:
    1) Since your email account is set up through MSN/Hotmail (same thing technically) unfortunately the Palm Software VersaMail or even Chattermail which has enhanced features does not support MSN/Hotmail. The only devices that support this email client are the Windows Mobile Based Devices such as Treo 700w/wx, 800w and Treo Pro.
    2) Verizon's WirelessSync is a service offered by Verzion and basically you can set up an email account that will push directly to the verzion servers to access email and other information. https://www.wirelesssync.vzw.com/genweb/html/ext/Login.do?prefix=&page=/loginRedirect.do
    Message Edited by IrreducibleM31 on 03-13-2009 02:44 PM

  • DataField and DataBase record

    We have the following problem:
    when using a DataField mapped on a field of a database table,
    if the value of the table field is NIL, the content of the DataField is N/A.
    Is it possible to set it to an empty string instead of N/A without controlling
    explicitly every single DataField and every record in the database table?
    Thanks
    Giovanni

    Hello envision3d and bregent, I thankyou very much !!!
    "bregent" <[email protected]> wrote in
    message
    news:f0qkag$cmo$[email protected]..
    > >if you know how many records you have:
    >
    >>SELECT TOP 10 *
    >
    > Good idea. Just do a select count first and subtract 5.

  • Complex E4X query dataFields for DataGrid

    Hi all, still fighting with DataGrids. For today, lets assume
    I have some XML like this:
    var testData : XML =
    <categories>
    <category name="Category 1" id="1">
    <item year="2007">300</item><item
    year="2008">400</item><item
    year="2009">500</item>
    </category>
    <category name="Category 2" id="2">
    <item year="2007">600</item><item
    year="2008">500</item><item
    year="2009">300</item>
    </category>
    </categories>;
    And later, I define my DataGrid:
    <mx:DataGrid id="test" editable="true" height="100%"
    width="100%" dataProvider="{testData.category}" textAlign="center"
    alternatingItemColors="[#FFFFFF,#EAEAEA]" draggableColumns="false"
    >
    <mx:columns>
    <mx:DataGridColumn headerText="Category"
    dataField="@name" />
    <mx:DataGridColumn headerText="2007"
    dataField="item.(@year==2007)" />
    </mx:columns>
    </mx:DataGrid>
    I eventually want to define the columns dynamically, which I
    can do. But first, I need to figure out how to populate the
    columns. Why doesn't this E4X item.(@year==2007) query work
    properly? I can do Alert.show( testData.category.item.(@year==2007)
    ) in a script portion of the mxml, and it returns the fields that
    are expected.
    Thanks,
    Justin

    dataField does not support expressions.
    For nested xml data, you need to use a labelFunction. I have
    an example on www.cflex.net.
    Tracy

Maybe you are looking for

  • Can't access files with names too long

    I have some files on a Windows formatted external hard drive that have filenames that seem to be too long for OS X to handle. I can't open them, nor can I delete them. I can't even seem to "rm" them from the command line. I know they're there, and no

  • PDF Security Setting in Crystal report

    Hi All, I would like to ask, is there anyway for us to change the PDF security setting that created by crystal report?  We ussualy see the security setting in PDF documents settintg. Thanks! Nico

  • How to delete process forcedly

    There are some problems in BPM Standalone 10g. The workspace shows a process is not available. I try to undeploy it from the BPM standalone. However, it cannot be undeployed. I just changed the IP address one hour ago. Error message: The Process '/Pr

  • After trashing photos, still see photos in Modified file

    I wound up with duplicate photos in 2 iPhoto libraries (after splitting a library) and decided to delete dups in one library. I opened iPhoto selecting iPhoto Library #1 and then selected the photos in the iPhoto window, dragging them to the iPhoto t

  • Safari browser is crashing on iOS 7 platform

    My iPad is updated the latest iOS 7. Following web address I was browsing when I found the safari crashes. While crash, there were only one application was running behind and I was browsing thru wi-if network. https://locate.apple.com/in/en/sales/?a=