TDataConnectionWebQueryProperties Class
This element specifies the properties for a web query source. A web query will retrieve data from HTML tables, and can also supply HTTP "Get" parameters to be processed by the web server in generating the HTML by including the parameters and parameter elements.
Syntax
Unit: FlexCel.Core
TDataConnectionWebQueryProperties = class(TFlexCelObject);
Methods
Name | Description |
---|---|
Equals | Returns true if both objects are the same. |
GetHashCode | Returns the hashcode of the object. |
Properties
Name | Description |
---|---|
EditPage | The URL of the user-facing web page showing the web query data. This URL is persisted in the case that sourceData = "true" and url has been redirected to reference an XML file. Then the user-facing page can be shown in the UI, and the XML data can be retrieved behind the scenes. |
HtmlFormat | How to handle formatting from the HTML source when bringing web query data into the worksheet. Relevant when SourceData is True. |
HtmlTables | Flag indicating whether web queries should only work on HTML tables. |
Post | Returns or sets the string used with the post method of inputting data into a web server to return data from a web query. |
Url | URL to use to refresh external data. |
Xl2000 | This flag exists for backward compatibility with older existing spreadsheet files, and is set to true if this web query was refreshed in a spreadsheet application newer than or equal to Microsoft Excel 2000. This is an optional attribute that can be ignored. |
TextDates | Flag indicating whether dates should be imported into cells in the worksheet as text rather than dates. |
Xl97 | This flag exists for backward compatibility with older existing spreadhseet files, and is set to true if this web query was created in Microsoft Excel 97. This is an optional attribute that can be ignored. |
FirstRow | Flag indicating whether to parse all tables inside a PRE block with the same width settings as the first row. |
ConsecutiveDelimiters | Flag indicating whether consecutive delimiters should be treated as just one delimiter. |
ParsePre | Flag indicating whether data contained within HTML <PRE> tags in the web page is parsed into columns when you import the page into a query table. |
SourceData | Flag indicating that XML source data should be imported instead of the HTML table itself. |
Xml | true if the web query source is XML (versus HTML). |
Tables | A collection of tables in the HTML file. This property is never null, and by modifying it you modify the parent WebQueryProperties too. |