To identify the DataWindow object you want to display in the control, you specify values for two properties:
SourceFileName
DataWindowObject
You enter their values on the General page of the Sybase DataWindow Web Control Properties dialog box.
The value for SourceFileName is the name of the library that contains the DataWindow object for the control. It can be a URL or a file path. These examples illustrate some typical variations:
Absolute URL:
http://www.domain.com/dwlibraries/financedws.pbd
Relative URLs:
financedws.pbd
dwlibraries/financedws.pbd
Absolute file path (can be useful while developing pages):
d:/web project/dwlibraries/financedws.pbd
In the Web ActiveX property sheet, when you use the Browse button to look for the library, you browse the file system, not URLs. After the full path is inserted in the field, you probably should edit it so that it is valid when your Web pages are deployed.
Changing SourceFileName during execution You can change the value of SourceFileName in a script. If you do, you also have to specify a value for DataWindowObject that is valid in the new library. You must also call SetTransObject again if you are using a separate transaction object.
The value for DataWindowObject is the name of a DataWindow object that is in the library specified in SourceFileName.
If the library is accessible in the development environment (for example, it is part of the PowerBuilder workspace and you specify a relative URL), then the property sheet displays a drop-down list of the DataWindow objects contained in the library.