You are on page 1of 2

Application tool “AddAttrInDB” for SupportModeler

Purpose:
In order to add or remove attributes for SupportModeler, the field name as the attributes will need to be added
or removed into SupportModeler project database. This application allows the user to add or remove the
attributes into the database easily.

Install:
Copy an executable “AddAttrInDB.exe” in your machine. Before running it, make sure if Microsoft .NET
Framework has been installed.

Using AddAttrInDB:
 Add attributes:
1. Select the database “MS Access or Oracle” in No1 radio button.
2. Click Connect button to access the database.
If MS Access, display the dialog “Open”. Select the MS Access database and click “Open” button.
If Oracle, open the dialog “Oracle Project DB Info”. Enter the DB information and click “OK” button.
If access the database successfully, the full path name or servise name will be displayed in No3 read-only
text box.
3. Select “Add Attributes” in No4 combo box.
4. Enter the attribute name, date type, size and default in No5 table.
5. Click No6 button “OK” to start to add the attributes.

 Remove attributes:
1. Select and connect the database as same procedure as the above No1 and No2.
2. Select “Remove Attributes” in No4 combo box.
3. Select the attribute name in No8 table.
4. Click No6 button “OK” to start to remove the attributes.

During the process, the fields with above attribute name would be added or removed into “tSupports”,
“tSupports_1”, “tSupports_2” and so on into the selected database.

Notes:
Some of setting data will be stored with the registry key in the below.
\\HKEY_CURRENT_USER\Software\VB and VBA Program Settings\SupMod AddAttrInDB\
1. Radio button info to select which type of database is used. MS Access or Oracle
2. Combo box info to select the action “add attributes/remove attributes”
3. Oracle Project DB info: Service Name, Database Name, User Name

You might also like