| Function Name |
Parameters |
Description |
| FormatDate |
|
returns a data formatted string |
|
|
|
datastring as string |
the string to format |
|
|
|
dateformat as integer |
1 = 'mm-dd-yyyy' |
|
|
2 = 'mm-dd-yy' |
|
|
3 = 'yyyy-mm-dd' |
|
| FormatWidth |
|
returns a centered string |
|
|
|
txt as string |
the text string to center |
|
|
|
txtwidth as integer |
width of the string to return |
|
| GetTableCells |
|
calls the stored procedure, returns each record in a table cell |
|
|
|
loginid as string |
the loginid returned by a previous call to LoginSQL. Leave blank if using Windows Authentication on the SQL Server. |
|
|
|
ownerkey as string |
client's PKI Certificate. Leave blank if using Windows Authentication on the SQL Server, or if a valid loginid is passed. |
|
|
|
DSN |
Data Source Name that connects to the SQL Server |
|
|
|
tblname |
name of the table to return |
|
|
|
tblcolumns |
number of columns in the table |
|
|
|
tblrows |
maximum number of rows in the table. Limits the number of records returned. |
|
|
|
pretblattribs |
HTML code to include in the returned string ahead of the <TABLE> tag |
|
|
|
tblattribs |
HTML code to include in the returned string inside of the <TABLE> tag |
|
|
|
posttblattribs |
HTML code to include in the returned string after the closing </TABLE> tag |
|
|
|
prerowattribs |
HTML code to include in the returned string ahead of the <TR> tag |
|
|
|
rowattribs |
HTML code to include in the returned string inside of the <TR> tag |
|
|
|
postrowattribs |
HTML code to include in the returned string after the closing </TR> tag |
|
|
|
precellattribs |
HTML code to include in the returned string ahead of the <TD> tag |
|
|
|
cellattribs |
HTML code to include in the returned string inside of the <TD> tag |
|
|
|
postcellattribs |
HTML code to include in the returned string after the closing </TD> tag |
|
|
|
sp as string |
name of the stored procedure to call |
|
|
|
sp_params as string |
stored procedure parameters |
|
|
|
closingattribs |
HTML code to include at the end of the returned string |
|
| GetTableRows |
|
calls the stored procedure, returns each record in a table row |
|
|
|
loginid as string |
the loginid returned by a previous call to LoginSQL. Leave blank if using Windows Authentication on the SQL Server. |
|
|
|
ownerkey as string |
client's PKI Certificate. Leave blank if using Windows Authentication on the SQL Server, or if a valid loginid is passed. |
|
|
|
DSN |
Data Source Name that connects to the SQL Server |
|
|
|
tblname |
name of the table to return |
|
|
|
tblcolumns |
number of columns in the table |
|
|
|
tblrows |
maximum number of rows in the table. Limits the number of records returned. |
|
|
|
pretblattribs |
HTML code to include in the returned string ahead of the <TABLE> tag |
|
|
|
tblattribs |
HTML code to include in the returned string inside of the <TABLE> tag |
|
|
|
posttblattribs |
HTML code to include in the returned string after the closing </TABLE> tag |
|
|
|
prerowattribs |
HTML code to include in the returned string ahead of the <TR> tag |
|
|
|
rowattribs |
HTML code to include in the returned string inside of the <TR> tag |
|
|
|
postrowattribs |
HTML code to include in the returned string after the closing </TR> tag |
|
|
|
precellattribs |
HTML code to include in the returned string ahead of the <TD> tag |
|
|
|
cellattribs |
HTML code to include in the returned string inside of the <TD> tag |
|
|
|
postcellattribs |
HTML code to include in the returned string after the closing </TD> tag |
|
|
|
sp as string |
name of the stored procedure to call |
|
|
|
sp_params as string |
stored procedure parameters |
|
|
|
closingattribs |
HTML code to include at the end of the returned string |
|
| ReplaceString |
|
replaces characters in a string |
|
|
|
fixstring as variant |
string to operate on |
|
|
|
ochar as variant |
character to be replaced |
|
|
|
nchar as variant |
character to replace with |
|
| StripQuotes |
|
removes double quotes from a string |
|
|
|
fixstring as variant |
string to operate on |
|
| UrlFix |
|
replaces spaces in URLs with “%20” required by older web browsers |
|
|
|
fixtring as string |
string to operate on |
|