Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.paradox    |    To crash or not to crash, asks Borland    |    9,834 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 8,682 of 9,834    |
|    Liz McGuire to Ike    |
|    Re: Frustrated with data entry people    |
|    29 Jun 07 19:59:58    |
      From: liz@paradoxcommunity.com              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       >       >              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca