home bbs files messages ]

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,665 of 9,834   
   Liz McGuire to Jim Hargan   
   Re: Frustrated with data entry people   
   28 Jun 07 14:29:45   
   
   From: liz@paradoxcommunity.com   
      
   Better option, forget trapping paste and instead, use the changeValue   
   event to look for and remove illegal characters - then, no matter how   
   they got there, you remove them.   
      
   I prefer this over doing it at export because then your database has   
   good data, not just your export.   
      
   Liz   
      
      
   Jim Hargan wrote:   
   > On Thu, 28 Jun 2007 10:15:37 -0700, Ike wrote:   
   >   
   > 2. Write OPAL code that intercepts the ctrl-v, and instead of doing the   
   > default paste event, substitutes your own custom method. This method would   
   > paste the text into a string variable and then, perhaps, step through it   
   > looking for illegal characters. If you only want to scrub CR/LF, a   
   > breakApart will do it in a single whack. Personally, I step through the   
   > entire string and expunge *all* low and high ascii, including tabs (each of   
   > which gets replaced with three spaces).   
   >   
   >   
   > Jim Hargan   
      
   --- 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