peacemaker Expert Licensed User Longtime User Apr 28, 2023 #1 Hi, All Simple question - how to get qty of columns ?
MichalK73 Well-Known Member Licensed User Longtime User Apr 28, 2023 #2 make a loop from 1 to 1000. start reading a cell in the table of the first row and a column from the loop 1 to 1000. if there is an error reading a given cell, it means that the number of columns in the table is the value of the loop minus 1 Upvote 0
make a loop from 1 to 1000. start reading a cell in the table of the first row and a column from the loop 1 to 1000. if there is an error reading a given cell, it means that the number of columns in the table is the value of the loop minus 1
MichalK73 Well-Known Member Licensed User Longtime User Apr 28, 2023 #5 a bit of a weird question. When you create a table, you specify how many columns it should have. you also know how many rows you are throwing into the table. Upvote 0
a bit of a weird question. When you create a table, you specify how many columns it should have. you also know how many rows you are throwing into the table.
peacemaker Expert Licensed User Longtime User Apr 28, 2023 #6 MichalK73 said: When you create a table Click to expand... I have an interface with dynamical several tables generation. And it's rather ... weird to store, say, SQL cursors (as the info source) and also visual tables. Upvote 0
MichalK73 said: When you create a table Click to expand... I have an interface with dynamical several tables generation. And it's rather ... weird to store, say, SQL cursors (as the info source) and also visual tables.
peacemaker Expert Licensed User Longtime User Apr 28, 2023 #7 I think, i have to prepare the map with table parameters: id, title, rowcount, columncount... That must be always in the .Tag of each table, filled during the table creation... Upvote 1
I think, i have to prepare the map with table parameters: id, title, rowcount, columncount... That must be always in the .Tag of each table, filled during the table creation...
MichalK73 Well-Known Member Licensed User Longtime User Apr 28, 2023 #8 But if you create a dynamic table, you can store the size of the row and column table in some variable: list or map. It is 1000 times faster to read the size of a dynamic table from a variable than to read the size of a table like I gave you. Upvote 0
But if you create a dynamic table, you can store the size of the row and column table in some variable: list or map. It is 1000 times faster to read the size of a dynamic table from a variable than to read the size of a table like I gave you.
peacemaker Expert Licensed User Longtime User Apr 28, 2023 #9 I mentioned this in the prev post... Seems, no better variant with this JS. Upvote 0
MichalK73 Well-Known Member Licensed User Longtime User Apr 28, 2023 #10 peacemaker said: I mentioned this in the prev post... Seems, no better variant with this JS. Click to expand... Which post. I don't think I've seen it. Upvote 0
peacemaker said: I mentioned this in the prev post... Seems, no better variant with this JS. Click to expand... Which post. I don't think I've seen it.
peacemaker Expert Licensed User Longtime User Apr 28, 2023 #11 7th [ABMaterial] ABMTable column count ? Hi, All Simple question - how to get qty of columns ? www.b4x.com Upvote 0
7th [ABMaterial] ABMTable column count ? Hi, All Simple question - how to get qty of columns ? www.b4x.com
MichalK73 Well-Known Member Licensed User Longtime User Apr 28, 2023 #12 UPS sorry . Fact. You can actually write in the Tag table, or if you do not want to provide it, hide it on the server side in a variable as mentioned. Upvote 0
UPS sorry . Fact. You can actually write in the Tag table, or if you do not want to provide it, hide it on the server side in a variable as mentioned.