You are viewing version #10 of a page entitled Creating Fields. The page Owner is admin and the last changes were made by admin 13 months ago. There are 592 words in this revision and it has been viewed 553 times.
This page is Protected from any changes.

Click to hide

Creating Fields in the Database

Basics of Adding Fields

From the ppSD2 control panel: “Setup” > “Add a Custom Field”

  1. Select the number of new fields that you wish to add into the database and click on “Continue”
  2. On the next page, input the field information:

=A3SFVVblt2blNGe2R3Tqd3X2ZER0lmQJh3ZjZUZnFkS0Flbn91bKlGdMhXazV3TUVGaRFHdG90Sp1mQxFFaNhFR399

Special Field Types

Random ID

A random ID field will automatically be populated in the database with a specific format. Formatting is determined as follows:

Formatting
l (lower case L): Replaced by a lower case letter.
L (upper case L): Replaced by an upper case letter.
n (lower case N): Replaced by a number.

Any other characters will remain the same.

Example The follow value ll-LL-34-GlLnnnn will be generated in the database as any of the following (among millions of other possibilities):

Notice how the 34, dashes, and G remain the same but the other characters are replaced with randomly generated characters and numbers.

Date Field

A date field is stored in the database as an actual date and time, making processing the information and properly formatting the date at a later time much easier.

Date Order: Controls how the fields are displayed to the user on the page.
Month Type: Controls how the months will be displayed, either in a numerical manner (03 or 05) or as a written word (March or May).
Year Start/End: Controls the year range that is displayed in the year field. Example, if you input the start year as 2000 and the end year as 2008, the “year” field will give the user the following options:

2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
[1] We only recommend encrypting information if absolutely necessary, as it will increase the time to process information from the database and will increase the size of the information stored within the database. Size increase: roughly 10 times larger than unencrypted data. Encrypting information will also make searching it impossible.

This page last modifed by admin @ 20 August 2009 07:04. Created on 23 May 2009 08:54 Protected Page