Hi, I have looked at the examples and its taking me a while to fully grasp all the ideas and concepts behind SQL. Please bear with me.
I'm trying to get a list of all the tables in a database. I tried the following, but this only returns the name of 1 table (FieldCount returns 1):
DBcommand.CommandText = "Select name FROM sqlite_master WHERE Type = 'table'"
DBreader.Value = DBcommand.ExecuteReader
If DBreader.ReadNextRow = False Then
Msgbox("DB not found.","Error",cMsgboxOK,cMsgboxAsterisk)
Else
DBfound = True
Msgbox (DBreader.FieldCount)
Msgbox (DBreader.GetValue(0))
Msgbox (DBreader.GetValue(1))
End If