[Gambas-user] MySQL question
Charlie Reinl
Karl.Reinl at ...9...
Fri Aug 11 18:56:05 CEST 2006
Salut Ron,
What is program? Mainly CUT and PASTE.
Without CUT and PASTE, I wouldn't have become a programmer.
And it is always good to know, where you have seen, something you need.
Amicalment
Charlie
Am Freitag, den 11.08.2006, 05:39 +0200 schrieb Ron Onstenk:
> On Thursday 10 August 2006 22:31, Charlie Reinl wrote:
> > Salut Jim,
> >
> > to make your list of all these tables, you can use
> >
> > For each cTable in Handle.Tables
> >
> > you can find some code in gambas-database-manager
> > CConnection / Sub Refesh
> >
> > Amicalment
> > Charlie
> >
> >
> Hi Charlie,
>
> Like this?
>
> private asTables as string[]
>
> PUBLIC SUB GetTables()
> DIM hTable AS Table
> asTables.Clear
> FOR EACH hTable IN hConn.Tables
> asTables.Add(hTable.Name)
> NEXT
> asTables.Sort
> END
>
> ' honnest stolen idea from? yes the gambas-database-manager :)
> Was RefreshTables
>
> Ron
More information about the User
mailing list