...lngLastKnownVal As Long
Dim pntr As Long
Dim lngLastRow As Long
' ALL Data in column A must be numbers
lngLastRow = Cells.Find("*", Cells(Cells.Rows.Count, Cells.Columns.Count), , , xlByRows, xlPrevious).Row
For siteid = 1 To lngLastRow
If (InStr(1...
I understand you want to see which interior color number that is defined for a specific cell. Here's one way:
Sub a()
iRow = 1
iCol = 1
oRow = 1
oCol = 2
Cells(iRow, iCol).Select
c = Selection.Interior.Color
Cells(oRow, oCol) = c
End Sub
This code will output the interior color of cell...
Confuse-a-cat-limited...
Which blue arrow are we talking about here? There is one arrow pointing to the left just right of the house-icon. That arrow would take you back to where you where before.
The arrow I mean is on the next row, pointing to the right. The tooltip for this icon is "Run"...
You don't need to close the report and invoke it again to resubmit new prompt values. Just run the report again by pressing the blue arrow. That should force you to choose a new prompt value.
I don't think I follow you now Swathi.
If you use 'starts with' you don't need to concatenate with '%'.
In SQL you would use something like
'select Custname from myTable where myTable.Custname like 'whatever%'
In Cognos you would filter on something like
'[CustName] starts with ?MyParameter'...
Could anyone explain the difference between setting up an event for a report in event studio and setting up a report schedule? I use Cognos 8.
Is Event Studio schedueled to run at a pre-defined time or is it actually listening to the database in real-time like an SQL-trigger?
Confused...
...from test to prod for the entire project. All tables etc. are identical for the two data sources.
However, I found a way of doing this yesterday:
*Find the Project folder
*Open the model.xml file in a text editor.
*Replace all old_data_source entries in the file with new_data_source
*Save...
Sounds like you should use a Union to connect the two queries.
A union work like this:
Query A:
Row1 Data1
Row2 Data2
Row3 Data3
Query B:
Row4 Data4
Row5 Data5
Union:
Row1 Data1
Row2 Data2
Row3 Data3
Row4 Data4
Row5 Data5
The union works like a query of its own. You should be able...
I have developed a project in Framework mngr that connects to a data source called "Test".
I have built a package on this project and constructed som reports on that package.
Now, I have finished my project and my reports and want to change the data sorce from "Test" to "Prod".
I would like...
This query will give me all transactions for a specific journal in the general ledger:
SELECT
COMPANY, FISCAL_YEAR, ACCT_PERIOD,CONTROL_GROUP,LINE_NBR,
ACCT_UNIT, ACCOUNT, BASE_AMOUNT, R_SYSTEM
FROM
LAWSON.GLTRANS
WHERE
(COMPANY = 10) AND (CONTROL_GROUP = 2) AND (R_SYSTEM
= 'GL') AND...
I am using Reporting Services to connect to an Oracle database. How do I manage to use parameters with Oracle?
Example: I want to select all transactions from a certain period. I set up a parameter called Period.
If I would have an SQLServer DB it would be fine to filter the Period-field with...
I am trying to compare two date fields in Reporting Services. I suppose I should use the datediff-function but I am not sure of the syntax.
I noticed that the following line will give me the day six months from now.
=DateAdd(DateInterval.Month, 6, now())
But how do I compare date1 with date2?
Yes of course you could. Try changing the line
For col_copy_from = 1 To 4
to the number of cols you prefer.
A better way of course would be to change 4 to a variable such as
For col_copy_from = 1 To last_col
But then you have to figure out how to give last_col the correct value - that one I...
Ooops, sorry...
I realize that I put the
line row_copy_from = 2
on the wrong place...
It should be inside the for/next-loop
Try this instead!
Sub new_table()
row_copy_to = 1 'row to copy to, start on row no one
col_copy_to = 10 'column to copy to, for example...
Well January seems to work but then February etc do not.
Paste your table in a fresh new spreadsheet. My code assumes that all cells that don't have any numbers really are empty (meaning no spaces or such). That's what the line
Do While Cells(row_copy_from, col_copy_from) <> ""
does. If the...
place your table in cell A1
then run this code
I think it should do the trick
Sub new_table()
row_copy_to = 1 'row to copy to, start on row no one
col_copy_to = 10 'column to copy to, for example col ten
header_row = 1 'header row
row_copy_from...
It's not the color I'm really after... That's just an example. I'm looking for the properties of the textbox of which color is one, font another, text alignment a third etc etc.
I want to display the value of one of the textbox properties in one way or the other - got any ideas?
I am trying to make a MS RS report in Visual Studio.
I have a table with different fields. I can refer to these fields with this syntax:
=ReportItems!Textbox1.value
This will give me the same value as I have in Textbox1.
Now to my problems: how do I get something else out of Texbox1 rather...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.