FreedomSoft - "the future is freedom"
Class (part 1) - State Attributes

In order to add Attributes, we need to navigate into either the Class or the Attribute page. The Class page is generally the most convenient to use. To quickly and easily navigate to the Class page from the System page, select 'View' hyperlink, located to the left of the class you wish to add attributes to. In this case, select View to the left of the 'STATE' class.

Please note that Freedombase has created a 'DateTimeWritten' attribute. This attribute is used by Freedombase to handle optomistic locking. You should never delete or change the DateTimeWritten attribute. You should simply ignore it.

Setting the Number of Key Parts to 1, as we have already done, tells Freedombase that the first attribute we enter will be used as the unique key to the Class. (Setting the 'Number of Key Parts' to 2 would tell Freedombase that the first two attributes entered would combine to form the primary key, etc.)

Enter STATE into the Attribute column, and CHAR[3] into the Type column. (CHAR[3] allows both U.S. and Australian style State codes or abbreviations to be used.) Click File - Save to save and add 'STATE' attribute to the state class. Note that after you have pressed File - Save, Freedombase allocates a Position for the Attribute in the position field. That position can be changed manually if needed.

Because we set Number of Key Parts to 1, and we have entered one attribute, any remaining attributes we enter will simply be standard attributes of the class, ie they will not form part of the primary key. Enter 'DESCRIPTION' into the first blank attribute name field, and enter 'CHAR[60]' in the Type field. Click File - Save, to save the second attribute into the class. You have now added all the attributes onto this class that were required.

Please note that you do not have to click on File - Save after entering every attribute; you can enter as much data as will fit on the page in one go, and then click File - Save, if you prefer.

previousnext
1234567891011121314151617181920212223242526272829303132333435363738394041424344