in reply to form help required please

Look in the documentation, it comes with examples. Alternatively, look in Tutorials : Database Programming : Reading from a database