8.3
Creating a Database Table
Before setting the ODBC setting and MES interface function setting, create two types of database table in Access 2010.
Database table creation procedure
Creating a [OrderTable] table
Field Name
OrderCode
ProductCode
PlanNumber
8 OPERATION EXAMPLE
78
8.3 Creating a Database Table
1.
Start [Microsoft Access 2010] from Windows Start.
2.
Select "New" on the [File] tab and enter
'Sample_DB.accdb' in the "File Name", then click the
[Create] button.
In the operation example, the save location is 'C\:MES\'.
3.
Right-click "Table 1" in the [Tables] and select [Design
View] from the shortcut menu.
4.
Enter 'OrderTable' in the "Table Name" and click the
[OK] button.
5.
Set each setting item on the [OrderTable] tab and the
[General] tab according to the following table.
Data Type
Number
Text
Number
6.
Select "Save" on the [File] tab.
7.
Right-click "OrderTable" in the [Tables] and select
[Open] from the shortcut menu.
Field Size
Integer
2
Integer