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,
K