If you'd like, please write up some documentation about searching. You mentioned the
docs
were incomplete.
Also about your removing entry problem.
What I suggest trying is Luca's new pluggable events system.
You could basically just copy an updateEvent, give it a different name and change:
public void processEvent(Connection con) throws SQLException,
org.dbforms.event.MultipleValidationException
{...
// which values do we find in request
Hashtable fieldValues = getFieldValues();
here is where you would need to check fieldValues for an empty string and then remove
it
(later the hashtable values from the interceptor are added to this one --through a
call to Table -- I couldn't see an
easy way to take the value out)
Pluggable events are simple. Luca wrote good code and docs. Why don't you give it a
try!!!!
Shawn
I can send you the source if you don't have cvs set up (yet)
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
DbForms Mailing List
http://www.wap-force.net/dbforms