|
-
Apr 17th, 2008, 10:56 AM
#1
Thread Starter
Fanatic Member
[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.
-
Apr 17th, 2008, 01:03 PM
#2
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"
-
Apr 17th, 2008, 02:16 PM
#3
Thread Starter
Fanatic Member
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.
-
Apr 17th, 2008, 02:40 PM
#4
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
-
Apr 18th, 2008, 08:16 AM
#5
Thread Starter
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|