Results 1 to 5 of 5

Thread: [RESOLVED] in my formula I need to hide a text object placed in details section

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2006
    Posts
    589

    Resolved [RESOLVED] in my formula I need to hide a text object placed in details section

    Hi,
    I have a text object including a command field from my database. When the command field is equal to certain value like, more precisely when it s equal to:
    "12/31/9999" , I want to hide that text object ie replace it with space character.

    How do I reference the text object in my formula editor, and how do I make it hidden?

    Thanx.
    Thanks a lot for your help.

  2. #2
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: in my formula I need to hide a text object placed in details section

    Instead of a text object use a formula field
    Code:
    If {Table1.Command}="12/31/9999" then " " else "Text"

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2006
    Posts
    589

    Re: in my formula I need to hide a text object placed in details section

    yes but instead of "Text" I want a date. I guess that gives an error, since the empty string "" doesn t match a date, which guves an error.
    Thnx
    Thanks a lot for your help.

  4. #4
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: in my formula I need to hide a text object placed in details section

    Try (replace CurrentDate by your date) :
    Code:
    If {Table1.Command}="12/31/9999" then Date(0,0,0) else CurrentDate

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2006
    Posts
    589

    Re: in my formula I need to hide a text object placed in details section

    thnx a lot, works miraculasly
    Thanks a lot for your help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width