` Distinguishing Midnight from no time entered (Richard Taylor ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

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 November 21, 2024, 7:41 am
This article has been viewed 35288 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: