[Gambas-user] Tables in sqlite

Ron Onstenk ronstk at ...239...
Tue Feb 5 07:27:47 CET 2008


On Tuesday 05 February 2008 06:39, andy60 wrote:
> If i want to work for a specific table in a sqlite database i use this 
> method:
> ||
> DIM hTable AS Table
> FOR EACH hTable IN MODMain.$Con.Tables
>  IF hTable.Name = "tbALIMENTI" THEN
>       
>  ....instructions ....
> 
>  END IF
> NEXT||
> 
> Can i use another method without using FOR EACH? Thank you for your 
> attention.
> 

Just some idea in case MODMain.$Con.Tables is a true array.

ListBox1.list=MODMain.$Con.Tables

TablesHtmlList=MODMain.$Con.Tables.Join('<BR>')

!! not tested  :=)

Ron




More information about the User mailing list