NO

Author Topic: Simple DlgTestSQL example  (Read 3594 times)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Simple DlgTestSQL example
« on: November 16, 2015, 10:56:18 AM »
Simple DlgTestSQL example for generating CREATE TABLE clause.

EDIT 2015-11-18. fix column width change.
« Last Edit: November 18, 2015, 12:27:27 PM by TimoVJL »
May the source be with you

Offline jj2007

  • Member
  • *
  • Posts: 536
Re: Simple DlgTestSQL example
« Reply #1 on: November 17, 2015, 06:33:49 AM »
Looks interesting, Timo, but what is it supposed to do? SaveLines doesn't appear to save something, and I only get this odd MessageBox...

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: Simple DlgTestSQL example
« Reply #2 on: November 17, 2015, 11:26:57 AM »
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.
« Last Edit: November 17, 2015, 11:34:10 AM by TimoVJL »
May the source be with you

Offline jj2007

  • Member
  • *
  • Posts: 536
Re: Simple DlgTestSQL example
« Reply #3 on: November 17, 2015, 12:01:03 PM »
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)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: Simple DlgTestSQL example
« Reply #4 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?
May the source be with you

Offline jj2007

  • Member
  • *
  • Posts: 536
Re: Simple DlgTestSQL example
« Reply #5 on: November 19, 2015, 02:56:47 AM »
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.

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: Simple DlgTestSQL example
« Reply #6 on: November 19, 2015, 08:57:35 AM »
ODBC tutorial here
ODBC GUI shell is here
SQLite3 GUI shell is here
May the source be with you