Home         
 
 

Posting

There's one more thing to do and then your application is complete.

* (Optional) From the Delphi Standard palette, add in a TGroupBox. Align to top, and set the caption to Post.

* (Remaining steps are required.) From the WebHub palette, add in a TWebDataPoster . This component will help post data from the form back to the database, by matching up the HTML field names against those in your database.

* Set its DataCommand property to wpUpdate.

* Select the WebDataSource1 component. Right-click and choose Edit Field Sets. Under Key, type 1. Under Value, type *. Click [Ok]. That defines a default field set which includes all fields in the table structure.

* Select the WebDataPoster1 component again. Set the FieldSet property to 1.

* Compile and run your application!!!

 
 

Copyright (c) 1995-1997 HREF Tools Corp. All Rights Reserved.
[ Credits ] [ info@href.com ] [ catalog@mail.href.com ] [ webhubsales@href.com ]
Last generated: Wed 21 Jan 1998 17:54:34 GMT