On Saturday, February 05, 2011 01:21:22 pm Ed Leafe wrote:
> On Feb 5, 2011, at 4:17 PM, John Fabiani wrote:
> >> http://xkcd.com/327/
> > 
> > Exactly - clean up the input
> 
>       In your example, you didn't clean anything: you did direct substitution.
> The adapters clean all values passed to it, which is why it is infinitely
> preferable to use that approach.
> 
> 
> 
> -- Ed Leafe

Your right - but since you have reviewed my code I think you would have 
recalled that you can't enter a ';' in my code.  I clean up the keypress 
before I allow data to any SQL statement.  It was years ago we had the 
discussion concerning capturing F4 and at your suggestion we did not allow 
';'.  I'm sure there's more I could do but checking for data type and ';' 
(along with several other char's) is all the clean up that has been required.

Johnf


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to