Thanks for the answer. I already had it this way but what happened was that the records were repeated in the lines, printing the same information 3 times in each line. Getting like this:
This approach basically finds the index of the key [Codigo Produto] in the total list of keys Produtos[Codigo Produto] and if the index number is in the series, 1, 4, 7, β¦it should print in the first column, 2, 5, 8β¦, it should print in the 2nd column and for 3, 6, 9β¦, it should print in the last column.
The finding index expression is based on the tip by @Steve , mentioned below
Thank you very much for the answer, Suvrutt_Gurjar I am starting with the appsheet and I have some difficulties yet, with your demonstration I got the result has not yet been satisfactory, because it was like this:
But starting from your idea I found a solution and solved part of the problem, now it is only left to find out how to make a range for each column in this piece of code in ([_ Rownumber], list (1,4,7) β¦ because in the first block All records should be located in this sequence 1,4,7,11,14,17 β¦ Until the end of the records, if I have an idea to help me get grateful.
Now the impression was as I needed.
Thanks also to Aurelien
The report was thus
Thank you for update and modifying the idea suggested.
Yes, this simple expression will work if all the rows of the table are serially present and one needs all the rows serially in the report. But almost every time there is some logic to select rows , for example date range or order status ( complete or incomplete), sales of a particular state and so on. During such times, the created list does not have serially arrangedrow numbers and hence complex indexing logic is required.
Nice to know that you got a work around. I think I may need a bit of tweak in my expression. I will revert tomorrow after testing.
This is true, I need to improve this solution, I will think in some way of the numbering of the lines always be sequential, if you can improve your solution I get grateful if you can send me, thanks again
I tested my suggestion and it works perfectly. I realized that there was a typo in my earlier shared expression. Instead of comma β,β there was a slash β/β in MOD() expression. The following template is corrected and it should work.
The products are arranged in the view as below. So you can see that in the report above, the images are aligned horizontally as 1, 2 , 3 and then 4, 5, 6 and then 7,8, 9 and then 10
Estimated friend Suvrutt_Gurjar, I greatly thank the attention to me, I had already detected the problem in the mod function and made the correction.
I now tested your solution again and I must be doing something wrong because the result is not expected.
The data is recorded like this
Estimated friend Suvrutt_Gurjar, look at this situation, I got the expected result but it was necessary to include another information in the case " ", has any explanation for this fact?
You are welcome, You need not apologize at all. We all have different native languages. Even my native language is not English. Of course, I studied my college education in English.
This output looks decent. Even though I understand that each barcode can be in a separate cell. I will try different template format and revert , if I can manage to do the needful.
Thank you. The shared document is not accessible. But please do not worry, you need not share it. I got the idea of your template from the shared image. I will revert if I find a good way to put each bar code in a different cell.
But generally your current output looks good, except for the bar codes not having independent cell.
Your template is still not available. But anyway please do not share the document As I mentioned, your picture of template makes it clear how it is there. Please reduce the IFS() statement to just one per cell.
Please try the following format, this will ensure you can have each bar code enclosed in a separate cell. Please note the additional cell in which <<[CodigoBarra]>> is placed.