Hi J.M.!

J M Okomba wrote:
> 
> I forgot to mention that the NullPointerException is thrown when I call
> getField e.g. when I call
> 
>         rsv_info.getField("info_type")
>
If there is no result, there is no resultsetVector, you get a NPE
if you try to access it.

Maybe you have set allowNew attribute to "true" within body tag, set
that to "false".

If you can't do that for other reasons, use labels instead of 
above variable, e.g.

  <db:dataLabel fieldName="info_type"/>

instead of
 
  <%= rsv_info.getField("info_type") %>

Regards

Dirk


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
DbForms Mailing List

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

Reply via email to