Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3299374 By: woodchuck5
hihi, i created an insert page that basically displays all fields from one parent table, and two child tables. i did this because my goal is to have one insert page for all 3 tables instead of three insert pages (one for each table). i plan to implement my own custom postInsert() method in an interceptor for the parent table. the following is my idea: 1) parent record created by DBForms 2) then i will manually insert the two child records within the postInsert() method of my interceptor. what i am not sure of, is the best way to implement this postInsert() method. should i make my own sql insert statements, create a PreparedStatement object, set the parameters, and call executeUpdate()? or should i try to use the DBForms functions by creating my own DataSourceFactory, DbEventInterceptorData, and FieldValues objects and calling doInsert() for these two child tables? any advice on this? thanks in advance! woodchuck ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=55830 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms
