Hi Shawn,

I must  correct me. You can't have back the fvs.put(string, string) method because the 
field is unknown in fvs.

But you can use the protected method 

        /**
         * adds or replace a value in the fieldValues
         * @param table wich should be used to lookup for the fieldName
         * @param fieldValues to add/replace value to
         * @param fieldName to add/replace value
         * @param value to add/replace
         */
        protected void setValue(Table table, FieldValues fieldValues, String 
fieldName, String value) {
                FieldValue fv = fieldValues.get(fieldName);
                Field f = table.getFieldByName(fieldName);
                if (f != null) {
                        if (fv == null) {
                                fv = new FieldValue(f, value);
                                fieldValues.put(fv);
                        } else {
                                fv.setFieldValue(value);
                        }
                }
        }

In class DbEventInterceptorSupport to exchange fieldvalues. This method do the work of 
checking if fieldname, table is correct and
so on.

Regards,
Henner



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to