It is just a standard model that has 4 price fields. When a query is performed, I want to return one of those fields as price, not price1 .. 4
I have a user field called pricelevel that I will check. On Friday, June 28, 2013 2:41:55 AM UTC-4, Dakota wrote: > > We might be able to help you if you give us your code > > On Thursday, 27 June 2013 14:57:49 UTC+2, alex begos wrote: >> >> i have 2 models >> Invoices and Invoicesrecords >> and i have 3 virtualFields name,sumtotal,sumkae. >> >> Work great in localhost (wamp) but not working in share host server.... >> >> I get the below error: >> Error: SQLSTATE[42S02]: Base table or view not found: 1146 Table >> 'XXXXX.Invoicerecords' doesn't exist >> >> >> >> >> >> -- >> View this message in context: >> http://cakephp.1045679.n5.nabble.com/problem-with-virtual-fieds-cakephp2-tp5715427.html >> >> Sent from the CakePHP mailing list archive at Nabble.com. >> > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.