The following example shows how to set the Server property at design time:
<OBJECT CLASSID="clsid: 9381D8F2-0288-11d0-9501-00AA00B911A5" ID="ADC1"> <PARAM NAME="Bindings" VALUE="SGrid;"> <PARAM NAME="SQL" VALUE="Select * from Sales"> <PARAM NAME="Connect" VALUE="DSN=SalesDB; UID=SMgr;PWD=password;"> <PARAM NAME="Server" VALUE="http://SalesWeb"> </OBJECT>
The following example shows how to set the Server property at run time:
Sub SetServer ADC1.Server = "http://SalesWeb" End Sub