hide an expression box - InfoPath Dev
in

InfoPath Dev

hide an expression box

Last post 08-12-2005 04:54 AM by Coita Thierry. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-10-2005 02:36 AM

    hide an expression box

    Hi,

    I have the following probleme:

    My XML

    <Stamps>
    <St1>Vogler, Karl</St1>
    <St2>Vogler, Karl</St2>
    <St3>Caplazi, Martin</St3>
    <St1>Huber, Joseph</St1>
    <St2>Schwerzmann, Guido</St2>
    <St3>Abplanalp, Manfred</St3>
    <St1>Imgrüth, Hansruedi</St1>
    </Stamps>


    What I try to do is:

    ...... ..... .....
    st1 st2 st3

    ...... ..... .....
    st1 st2 st3

    ......
    st1


    I have put this in a reapting section and the little point in an expression box but for the last line I have to hide the two last expression box! I have try different conditionnal formatting but that don't work:

    if st2 is blank hide this control (but the problem is that if one st2 is not blank all is not hide)

    The expression : current()/st2 = "" hide this control (but that don't work too)

    Have any idea about how to do that?

    Thanks in advance for your help!

    ++

    Thierry


    Every moment hesitated is a moment gone for life!!! Think about it
    Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
    merci de lire ceci
  • 08-12-2005 12:33 AM In reply to

    Hi Thierry,
    I dint fully understand your problem, but I think you are trying to hide the expressionbox if that field doesnot exist. For that one thing you might want to do is set the width of the Expression box to be auto, when you do this if that field doesnot have value then it will be compressed and you wont be able to find the difference.

    Agni
    InfoPath Dev India
  • 08-12-2005 04:54 AM In reply to

    Hi Agni,

    I have find a way! I have change the xml structure!

    Thanks for your help

    ++

    Thierry

    Every moment hesitated is a moment gone for life!!! Think about it
    Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
    merci de lire ceci
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.