[V4RB] SQL "Create Table"

Erik Mueller-Harder lists at praxisworks.com
Tue Mar 11 12:46:22 CST 2003


On Tuesday, March 11, 2003, Ruslan Zasukhin wrote:

>> This seems pretty simple, but it consistently "unexpectedly quits."
>>  Sorry if I'm being dense; I'll get up to speed again quickly!
> 
> I don't know why you get crash.
> 
> If project is simple send it to me.

Thanks, everyone for your help.  Ruslan, don't bother looking at the small project I sent you.

It was indeed very simple.  I was executing the "Create Table" code inside the constructor for the database.  Not a good place to do it, since when the database object is created (and the constructor code is executed), the database file either hasn't been either created or opened yet.

OK, I'm humbled.  It may take me longer to get back up to speed with all this then I was expecting....

Sorry for the extra bandwidth,

Erik


More information about the Valentina mailing list