NextCode Forum Index NextCode
Open Source Software Creation
 

Create table error
Click here to go to the original topic

 
       NextCode Forum Index -> Support (phpfinance)
View previous topic :: View next topic  
Author Message
samiux



Joined: 19 Jul 2006
Posts: 3

Posted: Wed Jul 19, 2006 1:37 am    Post subject: Create table error  

When I add a group to the program, it produces the following error message :

Quote: Failed to create table out_Cash-Daily
Debug info: CREATE TABLE out_Cash-Daily ( id int(10) unsigned NOT NULL auto_increment, date date NOT NULL default '0000-00-00', data varchar(25) NOT NULL default '', type varchar(25) NOT NULL default '', note TEXT NOT NULL default '', PRIMARY KEY (id) ) TYPE=MyISAM

Later, I use "Cash_Daily" instead of "Cash-Daily", it works perfectly.

Is it a bug?
Back to top  
Vlad Alexa Mancini



Joined: 07 Jul 2003
Posts: 303

Posted: Sun Jul 30, 2006 5:07 pm    Post subject:  

somewhat yes , more exactly a design error , the string should be quoted in the query , thanks for the report
Back to top  
 
       NextCode Forum Index -> Support (phpfinance)
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group