Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: If Then, Else Maximum Time Post Reply Post New Topic
Author Message
KSAnalyst
Newbie
Newbie
Avatar

Joined: 04 Mar 2008
Location: United States
Online Status: Offline
Posts: 29
Quote KSAnalyst Replybullet Topic: If Then, Else Maximum Time
    Posted: 04 Mar 2008 at 11:35am
I am a new user to crystal X and I am trying to get the maximum time that a value was entered into out system.  Below is the formula that I created however I get the error that a boolean is required. 

if
StrCmp(Previous({episode_admit_date_index.PATID}),{episode_admit_date_index.PATID}) 0 and
previous({episode_admit_date_index.EPISODE_NUMBER})={episode_admit_date_index.EPISODE_NUMBER} and
previous({episode_admit_date_index.data_entry_date})={episode_admit_date_index.data_entry_date} then
Maximum({patient_demographic_history.data_entry_time})
else ({patient_demographic_history.data_entry_time})

Could someone please help.

Thank you,

KLOL
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.