Putting cell border after each group
I have 3 groups invoices, on account credits and on account receipts groups. In invoices group contain another group which is the application of the invoices. I want that every end of each invoices, will put a cell bottom border. And after the entire invoice group i will again put a cell bottom border to some of the columns.
Need your help. if you want i can upload the xml output and xml template i have.
Thank you so much.
i cant upload files here but if anybody is interested i can send the files to you. really appreciate if somebody can help me.
Similar Messages
-
Summary column after each group
Hello,
I have programmed a sql statement which gives me the following data.
no id name year a b s_a s_b
1 700 Mrs. Smith 2012 36 7 101 13
1 700 Mrs. Smith 2012 21 2 101 13
1 700 Mrs. Smith 2012 27 2 101 13
1 700 Mrs. Smith 2012 17 2 101 13
2 163 Mr. Heck 2012 80 12 170 17
2 163 Mr. Heck 2012 90 5 170 17
3 515 Mrs. Peter 2012 40 0 40 0 It is possible to get the summary columns s_a und s_b after each id-group?
no id name year a b
1 700 Mrs. Smith 2012 36 7
1 700 Mrs. Smith 2012 21 2
1 700 Mrs. Smith 2012 27 2
1 700 Mrs. Smith 2012 17 2
101 13
2 163 Mr. Heck 2012 80 12
2 163 Mr. Heck 2012 90 5
170 17
3 515 Mrs. Peter 2012 40 0
40 0Does anybody have an idea?Or
with t
as
select 1 no, 700 id, 'Mrs. Smith' name, 2012 year, 36 a, 7 b, 101 s_a, 13 s_b from dual union all
select 1 no, 700 id, 'Mrs. Smith' name, 2012 year, 21 a, 2 b, 101 s_a, 13 s_b from dual union all
select 1 no, 700 id, 'Mrs. Smith' name, 2012 year, 27 a, 2 b, 101 s_a, 13 s_b from dual union all
select 1 no, 700 id, 'Mrs. Smith' name, 2012 year, 17 a, 2 b, 101 s_a, 13 s_b from dual union all
select 2 no, 163 id, 'Mr. Heck' name, 2012 year, 80 a, 1 b, 170 s_a, 17 s_b from dual union all
select 2 no, 163 id, 'Mr. Heck' name, 2012 year, 90 a, 5 b, 170 s_a, 13 s_b from dual union all
select 3 no, 515 id, 'Mrs. Peter' name, 2012 year, 40 a, 0 b, 40 s_a, 0 s_b from dual
select no,id,name,year,sum(a) a,sum(b) b
from
select t.*,row_number() over(partition by no,id order by a) rn
from t
group by no,id,rollup(name,year,rn)
having (
GROUPING(name),GROUPING(year),GROUPING(rn)
) in
(1,1,1),
(0,0,0)
NO ID NAME YEAR A B
1 700 Mrs. Smith 2012 17 2
1 700 Mrs. Smith 2012 21 2
1 700 Mrs. Smith 2012 27 2
1 700 Mrs. Smith 2012 36 7
1 700 101 13
2 163 Mr. Heck 2012 80 1
2 163 Mr. Heck 2012 90 5
2 163 170 6
3 515 Mrs. Peter 2012 40 0
3 515 40 0
10 rows selectedEdited by: jeneesh on Jan 23, 2013 3:25 PM
Simplified.. -
Urgent: Oracle Reports : Blank Page Should print after each Group of record
Hi all,
I have a different kind of requirement, in my report I have 1 block and I want to generate a blank page after every group of records. This is because the printer is printing both side of the paper and we are giving multiple group at same time.
Cannot touch the printer setup since it is a common one. Anybody can help me in this for a fast and simple way ? "Maximum records per page" property for the repeating frame give the next group to a fresh page but there will not be a blank page in between.
Please help ..
Thanks,
Ani.Thank you for your attention.
Empty frame with page break is not helping me since it will not hide the rest of the items which are outside the repeating frame. Like Report caption, Group Name, Page footer etc...
If I am using the empty frame, is there any way to hide all other items ?
Thanks,
Anish -
Alternating text color of excel cell items after each space?
Hello. I have a script that emails a table of info which works fine and that looks like this:
name, samaccountname, date, memberof
In the email table I was able to have it do a line break on each space so that the memberof groups are on on separate lines for easier reading.
Well I've been wanting to send the data to store in a csv sheet as well. I can get it going in there but for the member of column it puts in memberof1 memberof2 memberof3 etc etc on one line. The CNs OUs etc are all removed and its just the group
names separated by spaces. Works but a little hard to read.
I was thinking maybe there was a way to open the excel file for writing and on that one column have it alternate text colors using the space as the delimiter? Everything would be easier to read that way. Is this possible ?
ThanksThanks. I did look at that and have this so far. Im just trying to echo it out right now, but Im guessing that somehow in the foreach ($item in $groups) I need to create an array or something? Then Id want to apply one color to each item in the array.
Ive tried several different combinations and was trying $item.spli(" ") but it always comes back looking the same.
So right now $item echos like this
Group1 Group2 Group3 Group4 Group5
Id just want to alternate each space delimited item one of two colors. Then take those appened colors of each item and write it back to the cell that I read it from in the column so that its easier to read. Is this even possible?
$objExcel = new-object -comobject excel.application
$objExcel.Visible = $True
$ExcelFilesLocation = "c:\"
$UserWorkBook = $objExcel.Workbooks.Open($ExcelFilesLocation + "groups.csv")
$UserWorksheet = $UserWorkBook.Worksheets.Item(1)
$intRow = 2
Do {
# Reading the first column of the current row
$groups = $UserWorksheet.Cells.Item($intRow, 4).Value()
foreach ($item in $groups)
$regex = [regex] "\s"
$split = $regex.split($item)
Write-Host $split
# Move to next row
$intRow++
While ($UserWorksheet.Cells.Item($intRow,1).Value() -ne $null) -
How put a border round a table row?
I have a simple table, and want to put a border round each row - for some reason nothing I do works. I would also like a large space between rows than between the individual cells but again can't work out how to do it.
Can anyone help?Just to close this thread, I'll show how I would do it -
<style type="text/css">
table {
border-collapse:collapse;
.row td, .row th {
border:solid #000;
border-width:1px;
.row td+td {
border-right:none;
border-left:none;
.row td.last {
border-right:1px solid #000;
.row>td {
border-right:none;
</style>
</head>
<body>
<table>
<tr class="row">
<td>asdfg</td>
<td>asdfg</td>
<td>asdfg</td>
<td class="last">asdfg</td>
</tr>
</table>
</body>
This is interesting because it illustrates the use of the adjacent siblings selector and the first descendent selector. What's slick is if you know how many cells there are in the row, you could do it this way and bypass the creation of that extra class selector (td.last) -
<style type="text/css">
table {
border-collapse:collapse;
.row td, .row th {
border:solid #000;
border-width:1px;
.row td+td {
border-right:none;
border-left:none;
.row td+td+td+td {
border-right:1px solid #000;
.row>td {
border-right:none;
</style>
</head>
<body>
<table>
<tr class="row">
<td>asdfg</td>
<td>asdfg</td>
<td>asdfg</td>
<td class="last">asdfg</td>
</tr>
</table>
</body> -
I have a macro that copies data from a Target workbook then pastes the data into a destination workbook. I then wish to use lookups in the destination workbook to view specific data from the pasted range of data on a separate sheet.
The problem is, the cells that contain numbers from the pasted data have the green dogeared error flags associated with the cell. The only way I can make a lookup function work, is to go to each cell and manually enter a carriage return after each entry.
The code for the macro is given below. What can be done so that the pasted data contains no errors associated with the number cells? Or can a second macro be written to clean the data. If so can you help me out? Thanks in advance.
Kindest Regards
Sub ImportData()
' ImportData Macro allows user to select an Excel workbook (i.e. Orchestrate Excel Output),
' then copy & paste it into the MediaSpreadsheet.
Dim wbk As Workbook
Set wbk = Application.Run("MediaSpreadsheet_1.0.xlsm!OpenFile")
If wbk Is Nothing Then
Beep
Exit Sub
End If
Set wbk = ActiveWorkbook
Range("A9:S116").Copy
Workbooks("MediaSpreadsheet_1.0.xlsm").Activate
Sheets("OrchestrateData").Select
Range("A1").Select
ActiveSheet.Paste
With Selection.Font
.ColorIndex = xlAutomatic
.TintAndShade = 0
End With
With Selection.Interior
.Pattern = xlNone
.TintAndShade = 0
.PatternTintAndShade = 0
End With
Selection.Borders(xlDiagonalDown).LineStyle = xlNone
Selection.Borders(xlDiagonalUp).LineStyle = xlNone
Selection.Borders(xlEdgeLeft).LineStyle = xlNone
Selection.Borders(xlEdgeTop).LineStyle = xlNone
Selection.Borders(xlEdgeBottom).LineStyle = xlNone
Selection.Borders(xlEdgeRight).LineStyle = xlNone
Selection.Borders(xlInsideVertical).LineStyle = xlNone
Selection.Borders(xlInsideHorizontal).LineStyle = xlNone
wbk.Close
Sheets("MediaSchedule").Select
End Sub
DAPulliam64Hi DAPAugust64,
The green "dogeared error flags" of the cells means that you paste numbers in these cells, but they're formated as Text.
So you need to change the cells back to the correct format so that the lookup function works fine. You can simply call this method after pasting:
ActiveSheet.Cells(1, 1).NumberFormat = "General"
ActiveSheet.Cells(1, 1) = ActiveSheet.Cells(1, 1).Text
Or use PasteSpecial method to paste the numbers as well as it's format:
https://msdn.microsoft.com/en-us/library/office/ff837425.aspx
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Yahoo is my home page and News, Sports, Business categories/links changed and now shows a few sentences after each main URL link/topic. How do I put it back to show just the URL links/topics without having to scroll down and down the page. All the extra sentences after the links causes too much scrolling to view the topics.
Those steps did not solve my problem. Here is an example of what I see although it's not exact copy/paste. All I want to see are the links but I get all the verbiage after the links
Firefox 17.0.1 version
''' '''Ask Stacy: How Can I Rebuild My Credit?''''''
Here’s a question familiar to millions of Americans… Stacy, My wife and I recently filed for bankruptcy due to high medical bills we were unable to pay. We purposefully didn’t add our Wells Fargo credit ...
Money Talks News
'''Analysis: High stakes for Cuba in Chavez's cancer battle'''
HAVANA (Reuters) - As Venezuelan President Hugo Chavez recovers in Havana from his fourth cancer operation, Cubans face renewed worries about their economic future if the country's top ally dies or has to step down from office. Cuba has staked its economic well-being on the success - and generosity…
41 mins agoReuters
[$$] Playing FICC or Treat With Bank Investors
'''Playing FICC or Treat With Bank Investors'''
The Wall Street Journal
AdChoices
'''Cybergeddon
A digital crime thriller from Anthony E. Zuicker, the creator of CSI. Only on Yahoo!
And here is what Internet Explore shows: All LINKS below
'''Molten gold signals mining's return to Calif.'s Mother Lode'''
'''Century-old fight for Budweiser name hits new snag'''
'''NRA goes silent after Connecticut school shooting'''
'''.Authorities: Kansas man who killed 2 cops dies''' -
While printing from word appl. printer after each line puts in number of page,
while printing from word appl. printer after each line puts in number of page, so I do not print 3 pages but 5 instead. What to do?
What printer models is this intended for? I assume it is aimed at the lower end inkjets, with the suggestion of loading 10-25 sheets of paper.
Bob Headrick, HP Expert
I am not an employee of HP, I am a volunteer posting here on my own time.
If your problem is solved please click the "Accept as Solution" button ------------V
If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V -
I have a spreadsheet that is a week at a glance schedule for a dance school. There are three columns per day, each representing a different studio location. Each row represents a 15 minute block time. I have been trying to create a border for each class (class times vary from 45 minutes to 2 hours) while leaving the in-between lines blank. For each 45 minute class, I select the three cells in a column, scroll down the border selection tool and select the outside border icon, next select the type of line, then the weight, finally the color, and so on. Once I get about 50% done working my way across the spreadsheet, buggy things start to happen. For example, a horizontal line will extend across several columns, sometimes intersecting previously defined class blocks. If I try removing the errand lines, then all the frames that do require a border at that position get their border errased. I them have to go back to those cells to re-assign a border segment, but then the unwanted horizontal line will reappear in the blank cells again. Very frustrating. Also, in my opinion, there are some cell frame options that are missing in this program. I t would be nice to have a button to select the top and bottom of a frame or group of frames at the same time. At present, you have to first select the top border, format it, then the bottom border and format it. Same goes for left and tight border sections. You can't select the two outside edges to apply the same style/thickness/color. Excel's border formatting commands are much better in this regard.
Title was edited by: HostHi Jim,
I played around with the border options today and although I didn't have the borders going where they were not wanted I understand your frustration having to set either all four or just one border at a time.
Just as an option, would filling the sets of cells with a light colour for each class work better for you? -
Is there away to put a border on one side of a cell only? If not, how do you put a verticle box in at the edge of a cell? I want to seperate some buttons the way that most programs have on the tool bar to indicate groups such as text group or main function groups. Thanks
Read the Swing tutorial on "How to Use Borders":
http://java.sun.com/docs/books/tutorial/uiswing/misc/border.html
I think you want a matte border. -
Print HTML Report Automatica​lly after Each UUT
Hello
I saw the document on NI site called "Print HTML Report Automatically after Each UUT". That's exactly what I want to do with XML files. So I put it in my sequence file and it works fine, but when it opens the xml file at the first step, there's a pop-up from IE who say that "Scripts are generally safe, do you want to authorise this script" (This message is also displayed when I open my file in files explorer).
So, the print is not automatically anymore as I must answer to this pop-up. does anybody has a solution to bypass this pop-up ?
I tried to use the property silent on the class IWebBrowser2. Inded, the pop-up doesn't appear anymore, but my XML file isn't correctly printed. I supposed the default response of the pop-up (which is no) is applied. So the script isn't executed.
I also tried to configure IE to not display this pop-up : No result
Regards
LaurentHello,
I think that you need to configure your browser, can you take a look a this article:
http://www.maxi-pedia.com/scripts+are+usually+safe+do+you+want+to+allow+scripts+to+run
Regards,
Nacer M. | Certified LabVIEW Architecte -
Using If condition in For EACH Group
Hi all,
I want to use if condition in for-each-group. Basically my requirement is that i want to use dynamic grouping. There will be two groups and the upper group and lower group will be selected on the basis of a report parameter.
I hope i made it clear enough. So please help me in this. Any ideas will be highly appreciable.
Thanks and regards
NaveedYou can add a If condition filed after the for-each field
for EG : <?if:ADDRESS_TYPE = 'Employee Address'?>
and then add anothet field which has <?end if?>
Hope this helps.
Thanks, -
When I have a border around a group of cell, how do I remove it. If I outline the cells again and then show in the Inspector NO BORDER, it removes not only the borderbut when I go to print it also the grid lines.
What application are you using? Numbers? Excel? Something else?
For help with Numbers spreadsheets go to this forum.
If you are using Excel, Microsoft has a forum to help you.
If it is something else, let us know what and we will try to point you in the right direction.
Best of luck. -
This may sound like a really silly question that has a simple
answer, but is there anyway of adding a border to one cell instead
of a whole table in Dreamweaver MX?
Thanks
LucyClick in the cell in DW Design view. Click on the <td>
tag on the tag
selector at the bottom of the document window. Right click
that tag, select
Set Class - and select NewsCellBorder from the list of
classes.
Or - click in the cell, select it on the tag selector, and
use the Class
field on the Property inspector to find and select
NewsCellBorder.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"rlc22" <[email protected]> wrote in message
news:f2i8tt$mom$[email protected]..
> The webpage with the table is here:
>
>
http://www.enagri.info/
>
> The cell I want to put a border on is the yellow one
(there're only 3).
>
> The CSS code is currently in a seperate style sheet but
doesn't have to
> be:
>
> .NewsCellBorder {
> border: thin solid #009900;
> }
http://www.enagri.info/index.php
> -
Cell border not appearing in Adobe forms
Hi,
We Placed a button in internal table cell and itu2019s property is set to invisible.
This button is set to visible based on value of other column value in the same row of table.
But border for the cell is not coming when button is invisible.
Note: the button size is equal to cell size and so when we make the button invisible ,the cell border itself is not appearing as the whole cell is invsible.
How make the cell border visible even the button in that cell is invisible.
Please put your suggestions in this regard.
Regards,
Kranti Yamparala.Hi Kiran,
Please go through the below link:
http://help.sap.com/saphelp_nw70/helpdata/en/45/2dbb13d79f3446e10000000a155369/frameset.htm
Here the method to hide the toolbar is given. Try passing ABAP_FALSE in method: lr_method_handler->set_hide_toolbars( abap_false ) if it works.
Regards,
Vaibhav
Maybe you are looking for
-
I have created a Print "column link" on my report that displayed with all the records on the report, so users can just click-on Print on the record that they want to print out. What I wanted to do is the last link that was clicked stays highlighted o
-
My Firefox has suddenly changed to Arabic and I can't get it back to English
On the Firefox home page, the Arabic language has suddenly started to appear, and the cursor moves from right to left. Also, my browser history has started to take up part of the screen. I can't get rid of thrse annoying features.
-
Hi, I need to create pdf of web pages I am creating. The editor I work with wants to see how the pages look before they are published, but would like to make her annotations on a pdf. Is there a way I can do this from Muse? Thanks!
-
Can't install iAS on NT 4. Is it just me?
I downloaded iAS for NT (1.0.1 I think), but I can't get the installer to run. Has anyone else successfully run this installer? The first time I tried, the installer halted immediately, complaining that it couldn't find jrew.exe. I found a path in a
-
I closed imovies and immediatly wanted to open it again and the software refuse to open/respond. There is also a small arrow pointing in an upward direction below the iMovie icon. I am a new Applec Mac user - please advise me what I need to do to res