Gossamer Forum
Home : Products : Gossamer Links : Discussions :

ENUM fields with ' () in v. 2.2.1

Quote Reply
ENUM fields with ' () in v. 2.2.1
Hi,

I am trying to create an ENUM field with a list of countries.

But, it won't accept countries with ' ( ) in their names:

Example:

China (People's Republic of)
Korea, Democratic People's Republic of
...

I can create the field but I can't Resync Database after ...

Error: GT::SQL::Creator (20936): enum('China (People''s Republic of)','Korea, Democratic People''s Republic of') is not a supported type at GT::SQL::Admin::editor_update_def line 1946.

Unsure

Thanks in advance!
Quote Reply
Re: [Payooo] ENUM fields with ' () in v. 2.2.1 In reply to
Try a CHAR, and use a SELECT field. Then, just enter values for the "show" and "database values" areas (idential, so they match up).

I've never really ad much luck with ENUM's either :(

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] ENUM fields with ' () in v. 2.2.1 In reply to
Thanks Andy Wink