` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Distinguishing Midnight from no time entered
1998-11-11 -- Richard Taylor
 
>But if using @t1 as a picture then midnight is displayed as 0:00 >which using @t1b will display as >How can I differentiate between 0:00 (midnight) and 0:00 (no time >entered)? You could make the picture conditional, based on whether there was any value in the field, like this: IF TimeField !Is there any value in the field at all? ?TimeField{PROP:Text} = '@t1' !If so, display it ELSE ?TimeField{PROP:Text} = '@t1B' !but blank an empty field END This way the field will display blank for no time and 0:00 for midnight.


Today is May 6, 2024, 3:04 pm
This article has been viewed 35111 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: