Re: Frustrated with data entry people



Indeed.

Liz


Ike wrote:

[edit]I found that there is no need to execute the line:
eventInfo.setNewValue(stNewValue)
if clearing the field. This code is more efficient:

stNewValue = string(eventInfo.newValue())
if stNewValue <> "" then ;// added a check for a null field
stNewValue.breakApart(arBreak,stBadChars)
stNewValue = arBreak[1]
if arBreak.size() > 1 then
for liCounter from 2 to arBreak.size()
stNewValue = stNewValue + " " + arBreak[liCounter]
endFor
endIf
eventInfo.setNewValue(stNewValue)
endIf


.