Show pageOld revisionsBacklinksExport to PDFFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== pears.CustomWPFields ====== <WRAP center round info> Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. </WRAP> ===== Description ===== Contains definitions of additional merge fields for Word. ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | FieldCategory | char(3) | NULL | | app, com, vac, prg, plc, con | | FieldName | char(30) | NULL | | No spaces or punctuation | | FieldDescription | char(50) | NOT NULL | | | | FieldSelect | long varchar | NOT NULL | | e.g. select replacestr(othernotes,char(10),'',0) from person where personid=# | | SortOrder | smallint | NULL | | | | **CustomWPFieldsID** | char(20) | NOT NULL | | | | NotificationsOnly | tinyint | NULL | | | ===== Primary Key ===== * CustomWPFieldsID ===== Foreign Keys ===== * No outgoing foreign keys found. ===== Referenced By ===== ^ Table ^ Constraint ^ Columns ^ Referenced columns ^ | [[database:tables:pears_customwpfieldslink|pears.CustomWPFieldsLink]] | CustomWPFields | CustomWPFieldsID | CustomWPFieldsID | ===== Indexes ===== ^ Name ^ Type ^ Columns ^ Detail ^ | CustomWPFields_CategoryName | Unique index | FieldCategory, FieldName | | ===== Triggers ===== * No triggers found. ===== Original SQL ===== <code sql> -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."CustomWPFields" -- Table comment: Contains definitions of additional merge fields for Word. -- Statement count: 6 CREATE TABLE "pears"."CustomWPFields" ( "FieldCategory" char(3) NULL ,"FieldName" char(30) NULL ,"FieldDescription" char(50) NOT NULL ,"FieldSelect" long varchar NOT NULL ,"SortOrder" smallint NULL ,"CustomWPFieldsID" char(20) NOT NULL ,"NotificationsOnly" tinyint NULL ,PRIMARY KEY ("CustomWPFieldsID" ASC) ) go COMMENT ON COLUMN "pears"."CustomWPFields"."FieldCategory" IS 'app, com, vac, prg, plc, con' go COMMENT ON COLUMN "pears"."CustomWPFields"."FieldName" IS 'No spaces or punctuation' go COMMENT ON COLUMN "pears"."CustomWPFields"."FieldSelect" IS 'e.g. select replacestr(othernotes,char(10),'''',0) from person where personid=#' go COMMENT ON TABLE "pears"."CustomWPFields" IS 'Contains definitions of additional merge fields for Word.' go CREATE UNIQUE INDEX "CustomWPFields_CategoryName" ON "pears"."CustomWPFields" ( "FieldCategory","FieldName" ) go </code> database/tables/pears_customwpfields.txt Last modified: 2026/08/07 19:24by 127.0.0.1