<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.ecibemet.com/index.php?action=history&amp;feed=atom&amp;title=PdcOptions.GetFilePath</id>
	<title>PdcOptions.GetFilePath - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.ecibemet.com/index.php?action=history&amp;feed=atom&amp;title=PdcOptions.GetFilePath"/>
	<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcOptions.GetFilePath&amp;action=history"/>
	<updated>2026-05-06T19:06:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://wiki.ecibemet.com/index.php?title=PdcOptions.GetFilePath&amp;diff=1483&amp;oldid=prev</id>
		<title>Mike: Created page with &quot;== Declaration == GetFilePath(Path as pdcFilePath) as String  == Description == Returns the specified path   == Notes == This option returns the path of a given constant in Pl...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcOptions.GetFilePath&amp;diff=1483&amp;oldid=prev"/>
		<updated>2012-05-21T14:06:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Declaration == GetFilePath(Path as pdcFilePath) as String  == Description == Returns the specified path   == Notes == This option returns the path of a given constant in Pl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Declaration ==&lt;br /&gt;
GetFilePath(Path as pdcFilePath) as String&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Returns the specified path &lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This option returns the path of a given constant in Plan-de-CAMpagne. The contants are:&amp;lt;br /&amp;gt;&lt;br /&gt;
pdcApplicationPath : this returns the path of the current Plan-de-CAMpagne evironment.&amp;lt;br /&amp;gt;&lt;br /&gt;
pdcUserPath : this returns the path of the work directory.&amp;lt;br /&amp;gt;&lt;br /&gt;
pdcTempPath : this returns the path of the temporary directory of Plan-de-CAMpagne.&lt;br /&gt;
&lt;br /&gt;
== Code example ==&lt;br /&gt;
This code example stores a file from the database in the temporary directory of Plan-de-CAMpagne.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;vb&amp;quot;&amp;gt;&lt;br /&gt;
Dim objTable&lt;br /&gt;
dim filename&lt;br /&gt;
&lt;br /&gt;
Set objTable = pdc.Database.OpenTable(pdcConData, &amp;quot;ATTACH&amp;quot;,&amp;quot;AT_ORDNR&amp;quot;)&lt;br /&gt;
if IsValid(objTable) then&lt;br /&gt;
   if objTable.Locate(&amp;quot;AT_ORDNR&amp;quot;, &amp;quot;00001&amp;quot;) then&lt;br /&gt;
      filename = pdc.Options.GetFilePath(pdcTempPath) &amp;amp; &amp;quot;.txt&amp;quot;&lt;br /&gt;
      objTable.GetFile &amp;quot;AT_BIN&amp;quot;, filename&lt;br /&gt;
   end if&lt;br /&gt;
end if&lt;br /&gt;
set objTable = nothing&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Availability ==&lt;br /&gt;
Available since 2001 (from version 2.7).&lt;/div&gt;</summary>
		<author><name>Mike</name></author>
	</entry>
</feed>