Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html DIR="LTR" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<html DIR="LTR" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8" />
<META NAME="save" CONTENT="history" />
Expand Down Expand Up @@ -74,7 +74,7 @@
</tr>
<tr id="headerTableRow3">
<td>
<a href="#seeAlsoToggle" onclick="OpenSection(seeAlsoToggle)">See Also</a> 
<a href="#seeAlsoToggle" onclick="OpenSection(seeAlsoToggle)">See Also</a>�
<a href="#codeExampleToggle" onclick="OpenSection(codeExampleToggle)">Example</a></td>
</tr>
</table>
Expand All @@ -91,7 +91,7 @@
</label>
<label id="expandAllLabel" for="toggleAllImage" style="display: none;">
Expand All
</label> </span>
</label>�</span>
<!-- VFPX languageFilterToolTip removed -->
</td>
</tr>
Expand Down Expand Up @@ -137,7 +137,7 @@ <h1 class="heading"><span onclick="ExpandCollapse(remarksToggle)" style="cursor:
<p xmlns="">The following example creates two databases named <code>mydbc1</code> and <code>mydbc2</code>, and a table named <code>table1</code>. The table is added to <code>mydbc1</code> when it is created. The table is then closed and removed from <code>mydbc1</code>. ADD TABLE is then used to add the table to <code>mydbc2</code>. RENAME TABLE is used to change the name of the table from <code>table1</code> to <code>table2</code>.</p>

</description>
<div class="code"><span codeLanguage="other"><table width="100%" cellspacing="0" cellpadding="0"><tr><th> </th><th><span class="copyCode" onclick="CopyCode(this)" onkeypress="CopyCode_CheckKey(this)" onmouseover="ChangeCopyCodeIcon(this)" onmouseout="ChangeCopyCodeIcon(this)" tabindex="0"><img class="copyCodeImage" name="ccImage" align="absmiddle" alt="CopyCode image" src="../local/copycode.gif"></img>Copy Code</span></th></tr><tr><td colspan="2"><pre>CREATE DATABASE mydbc1
<div class="code"><span codeLanguage="other"><table width="100%" cellspacing="0" cellpadding="0"><tr><th>�</th><th><span class="copyCode" onclick="CopyCode(this)" onkeypress="CopyCode_CheckKey(this)" onmouseover="ChangeCopyCodeIcon(this)" onmouseout="ChangeCopyCodeIcon(this)" tabindex="0"><img class="copyCodeImage" name="ccImage" align="absmiddle" alt="CopyCode image" src="../local/copycode.gif"></img>Copy Code</span></th></tr><tr><td colspan="2"><pre>CREATE DATABASE mydbc1
CREATE DATABASE mydbc2
SET DATABASE TO mydbc1
CREATE TABLE table1 (cField1 C(10), n N(10)) &amp;&amp; Adds table to mydbc1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@
</dd></dl><dl><dt><span class="nonLinkTerms">
<span class="parameter">cDelimiters</span>
</span></dt><dd>
<p>Optional. Specifies one or more optional characters used to separate words in <span class="parameter">cString</span>. The default delimiters are space, tab, carriage return, and line feed. Note that <b>GetWordNum( )</b> uses each of the characters in cDelimiters as individual delimiters, not the entire string as a single delimiter.</p>
<p>Optional. Specifies one or more optional characters used to separate words in <span class="parameter">cString</span>. The default delimiters are space, tab, and line feed.</p>
<p>Note that <b>GetWordNum( )</b> uses each of the characters in cDelimiters as individual delimiters, not the entire string as a single delimiter.</p>
<p>Note, that <b>carriage return</b> is not a default delimiter.</p>
</dd></dl>

<h1 class="heading"><span onclick="ExpandCollapse(returnValueToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(returnValueToggle)" tabindex="0"><img id="returnValueToggle" onload="OnLoadImage()" class="toggle" name="toggleSwitch" alt="Expand image" src="../local/expand_all.gif"></img>Return Value</span></h1><div id="returnValueSection" class="section" name="collapseableSection" style="display: none;">
Expand All @@ -141,7 +143,7 @@ <h1 class="heading"><span onclick="ExpandCollapse(returnValueToggle)" style="cur
<div>
<img src="../local/vfpXnote.gif" style="float: left; border:0; margin-right:8px;">Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08<br />
<a href="https://github.com/VFPX/HelpFile/issues" target="_blank">Send feedback</a> on this topic to the <a href="https://github.com/VFPX/HelpFile/" target="_blank">VFPX Help file project team</a>.<br />
2009-2017 Placed under <a href="http://creativecommons.org/licenses/by/3.0/" target="_blank">Creative Commons licensing</a> by Microsoft Corporation.
2009-2022 Placed under <a href="http://creativecommons.org/licenses/by/3.0/" target="_blank">Creative Commons licensing</a> by Microsoft Corporation.
<noscript><p class="vfpx" style="color:#FF0000">&nbsp;&nbsp;<b>Not all help features are available because JavaScript is disabled on this computer!</b></p></noscript>
</div>
<!-- VFPX Footer-->
Expand Down
12 changes: 7 additions & 5 deletions sources/dv_foxhelp/html/11fd4c12-260a-4937-b389-ed0667429d6b.htm
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,21 @@
<p>Opens a .vcx visual class library containing class definitions.</p>
<div id="syntaxSection" class="section"><div id="syntaxCodeBlocks" class="code"><span codeLanguage="other"><table width="100%" cellspacing="0" cellpadding="0"><tr><th align="left"></th></tr><tr><td><pre>
SET CLASSLIB TO <span class="parameter">ClassLibraryName</span> [IN <span class="parameter">APPFileName</span> | <span class="parameter">EXEFileName</span>]
[ADDITIVE] [ALIAS <span class="parameter">AliasName</span>]</pre></td></tr></table></span></div></div><p /><h4 class="subHeading">Parameters</h4>
[ALIAS <span class="parameter">AliasName</span>] [ADDITIVE]</pre></td></tr></table></span></div></div><p /><h4 class="subHeading">Parameters</h4>

<dl><dt><span class="nonLinkTerms">TO <span class="parameter">ClassLibraryName</span></span></dt><dd>
<p>Specifies the name of the .vcx visual class library to open. If <span class="parameter">ClassLibraryName</span> does not include a fully qualified path, Visual FoxPro first searches for the visual class library in the default Visual FoxPro directory, and then in the directories in the Visual FoxPro path. The default Visual FoxPro directory is specified with SET DEFAULT, and the Visual FoxPro search path is specified with SET PATH.</p>
<p>Issuing SET CLASSLIB TO without <span class="parameter">ClassLibraryName</span> closes all open visual class libraries. Use RELEASE CLASSLIB to close an individual visual class library. </p>
</dd></dl><dl><dt><span class="nonLinkTerms">IN <span class="parameter">APPFileName</span>| <span class="parameter">EXEFileName</span></span></dt><dd>
<p>Specifies a Visual FoxPro application file (.app) or executable file (.exe) containing the visual class library.</p>
</dd></dl><dl><dt><span class="nonLinkTerms">ADDITIVE </span></dt><dd>
<p>Opens the .vcx visual class library without closing any currently open .vcx visual class libraries. If this clause is omitted, all open .vcx visual class libraries are closed.</p>

</dd></dl><dl><dt><span class="nonLinkTerms">ALIAS <span class="parameter">AliasName</span></span></dt><dd>
<p>Specifies an alias for the visual class library. The visual class library can be referenced by its alias. For example, the following commands open a .vcx visual class library named <code>MyClass</code>, assign it the alias <code>MyCntrls</code>, and then create a control named <code>MyButton</code>. </p>
<div class="code"><span codeLanguage="other"><table width="100%" cellspacing="0" cellpadding="0"><tr><th> </th><th><span class="copyCode" onclick="CopyCode(this)" onkeypress="CopyCode_CheckKey(this)" onmouseover="ChangeCopyCodeIcon(this)" onmouseout="ChangeCopyCodeIcon(this)" tabindex="0"><img class="copyCodeImage" name="ccImage" align="absmiddle" alt="CopyCode image" src="../local/copycode.gif"></img>Copy Code</span></th></tr><tr><td colspan="2"><pre>SET CLASSLIB TO MyClass ALIAS MyCntrls
<div class="code"><span codeLanguage="other"><table width="100%" cellspacing="0" cellpadding="0"><tr><th> </th><th><span class="copyCode" onclick="CopyCode(this)" onkeypress="CopyCode_CheckKey(this)" onmouseover="ChangeCopyCodeIcon(this)" onmouseout="ChangeCopyCodeIcon(this)" tabindex="0"><img class="copyCodeImage" name="ccImage" align="absmiddle" alt="CopyCode image" src="../local/copycode.gif"></img>Copy Code</span></th></tr><tr><td colspan="2">
<pre>SET CLASSLIB TO MyClass ALIAS MyCntrls
mMyButton = CREATEOBJ('MyCntrls.MyButton')</pre></td></tr></table></span></div>
</dd></dl><dl><dt><span class="nonLinkTerms">ADDITIVE </span></dt><dd>
<p>Opens the .vcx visual class library without closing any currently open .vcx visual class libraries. If this clause is omitted, all open .vcx visual class libraries are closed.</p>
</dd></dl>

<h1 class="heading"><span onclick="ExpandCollapse(remarksToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(remarksToggle)" tabindex="0"><img id="remarksToggle" onload="OnLoadImage()" class="toggle" name="toggleSwitch" alt="Expand image" src="../local/expand_all.gif"></img>Remarks</span></h1><div id="remarksSection" class="section" name="collapseableSection" style="display: none;">
Expand Down Expand Up @@ -162,7 +164,7 @@ <h1 class="heading"><span onclick="ExpandCollapse(remarksToggle)" style="cursor:
<div>
<img src="../local/vfpXnote.gif" style="float: left; border:0; margin-right:8px;">Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08<br />
<a href="https://github.com/VFPX/HelpFile/issues" target="_blank">Send feedback</a> on this topic to the <a href="https://github.com/VFPX/HelpFile/" target="_blank">VFPX Help file project team</a>.<br />
2009-2017 Placed under <a href="http://creativecommons.org/licenses/by/3.0/" target="_blank">Creative Commons licensing</a> by Microsoft Corporation.
2009-2022 Placed under <a href="http://creativecommons.org/licenses/by/3.0/" target="_blank">Creative Commons licensing</a> by Microsoft Corporation.
<noscript><p class="vfpx" style="color:#FF0000">&nbsp;&nbsp;<b>Not all help features are available because JavaScript is disabled on this computer!</b></p></noscript>
</div>
<!-- VFPX Footer-->
Expand Down
67 changes: 50 additions & 17 deletions sources/dv_foxhelp/html/1876ad8e-9c6a-4310-962d-800591a10c3d.htm
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,15 @@
<span class="parameter">tExpression</span>
</span></dt><dd>
<p>Specifies a DateTime-type variable, array element, or field for which DTOC( ) returns a Character-type date.</p>

</dd></dl><dl><dt><span class="nonLinkTerms">No second parameter </span></dt><dd>
<p>Returns <span class="parameter">dExpression</span> as a character string in a (general) date format respecting the <b>SET</b> commands dealing with date, just like the output of <b>?DATE()</b>.</p>
<p>For more information, see
<a href="/html/d376a010-d478-439f-8aa7-517bcd617558.htm">SET CENTURY</a>,
<a href="/html/96aefa03-0504-48c8-9fc0-013b3e1c43aa.htm">SET DATE</a>,
<a href="/html/24be9a54-d919-4bd5-bb84-c71e4e842df4.htm">SET MARK TO</a>,
<a href="/html/45018e26-0fce-4f5e-9502-adbc53487a6b.htm">SET SYSFORMATS</a>.</p>

</dd></dl><dl><dt><span class="nonLinkTerms">1 </span></dt><dd>
<p>Returns the date in a format suitable for indexing. This is particularly useful for maintaining the table records in chronological sequence.</p>
<p>For example, to order table records in entry sequence, you could issue this command: </p>
Expand All @@ -131,27 +140,51 @@ <h1 class="heading"><span onclick="ExpandCollapse(returnValueToggle)" style="cur

<p>DTOC( ) returns a character string corresponding to a Date or DateTime expression. The date format is determined by SET CENTURY and SET DATE.</p>

</div><h1 class="heading"><span onclick="ExpandCollapse(codeExampleToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(codeExampleToggle)" tabindex="0"><img id="codeExampleToggle" onload="OnLoadImage()" class="toggle" name="toggleSwitch" alt="Expand image" src="../local/expand_all.gif"></img>Example</span></h1><div id="codeExampleSection" class="section" name="collapseableSection" style="display: none;">
<div class="code"><span codeLanguage="other"><table width="100%" cellspacing="0" cellpadding="0"><tr><th> </th><th><span class="copyCode" onclick="CopyCode(this)" onkeypress="CopyCode_CheckKey(this)" onmouseover="ChangeCopyCodeIcon(this)" onmouseout="ChangeCopyCodeIcon(this)" tabindex="0"><img class="copyCodeImage" name="ccImage" align="absmiddle" alt="CopyCode image" src="../local/copycode.gif"></img>Copy Code</span></th></tr><tr><td colspan="2"><pre>SET STRICTDATE TO 1
STORE CTOD('10/31/98') TO gdThisDate
CLEAR
? DTOC(gdThisDate)
STORE DTOC({^1998-10-31}+90) TO gcExpireDate
? 'Your 90-day warranty expires ', gcExpireDate
? DTOC({^1998-10-31},1)</pre></td></tr></table></span></div>
</div><h1 class="heading"><span onclick="ExpandCollapse(seeAlsoToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(seeAlsoToggle)" tabindex="0"><img id="seeAlsoToggle" onload="OnLoadImage()" class="toggle" name="toggleSwitch" alt="Expand image" src="../local/expand_all.gif"></img>See Also</span></h1><div id="seeAlsoSection" class="section" name="collapseableSection" style="display: none;"><h4 class="subHeading">Reference</h4><span class="linkTerms"><a href="/html/8f4463d6-c9ff-45a4-8b07-e9dbb6e3ddae.htm">CTOD( ) Function</a></span><br /><span class="linkTerms"><a href="/html/d376a010-d478-439f-8aa7-517bcd617558.htm">SET CENTURY Command</a></span><br /><span class="linkTerms"><a href="/html/96aefa03-0504-48c8-9fc0-013b3e1c43aa.htm">SET DATE Command</a></span><br /><span class="linkTerms"><a href="/html/634e3863-7f71-4868-b023-d0633240a541.htm">SYS( ) Functions Overview</a></span><br /><span class="linkTerms"><a href="/html/2854910f-6bc3-40a8-a32d-ad799b045205.htm">TTOC( ) Function</a></span><br /><h4 class="subHeading">Other Resources</h4><span class="linkTerms"><a href="/html/da6b864f-f7c6-43a3-8218-20d56c7a4764.htm">Functions</a></span><br /><span class="linkTerms"><a href="/html/6dcddc3f-9944-4ad8-be2f-003610af616a.htm">Language Reference (Visual FoxPro)</a></span><br /><br /></div></div>
<div id="footer">
<div class="footerLine">
<img width="100%" height="3px" alt="Footer image" src="../local/footer.gif">


</img>
</div>
</div><h1 class="heading"><span onclick="ExpandCollapse(codeExampleToggle)"
style="cursor:default;"
onkeypress="ExpandCollapse_CheckKey(codeExampleToggle)" tabindex="0"><img
id="codeExampleToggle" onload="OnLoadImage()" class="toggle"
name="toggleSwitch" alt="Expand image"
src="../local/expand_all.gif"></img>Example</span></h1><div
id="codeExampleSection" class="section" name="collapseableSection"
style="display: none;"> <div class="code"><span codeLanguage="other"><table
width="100%" cellspacing="0" cellpadding="0"><tr><th> </th><th><span
class="copyCode" onclick="CopyCode(this)" onkeypress="CopyCode_CheckKey(this)"
onmouseover="ChangeCopyCodeIcon(this)" onmouseout="ChangeCopyCodeIcon(this)"
tabindex="0"><img class="copyCodeImage" name="ccImage" align="absmiddle"
alt="CopyCode image" src="../local/copycode.gif"></img>Copy
Code</span></th></tr><tr><td colspan="2"><pre>SET STRICTDATE TO 1 STORE
CTOD('10/31/98') TO gdThisDate CLEAR ? DTOC(gdThisDate) STORE DTOC({^1998-10-
31}+90) TO gcExpireDate ? 'Your 90-day warranty expires ', gcExpireDate ?
DTOC({^1998-10-31},1)</pre></td></tr></table></span></div> </div><h1
class="heading"><span onclick="ExpandCollapse(seeAlsoToggle)"
style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(seeAlsoToggle)"
tabindex="0"><img id="seeAlsoToggle" onload="OnLoadImage()" class="toggle"
name="toggleSwitch" alt="Expand image" src="../local/expand_all.gif"></img>See
Also</span></h1><div id="seeAlsoSection" class="section"
name="collapseableSection" style="display: none;"><h4
class="subHeading">Reference</h4><span class="linkTerms"><a
href="/html/8f4463d6-c9ff-45a4-8b07-e9dbb6e3ddae.htm">CTOD( )
Function</a></span><br />
<span class="linkTerms"> <a href="/html/d376a010-
d478-439f-8aa7-517bcd617558.htm">SET CENTURY Command</a></span><br />
<span class="linkTerms"><a href="/html/d376a010-d478-439f-8aa7-517bcd617558.htm">SET CENTURY Command</a></span><br />
<span class="linkTerms"><a href="/html/96aefa03-0504-48c8-9fc0-013b3e1c43aa.htm">SET DATE Command</a></span><br />
<span class="linkTerms"><a href="/html/24be9a54-d919-4bd5-bb84-c71e4e842df4.htm">SET MARK TO Command</a></span><br />
<span class="linkTerms"><a href="/html/45018e26-0fce-4f5e-9502-adbc53487a6b.htm">SET SYSFORMATS Command</a></span><br />
<span class="linkTerms"><a href="/html/634e3863-7f71-4868-b023-d0633240a541.htm">SYS( ) Functions Overview</a></span><br/>
<span class="linkTerms"><a href="/html/2854910f-6bc3-40a8-a32d-ad799b045205.htm">TTOC( ) Function</a></span><br />
<h4 class="subHeading">Other Resources</h4><span class="linkTerms">
<a href="/html/da6b864f-f7c6-43a3-8218-20d56c7a4764.htm">Functions</a></span><br/>
<span class="linkTerms"><a href="/html/6dcddc3f-9944-4ad8-be2f-003610af616a.htm">Language Reference (Visual FoxPro)</a></span><br />
<br/></div></div> <div id="footer"> <div class="footerLine">
<img width="100%" height="3px" alt="Footer image" src="../local/footer.gif"></img>
</div>
<!-- VFPX Footer-->
<div>
<img src="../local/vfpXnote.gif" style="float: left; border:0; margin-right:8px;">Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08<br />
<a href="https://github.com/VFPX/HelpFile/issues" target="_blank">Send feedback</a> on this topic to the <a href="https://github.com/VFPX/HelpFile/" target="_blank">VFPX Help file project team</a>.<br />
2009-2017 Placed under <a href="http://creativecommons.org/licenses/by/3.0/" target="_blank">Creative Commons licensing</a> by Microsoft Corporation.
2009-2022 Placed under <a href="http://creativecommons.org/licenses/by/3.0/" target="_blank">Creative Commons licensing</a> by Microsoft Corporation.
<noscript><p class="vfpx" style="color:#FF0000">&nbsp;&nbsp;<b>Not all help features are available because JavaScript is disabled on this computer!</b></p></noscript>
</div>
<!-- VFPX Footer-->
Expand Down
Loading