EXTERNAL-DATA ステートメント - CADWorx - ヘルプ

CADWorx Plant

Language
日本語
Product
CADWorx
Subproduct
Plant
Search by Category
ヘルプ
Isogen Version
13.0(2016)
Smart Isometrics Version
8
Spoolgen Version
10
CADWorx Version
22
CADWorx Structure Version
21

基本的な構文:

<DSN> コントロールパネルで設定しているデータソース名 </DSN>

<MDB>Microsoft Access データベースのパス </MDB>

<XLS> Microsoft Excel スプレッドシートのパス </XLS>

<UDL> Universal Data Link ファイルのパス </UDL>

<CSV> 1つ以上のコンマ区切りファイルを含むフォルダーのパス </CSV>

どれを使用しても外部データソースへの接続を確立できます。DSN および UDL メソッドでは、SQL Server や Oracle などのような OLE DB 接続をサポートしているどのデータベースにも接続できます。

<AIT_DELETE_START> To use DSN in Windows Vista, create a data source using Control Panel > Administrative Tools > Data Sources (ODBC). The <DSN> statement must contain the name of the data source that you create. To use a <UDL> statement, you must create and configure a Universal Data Link (UDL) file. For more information, see Define an external data. source.<AIT_DELETE_END><AIT_DELETE_START> To use DSN in Windows Vista, create a data source using Control Panel > Administrative Tools > Data Sources (ODBC). The <DSN> statement must contain the name of the data source that you create. To use a <UDL> statement, you must create and configure a Universal Data Link (UDL) file. For more information, see Define an external data.<AIT_DELETE_END>

XLS および MDB ステートメントは設定が簡単です。必要なものは、データベースまたはスプレッドシートファイルの有効なパスだけです。

<AIT_DELETE_START><XLS>C:\SampleIsoDir\S5Tutorial\Data\Get External Data\GetExternalData.xls </XLS>

<MDB>C:\SampleIsoDir\S5Tutorial\Data\Get External Data\GetExternalData.mdb </MDB>

The CSV statement treats a folder that contains one or more comma delimited files as a database, with the individual .csv files forming the tables within the database.

<CSV> C:\SampleIsoDir\S5Tutorial\Data\Get External Data\ </CSV><AIT_DELETE_END><AIT_DELETE_START><XLS>C:\SampleIsoDir\SPITutorial\Data\Get External Data\GetExternalData.xls </XLS>

<MDB>C:\SampleIsoDir\SPITutorial\Data\Get External Data\GetExternalData.mdb </MDB>

The CSV statement treats a folder that contains one or more comma delimited files as a database, with the individual .csv files forming the tables within the database.

<CSV> C:\SampleIsoDir\SPITutorial\Data\Get External Data\ </CSV><AIT_DELETE_END><CADWorxPlantStart><XLS>C:\CADWorxIsoDir\Project1\Data\Get External Data\GetExternalData.xls </XLS>

<MDB>C:\CADWorxIsoDir\Project1\Data\Get External Data\GetExternalData.mdb </MDB>

CSV ステートメントは、データベースとして 1つ以上のコンマ区切りファイルがあるフォルダーを扱います。コンマ区切りファイルはデータベース内のテーブルとなる個別の .csv ファイルです。

<CSV> C:\CADWorxIsoDir\Project1\Data\Get External Data\ </CSV><CADWorxPlantEnd>