Recent

Author Topic: TV Plaint Error Create Table Resources  (Read 667 times)

eldonfsr

  • Hero Member
  • *****
  • Posts: 552
TV Plaint Error Create Table Resources
« on: April 09, 2023, 02:17:08 am »
TvPlaint Mysql Error create resource table
LogMessage = $0000000005FC8828^: 'CREATE TABLE Resources ( ResourceID INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, Description VARCHAR(255), Notes VARCHAR(1024), ImageIndex INTEGER, ResourceActive BOOL, UserField0 VARCHAR(100), UserField1 VARCHAR(100), UserField2 VARCHAR(100), UserField3 VARCHAR(100), UserField4 VARCHAR(100), UserField5 VARCHAR(100), UserField6 VARCHAR(100), UserField7 VARCHAR(100), UserField8 VARCHAR(100), UserField9 VARCHAR(100) )'

What i have to do create a table and don't let auto create tables...




wp

  • Hero Member
  • *****
  • Posts: 12909
Re: TV Plaint Error Create Table Resources
« Reply #1 on: April 09, 2023, 12:05:47 pm »
Please check the spelling. I don't know of a TvPlaint. But the error message indicates that you might mean TvPlanIt...

Well, I cannot say much about it. TvPlanIt has not been tested with a MySQL datebase. Which kind of datastore did you use to access the DB? MySQL probably uses a variant of SQL which is incompatible with the code used by your datastore. You should probably use a TVpFlexDatastore in which you can specify the SQL to create the tables in the OnCreateTable event. See the sample project in folder "examples/datastores/flex/access" of your TvPlanIt installation.

eldonfsr

  • Hero Member
  • *****
  • Posts: 552
Re: TV Plaint Error Create Table Resources
« Reply #2 on: April 12, 2023, 03:51:22 am »
Ok Thanks, I created tables manually and only connect...

 

TinyPortal © 2005-2018