Thanks :)
I just wonder, why the CakePHP book states one thing, when using MySQL
and another when using PostgreSQL in the section "Create virtual
fields" at:
http://book.cakephp.org/#Creating-virtual-fields-1609

Have you tried to do accordingly? That is, changing the statement in
the component to:

[code]
$modelObj->virtualFields = array ('name' => 'CONCAT($modelObj-
>primaryKey, ": ", $modelObj->displayField)');
[/code]

Enjoy,
   John

On Feb 20, 1:21 am, dreamingmind <[email protected]> wrote:
> And I'm using MySQL
>
> Don

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to