In Fast Report 4.14 I have to create cross-report. Number of columns not defined. When there isn't space on page, columns should be printed on next row, for example:
Row 1: 1, 2, 3, 4, 5
Row 2: 1, 2, 3, 4, 5
Row 3: 1, 2, 3, 4, 5
Should be printed like
Row 1: 1, 2, 3,
4, 5
Row 2: 1, 2, 3,
4, 5
Row 3: 1, 2, 3,
4, 5
I was trying to use TfrxDBCrossView, then vertical bands - doesn't help. When space not enough it moves columns on next page instead of next row. So for the moment I'm adding memos dynamically on MasterBand and change vertical position for it if there is no free space on current line. Is it possible to avoid dynamic generation and use some components? For me will be the best to use TfrxDBCrossView, if it moves columns on next line, not page.
I have faced a similar problem, I wanted to use the property "wordwrap" at the cell, but just set this property wasn't enough, for the table be correctly generated. So, I set the property AUTOSIZE = true to DB_cross and Wordwrap = true to to specified cell. The result was which you wanted in your question.
Row 1: 1, 2, 3,
4, 5
Related
Basically I got a column of number that gets a constant number added to it, like +2 for every cell.
For example:
1
3
5
7
How do I do that in Sheet? I couldn't find a way to use the SUM formula, as I needed to reference the cell above and add +2 to it.
Assuming you want 10 numbers, you could try
=sequence(10, 1, 1, 2)
I have three formulas, relatively the same, but with a different column for each.
=OFFSET('War Layouts'!$B$2,(ROW(B1)-1)*7,0)
=OFFSET('War Layouts'!$F$2,(ROW(F1)-1)*7,0)
=OFFSET('War Layouts'!$J$2,(ROW(J1)-1)*7,0)
The formula's do exactly what I want, but I want to copy them down my column to repeat the functionality.
When I copy them down, the row number changes to (B4),(F4),(J4), etc. And nothing else increases, which is what I want.
I want the row value to be (B2),(F2),(J2) when I copy down the formula and I just cannot wrack my brain on how to achieve this.
Edit: For additional information, i'm providing a spreadsheet example of what i'm working with.
https://docs.google.com/spreadsheets/d/1Fxc4KcAYlh7vfg7UV0oestKdyuf0LrpvzJmyt0JbAzg/edit?usp=sharing
Essentially I want pull the 'Name' Field, 3 time's a week, every 7 rows.
So day 1 is the B column, Day 2 is F, Day 3 is J.
On the 'Stats' Sheet, is where I have the formula's above. The first 3 row's are correct, but the next three have B4,F4,J4 instead of B2,F2,J2, etc.
This may do what you want, similar to what WOUNDEDStevenJones has described. Since dragging down will normally increment the row numbers in the equations by 1, use INDIRECT to calculate the new row number, based on the current row number divided by 3. The only trick is factoring in your starting row. Here are the three new formulae to replace your existing formulae:
=OFFSET($B$2, ROW( INDIRECT("B" & INT((row()+2)/3))) *7 , 0)
=OFFSET($F$2, ROW( INDIRECT("F" & INT((row()+2)/3))) *7 , 0)
=OFFSET($J$2, ROW( INDIRECT("J" & INT((row()+2)/3))) *7 , 0)
If you put these anywhere on rows 1,2 and 3 (one above the other), they can be dragged down as a group of three. You can test it out by taking just one part, =ROW( INDIRECT("B" & INT((row()+2)/3))), and dragging this down. You'll see it increments the row number by one every three rows.
The only trick is getting the starting value right. If you don't want to place the first formula in row 1, you need to adjust the "+2" amount downwards by 1, for each row you move down. So +1 if starting on row 2, +0 if on 3, -1 if on 4, etc.
Let me know if this helps, or if you need more explanation.
I have a kendo grid which groups by name with a checkbox to select or unselect elements based on a payrollid. A payrollid can appear for multiple names.
A sample of the data would be
1, Fred /
2, Fred /
1, Tom /
1, Mel /
1, Jim /
2, Jim /
2, Joey
…
Now if there are a lot of elements, and I scroll down to the bottom of the page and click on a checkbox to remove the PayrollId 2 for Jim, the grid automatically jumps up to the matching PayrollId 2 for Fred. It's scrolling / jumping to the first element it finds that matches the PayrollId for the checkbox I selected, but I would like it to stay where it is.
Is there a way to remove this functionality?
Thanks,
Try to remove the Navigatable() property of kendo grid and try..I think it will work
I have a sheet with data organised like this:
I have another sheet in which I want to transpose certain cells of each row, and at the same time, leave 5 rows between the end of the first transposed row and the beginning of the following. Like this:
The real first sheet database has tons of rows, so I'm looking for a way to ease the process, without having to write a formula in each row. It would be great if it could be done by just dragging down the first formulated cell.
This can be done by using modular arithmetics with row numbers. I will describe the solution pretending that I,J columns (which you apparently don't want) aren't there; perhaps you should move them to the right. The formula for Column A would be
=if(mod(row()-1, 14) < 9, indirect("Data!R1C" & mod(row(), 14), False), )
Explanation: The if statement is responsible for skipping 5 rows after each 9; the comma at the end of formula is for this purpose. If the row is in a suitable range, meaning that mod(row(), 14) is one of numbers 1-9, indirect refers to the cell in Data sheet, row 1, column numbered mod(row(), 14).
The formula for column B is similar, with the exception that the row number is also changing.
=if(mod(row()-1, 14) < 9, indirect("Data!R" & floor((row()-1)/14)+2 & "C" & mod(row(), 14), False), )
It refers to Data sheet with column number as above and row number floor(row()/14)+2 - meaning it begins at 2 and increases by 1 every 14 rows.
I have installed the Sublime Alignment plugin. It works well for aligning the first character (default is =). How can I align this block in Sublime Text 2 in one shot :
INSERT INTO user VALUES (1, 'Alpha', 'Beta', 'Delta');
INSERT INTO user VALUES (2, 'A', 'B', 'D');
to look like :
INSERT INTO user VALUES (1, 'Alpha', 'Beta', 'Delta');
INSERT INTO user VALUES (2, 'A', 'B', 'D');
Even if I add , as the alignment character in sublime alignment, it only works for the first occurence of ,
Align Tab is quite versatile & can accomplish the alignment and it's not limited to just first character.
Install