To connect and retrieve data, you must write a script. The script can belong to a Retrieve button, or you can have the retrieval occur automatically by putting the code in the window’s onLoad script.
For example, to connect and retrieve data for a Web ActiveX named dw_1, using a DataWindow Transaction Object control named trans_1, your script would be similar to this:
trans_1.Connect( );
dw_1.SetTransObject( trans_1 );
dw_1.Retrieve( );
When you use the internal transaction properties, the Web ActiveX makes the connection automatically. The script can be simpler, like this:
dw_1.Retrieve( );