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.

* Compile and run your application.

* On the menu, select the Components|WebDataSource1|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. Exit and return to Delphi.

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

* Compile and run your application!!! You are set!!!

 

Copyright © 1995-1998 HREF Tools Corp. All Rights Reserved.
[ Credits ] [ info@href.com ] [ catalog@mail.href.com ] [ webhubsales@href.com ]
Last generated: Tue 09 Jun 1998 09:18:51 GMT