Specifying a DataWindow object for the control

To identify the DataWindow object you want to display in the control, you specify values for two properties:

You enter their values on the General page of the Sybase DataWindow Web Control Properties dialog box.

About SourceFileName

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:

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.

About DataWindowObject

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.

NoteDisplaying Powersoft reports To display a PSR file instead of a DataWindow object, specify its URL as the value for the DataWindowObject and leave the SourceFileName blank.