Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [jai] User Language

Quote Reply
Re: [jai] User Language In reply to
You should add the code below before modifing a record

#Setup the language for GT::SQL.
local $GT::SQL::ERRORS->{ILLEGALVAL} = $self->_language('ADD_ILLEGALVAL');
local $GT::SQL::ERRORS->{UNIQUE} = $self->_language('ADD_UNIQUE');
local $GT::SQL::ERRORS->{NOTNULL} = $self->_language('ADD_NOTNULL');


Ensure that ADD_ILLEGALVAL, ADD_UNIQUE and ADD_NOTNULL are available in language.txt

TheStone.

B.
Subject Author Views Date
Thread User Language jai 3514 Oct 28, 2002, 9:24 PM
Thread Re: [jai] User Language
604 3418 Oct 29, 2002, 10:14 AM
Thread Re: [TheStone] User Language
jai 3412 Oct 29, 2002, 4:04 PM
Thread Re: [jai] User Language
604 3353 Nov 13, 2002, 3:57 PM
Thread Re: [TheStone] User Language
jai 3336 Nov 13, 2002, 9:03 PM
Post Re: [jai] User Language
604 3345 Nov 14, 2002, 9:45 AM