Hello,
I'm just starting to use B4A (I come from VB 6.0) and are really very enthousiastic about it.
Because all of my applications make use of a DataBase I started with that.
I use the module Table V2_19 (downloaded it from here) and man! That makes live a lot easier.
On my screen I have two tables. Table1 contains all records (Switches/outlets). In Table2 I want to load only the records of switches with the name selected in table1.
Table2.LoadSQLiteDB(DB_Switches,"Select * FROM Switches WHERE Switches.Name = '" & table1.GetValue(col,row) & "'" ,True)
I Always get only one record i table2. Mostly there are 24 or 48 records (number of ports on a switch) with the same name. I really haven't got a clue.
I'm just starting to use B4A (I come from VB 6.0) and are really very enthousiastic about it.
Because all of my applications make use of a DataBase I started with that.
I use the module Table V2_19 (downloaded it from here) and man! That makes live a lot easier.
On my screen I have two tables. Table1 contains all records (Switches/outlets). In Table2 I want to load only the records of switches with the name selected in table1.
Table2.LoadSQLiteDB(DB_Switches,"Select * FROM Switches WHERE Switches.Name = '" & table1.GetValue(col,row) & "'" ,True)
I Always get only one record i table2. Mostly there are 24 or 48 records (number of ports on a switch) with the same name. I really haven't got a clue.
Last edited: