Simple DlgTestSQL example

Started by TimoVJL, November 16, 2015, 10:56:18 AM

Previous topic - Next topic

TimoVJL

Simple DlgTestSQL example for generating CREATE TABLE clause.

EDIT 2015-11-18. fix column width change.
May the source be with you

jj2007

Looks interesting, Timo, but what is it supposed to do? SaveLines doesn't appear to save something, and I only get this odd MessageBox...

TimoVJL

#2
You found a bug ;) Missing type for field. There isn't any checks yet.

This is a test bed for that dialog.
function SaveLines just create SQL-clause for SQLite.
Further processing is up to use/user.
May the source be with you

jj2007

Alright, thanks. I was hoping to see a crispy example ;-)

Right now, a not-so-professional postal packet delivery site gave me "Error displaying the error page: Application Instantiation Error: Could not connect to MySQL." 8)

TimoVJL

I can't recreate that error in your picture :(
What OS your use?

What kind of 'crispy' example do you mean?
May the source be with you

jj2007

Quote from: TimoVJL on November 17, 2015, 05:24:45 PM
I can't recreate that error in your picture :(
What OS your use?

What kind of 'crispy' example do you mean?

Win7-64. And I meant just a "hello world"-style example. But I found one from Iczelion here.

TimoVJL

ODBC tutorial here
ODBC GUI shell is here
SQLite3 GUI shell is here
May the source be with you