Using demode() as a CAPI condition

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
Keith Tomlin
Posts: 56
Joined: March 23rd, 2014, 9:30 am

Using demode() as a CAPI condition

Post by Keith Tomlin »

Hi - I am trying to write a CAPI condition using demode, so that the CAPI text displayed when a case is being added is different to that displayed when a case is being modified. In the condition window I've tried using demode() = Add for the first condition and demode() = Modify for the second, but when testing data entry I get a message saying that it is invalid. The record I'm applying this to allows up to 15 occurrences, and so that Min Occ and Max Occ columns are already completed as 1 and 15 for both conditions.

Thanks

Keith Tomlin
London School of Hygiene & Tropical Medicine
Post Reply