R RB Smissaert Well-Known Member Licensed User Longtime User Apr 11, 2018 #1 How do I use a SQL with parameters with LoadSQLiteDB with the Table class? With Table class I mean the one discussed here: https://www.b4x.com/android/forum/threads/class-flexible-table.30649/ I can only see the option to use a plain SQL string. Or should I just run ExecQuery2 and populate the table view from the cursor? RBS
How do I use a SQL with parameters with LoadSQLiteDB with the Table class? With Table class I mean the one discussed here: https://www.b4x.com/android/forum/threads/class-flexible-table.30649/ I can only see the option to use a plain SQL string. Or should I just run ExecQuery2 and populate the table view from the cursor? RBS
DonManfred Expert Licensed User Longtime User Apr 11, 2018 #2 RB Smissaert said: one discussed here: Click to expand... in which of the 40 pages of this thread? Upvote 0
R RB Smissaert Well-Known Member Licensed User Longtime User Apr 11, 2018 #3 DonManfred said: in which of the 40 pages of this thread? Click to expand... Page 1. I thought it was quite obvious. Or page 1 of this one: https://www.b4x.com/android/forum/threads/class-tableview-supports-tables-of-any-size.19254/ RBS Upvote 0
DonManfred said: in which of the 40 pages of this thread? Click to expand... Page 1. I thought it was quite obvious. Or page 1 of this one: https://www.b4x.com/android/forum/threads/class-tableview-supports-tables-of-any-size.19254/ RBS
R RB Smissaert Well-Known Member Licensed User Longtime User Apr 11, 2018 #4 RB Smissaert said: Page 1. I thought it was quite obvious. Or page 1 of this one: https://www.b4x.com/android/forum/threads/class-tableview-supports-tables-of-any-size.19254/ RBS Click to expand... As I have the source of this class I can just alter the arguments of LoadSQLiteDB and supply a cursor intead of the SQL string. That should do it. RBS Upvote 0
RB Smissaert said: Page 1. I thought it was quite obvious. Or page 1 of this one: https://www.b4x.com/android/forum/threads/class-tableview-supports-tables-of-any-size.19254/ RBS Click to expand... As I have the source of this class I can just alter the arguments of LoadSQLiteDB and supply a cursor intead of the SQL string. That should do it. RBS
klaus Expert Licensed User Longtime User Apr 11, 2018 #5 RB Smissaert said: How do I use a SQL with parameters with LoadSQLiteDB with the Table class? Click to expand... From now on you can, have a look HERE. Added LoadSQLiteDB3 to the Table class. Last edited: Apr 11, 2018 Upvote 0
RB Smissaert said: How do I use a SQL with parameters with LoadSQLiteDB with the Table class? Click to expand... From now on you can, have a look HERE. Added LoadSQLiteDB3 to the Table class.
R RB Smissaert Well-Known Member Licensed User Longtime User Apr 11, 2018 #6 From now on you can, have a look HERE. Click to expand... in which of the 41 pages of this thread? RBS Upvote 0
From now on you can, have a look HERE. Click to expand... in which of the 41 pages of this thread? RBS
DonManfred Expert Licensed User Longtime User Apr 11, 2018 #7 RB Smissaert said: in which of the 41 pages of this thread? Click to expand... You should check the link! It is a direct link to a specific POST in the Thread. Post #1. There is a new File: TableV2_26.zip Upvote 0
RB Smissaert said: in which of the 41 pages of this thread? Click to expand... You should check the link! It is a direct link to a specific POST in the Thread. Post #1. There is a new File: TableV2_26.zip
R RB Smissaert Well-Known Member Licensed User Longtime User Apr 11, 2018 #8 I would add LoadSQLiteDB4 as well with a cursor argument: Code: Copy Public Sub LoadSQLiteDB4(SQLite As SQL, Curs As Cursor, AutomaticWidths As Boolean) cAutomaticWidths = AutomaticWidths mNumberOfColumns = Curs.ColumnCount innerClearAll(mNumberOfColumns) As you may have run the query already as in my particular case. RBS Upvote 0
I would add LoadSQLiteDB4 as well with a cursor argument: Code: Copy Public Sub LoadSQLiteDB4(SQLite As SQL, Curs As Cursor, AutomaticWidths As Boolean) cAutomaticWidths = AutomaticWidths mNumberOfColumns = Curs.ColumnCount innerClearAll(mNumberOfColumns) As you may have run the query already as in my particular case. RBS
R RB Smissaert Well-Known Member Licensed User Longtime User Apr 11, 2018 #9 DonManfred said: You should check the link! It is a direct link to a specific POST in the Thread. Post #1. Click to expand... How do I get a link to the specific post? Couldn't find that. RBS Upvote 0
DonManfred said: You should check the link! It is a direct link to a specific POST in the Thread. Post #1. Click to expand... How do I get a link to the specific post? Couldn't find that. RBS
udg Expert Licensed User Longtime User Apr 11, 2018 #10 How do I get a link to the specific post? Couldn't find that. Click to expand... Whenever you need to get a link to a specific post (permalink), just use what is returned clicking on the #post-number on the bottom right of any post. Upvote 0
How do I get a link to the specific post? Couldn't find that. Click to expand... Whenever you need to get a link to a specific post (permalink), just use what is returned clicking on the #post-number on the bottom right of any post.
klaus Expert Licensed User Longtime User Apr 11, 2018 #11 RB Smissaert said: How do I get a link to the specific post? Couldn't find that. Click to expand... There is no specific post, I updated the file in the first post of the Flexible Table thread, same link as above. Look at the bottom of the first page and download TableV2_26.zip, that's the latest version. RB Smissaert said: I would add LoadSQLiteDB4 as well with a cursor argument: Click to expand... I will not add LoadSQLiteDB4, I don't see the utility. Upvote 0
RB Smissaert said: How do I get a link to the specific post? Couldn't find that. Click to expand... There is no specific post, I updated the file in the first post of the Flexible Table thread, same link as above. Look at the bottom of the first page and download TableV2_26.zip, that's the latest version. RB Smissaert said: I would add LoadSQLiteDB4 as well with a cursor argument: Click to expand... I will not add LoadSQLiteDB4, I don't see the utility.
R RB Smissaert Well-Known Member Licensed User Longtime User Apr 11, 2018 #12 udg said: Whenever you need to get a link to a specific post (permalink), just use what is returned clicking on the #post-number on the bottom right of any post. Click to expand... Aah, OK. Thanks for that. RBS Upvote 0
udg said: Whenever you need to get a link to a specific post (permalink), just use what is returned clicking on the #post-number on the bottom right of any post. Click to expand... Aah, OK. Thanks for that. RBS