Building project InterVueClient using the Debug configuration...
Compiling...
AppMain.ec
AppMain.ec:21:1: error: No database table defined in this module or database_open already used.
InterVueClient (Debug) - 1 [e]rror, no warning
Last active
January 13, 2020 19:09
-
-
Save lighth7015/1d5b0c984551c2e421cc77e1128b1f00 to your computer and use it in GitHub Desktop.
AppMain (ec)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "ecere" | |
import "DefaultSkin" | |
import "EDA" | |
class AppMain: GuiApplication { | |
skin = "App"; | |
Database handle; | |
DataSource source { driver = "SQLite" }; | |
AppMain() { | |
//SetDefaultIdField("name"); | |
handle = database_open(source, "default.dat"); | |
} | |
~AppMain() { | |
//delete handle; | |
//delete source; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "ecere" | |
import "EDA" | |
dbtable "screens" Screen { | |
String name "name"; | |
String layout "layout"; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment