Summary column value changing to NULL in RDF
Hello Everybody.
For the existing query column in RDF, which is used by one of the summary column as source.
If the query is getting changed as per the bussiness requirement, the source of the Summary column is changing to NULL.
Is there any way not to allow this change in RDF. Because lot of query modifications are done.And it consumes lot of time to change every source of the Summary columns being used.
Appreciate your help.
Thanks.
In general this shouldn't happen. Did you define proper ALIAS'es for the column the summaryitems are based on?
Similar Messages
-
Using md5 in a manul tabular form to compare if column value changed
Version: Application Express 3.2.0.00.27
Hello,
I am creating a manul tabular form using apx_item in my select statment that is the source for the query in a report region. I am using a collection. The collection creation statement is:
apex_collection.create_collection_from_query(
p_collection_name => 'DELEG_COLL',
p_query => 'SELECT authid
,empid empid
,to_char(deldate,''DD-MON-YYYY'') deldate
,delscope delscope
,dellimits dellimits
,subdelrights subdelrights
,to_char(delexpiry,''DD-MON-YYYY'') delexpiry
,to_char(datedelremoved,''DD-MON-YYYY'') datedelremoved
,delremovalcomments delremovalcomments
,delegator delegator
,''O'' original_record
,wwv_flow_item.md5(delscope, dellimits, subdelrights,
to_char(delexpiry,''DD-MON-YYYY'') delexpiry,
to_char(datedelremoved,''DD-MON-YYYY'') datedelremoved,
delremovalcomments, delegator)
FROM tbl_delegations
where empid = v(''P12_EMPID'')',
p_generate_md5 => 'YES');The above code is giving me an error in the function
wwv_flow_item.md5(delscope, dellimits, subdelrights,
to_char(delexpiry,''DD-MON-YYYY'') delexpiry,
to_char(datedelremoved,''DD-MON-YYYY'') datedelremoved,
delremovalcomments, delegator)It doesn't seem to like where I attempt to convert date column delexpiry and datedelremoved to a varchar. I am doing this as in the db they are dates and inorder to using the md5 function to compare if the values have changed and only update rows where the values changed.
There error that I get is:
ORA-20104: create_collection_from_query Error:ORA-20104: create_collection_from_query ParseErr:ORA-00907: missing right parenthesis
In the collection I am trying to store the md5 hash result. I haved all the update and insert logic working expect for date type columns. THose give the above error.
I thank you ahead of time for your assistance!
A. ShalonHelen,
Not sure I fully understand your goal. We don't use "tasks" at all but if you are looking to have your workflow check certain valus and be able to send email messages to people based on whatever, then you can certainly do that (as long as your Sharepoint
has the email setup. We do this for alot of workflow tasks.
So, in the workflow you can have a blanket statement like what I previously listed:
if Current Item:hiddenStatus not equals Current Item:Status
.... do something
or you can do something like:
if Current Item:hiddenStatus equals "In-Progress"
.... do something
Else if Current Item:hiddenStatus equals "Completed"
.... do something
or combine the two and do nested "if" statements. Then you add an email statement wherever you need it like:
if Current Item:hiddenStatus equals "Completed"
then email "these users"
To add the email part, just type in "email" on the line where you want to add a statment. There is only one option to choose from. That will display the line "then email these users". The "these users" will be a link. When you
click it you will get a popup to add the email info. We typically will send the email to a user (or users) that are already listed in one of the PeoplePicker fields. On the email form, you can type in your own text, designate that a value is based
on a column value (like our PeoplePicker), designate that a value is based on a workflow variable, add a link to the current item, etc. To get to these options you will click the button to the right of the fields or use the "Add or Change Lookup" button
in the bottom-left for the text area. There is alot you can set in the mail.
Does this help answer your question?
- Peter -
Displaying Summary Column Values
I have just learned about summary columns in Developer 2000...But I can't complete the task...
I'd like to display the # of records for each value in the status column of my report. I have created the break group with Status column. Then I added a summary column choosing function: "count", source: Status, and reset at: g_status (at the group level).
What should I do next? I'd like to display counts of records (for each status value) in a separate field? How do I filter each status set? Do I need to create a separate summary column for each possible value of status?Hello,
Is this what you are trying to achieve?
rows:
record_id Status
========= ========
rec01 Active
rec02 Closed
rec03 Pending
rec04 Active
rec05 Closed
rec06 Pending
rec07 Active
rec08 Closed
rec09 Pending
rec10 Active
rec11 Closed
rec12 Pending
rec13 Closed
rec14 Pending
rec15 Closed
output:
Active 4
Closed 6
Peding 5If so, you will need two groups, one for the Status, and another for the records.
Then, create a summary column in the status group of function 'count' and the source = record_id, and reset at g_status.
Then, in your report layout, have a repeating frame with source = status group.
Inside that repeating frame create 2 text items, one for the status text and another for the status summary.
-Marilyn -
Can i get summary column value of one group appears at the last page once
Hi,
I am having one group G_Item.I need the summary column(CS_Total_quantity->source as :cp_quantity) value as Total quantity value of the report andprint it on the last page.How can i get that value?Please advise me.Urgent......Waiting for reply.
Thank Youtry this...
put a summery column outside the quey.
& take sum of "CS_Total_quantity".
set its reset at property to "report". & print object on "last page".
hope this 'll work for u.
Capri... -
Updating a timestamp when a column value changes
Hi,
currently i have a table that stores an assigned_to column and an assigned_on column.
what i would like to do is update the assigned_on column with the systimestamp when the old value of the assigned_to column is not the same as the new value.
i have tried using a trigger to fire when :new.assigned_on != :old.assigned_on, however, i experience the mutating table problem.
i have looked around and tried using 3 triggers (before and after row and after statement) in conjunction with the package, however, have not been able to fix it.
can someone suggest an alternative, short of putting the the assigned_on value into a different table.
i already have a trigger that is copying the the row across to a log table, but i don't think that is causing the mutation errors.
your help and suggestions are greatly appreciated in advance.SQL> create table t (assign_to integer, assign_on timestamp);
Table created.
SQL> create or replace trigger tr_01
2 before insert or update of assign_to
3 on t
4 for each row
5 when (new.assign_to != nvl(old.assign_to,0) and new.assign_to is not null)
6 begin
7 :new.assign_on := systimestamp;
8 end;
9 /
Trigger created.
SQL> insert into t values(null,null);
1 row created.
SQL> select * from t;
ASSIGN_TO ASSIGN_ON
SQL> insert into t values(1, null);
1 row created.
SQL> select * from t;
ASSIGN_TO ASSIGN_ON
1 12.09.05 14:49:16.234000
SQL> update t set ASSIGN_TO = 1 where ASSIGN_TO = 1;
1 row updated.
SQL> select * from t;
ASSIGN_TO ASSIGN_ON
1 12.09.05 14:49:16.234000
SQL> update t set ASSIGN_TO = 2 where ASSIGN_TO = 1;
1 row updated.
SQL> select * from t;
ASSIGN_TO ASSIGN_ON
2 12.09.05 14:49:42.890000Rgds. -
When Requested for a Grand Total the column values changes to zeroes
Hi,
I have a report with 2 dimensions and 4 facts. The report is showing the correct data when compared with EBS, but when we are applying grand total in Table View then for fact values are displaying zeroes. However the grand total is correct but for some dimensions the measures are displaying zeroes.
At this point i have modified the Aggregation rule of 1 measure from Default to SUM and when i clicked results Wonder, i can see grand total and the zeroes were replaced with actual values. When i have compared logical queries before applying the aggregation and after, the measure is surrounded with function REPORT_AGGREGATE and REPORT_SUM respectively.
Can anyone explain me why is this behavior occurred, i got the solution but i am not in stage to explain to client why it happened.
Kindly help and i will make sure it is definitely marked.Re: Bottom Line Grand Total
Use the Subtotal function instead of the Sum function for all totals.
The Subtotal function ignores other Subtotal functions in the column you are summing.
Your three "Sum" functions would look something like...
=SUBTOTAL(9,J3:J7) '300
=SUBTOTAL(9,J8:J14) '900
=SUBTOTAL(9,J3:J14) '1200
'--- Info
1 AVERAGE
2 COUNT
3 COUNTA
4 MAX
5 MIN
6 PRODUCT
7 STDEV
8 STDEVP
9 SUM
10 VAR
11 VARP
Jim Cone
Portland, Oregon USA
free and commercial excel programs at...
https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2 -
Column Value change in BO report vs HANA calculation view
Hi,
We are having BO reports on Standard hana views.
We have some columns in calculation view as below in Hana studio
Column Name Column Purpose
1.Cost Center---(Gives cost center number)
2.Cost center Name--(Gives description of cost center )
3.Cost Element-which --(Gives cost center number)
4.Cost Element Name-(Gives description of cost center)
when we preview the data with these coulumns in hana studio there are giving the result as specified above.
But if I run the report in BO using the above 4 columns ,I could see only descriptions for all the four columns as below
1.Cost Center---(Gives description of cost center)
2.Cost center Name--(Gives description of cost center )
3.Cost Element-which --(Gives description of cost center)
4.Cost Element Name-(Gives description of cost center)
As per our requirement we should get numbers for cost center and cost element.
I have observed in semantics that cost center and cost element have label columns mapped to them as below
cost center has labelcolumn as costcenter name
cost element has labelcolumn
Please see the attached file . Is this happend because of the labelcolumn mapping
we want the cost center and cost element to be displayed as numbers only. Please suggest me on this.
ThankuHi Chandra,
TEXT is coming because you have defined as "Label Column" . In HANA, Data preview the column names will only come but not "Descriptions".
What is your reporting tool? If it is AO, have a look on the below blog:
Using Text Joins to enrich Attributes with "Texts" in SAP HANA with SAP BO Analysis Office
Regards,
Krishna Tangudu -
Change of source of Summary columns in RDF
Hello Everybody.
For the existing query column in RDF, which is used by one of the summary column as source.
If the query is getting changed as per the bussiness requirement, the source of the Summary column is changing to NULL.
Is there any way not to allow this change in RDF. Because lot of query modifications are done.And it consumes lot of time to change every source of the Summary columns being used.
Appreciate your help.
Thanks.Yogesh,
Does both the clients allow development in the server? Generally it should not be the case.
Does the client still exists in the server?
Here is a thread with replies for such an error message.
Re: regarding Client change for transport request
Check it,it may give you some lead.
K.Kiran. -
Summary Column in af:table
Hi,
I have created a footer facet at table and column level.
I have couple of issues
1. Label associated with Table footer is not shown in the summary column.
2. I have 6 columns in the table and I have defined footer to 3 of its columns
I'm not able to align the summary column value to right.
It always shows readonly. I tried creating the footer with InputText and OutputText it always shows as OutputText
Any help on aligning the summary columns to right is helpful.
Below is the code snippet.
<af:table value="#{bindings.SellersWIPVO1.collectionModel}"
var="row"
rows="#{bindings.SellersWIPVO1.rangeSize}"
emptyText="#{bindings.SellersWIPVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.SellersWIPVO1.rangeSize}"
rowBandingInterval="0"
id="EditWIPTbl"
columnStretching="column:c35"
rowSelection="single"
autoHeightRows="8"
contentDelivery="immediate">
<af:column sortProperty="SellingRegionName"
sortable="false"
headerText="#{revuiBundle.OWNER_SELLER}"
id="c36"
rowHeader="true"
align="center">
<af:outputFormatted value="#{row.bindings.SellingRegionName.inputValue}"
id="of6"
inlineStyle="text-align:right;"/>
</af:column>
<af:column sortable="false"
headerText="#{revuiBundle.CLEAR_WIP}"
id="ClearWIPCol"
align="center"
width="30">
<af:commandImageLink id="ClearWIPCLI"
icon="/clear.png"
partialSubmit="true"
actionListener="#{ProjectSelection.clearWIPRow}"
disabled="#{bindings.ProjectBillClassificationCurrVal.inputValue == 'D'}"/>
</af:column>
<af:column sortProperty="Elm"
sortable="false"
headerText="#{revuiBundle.ELM}"
id="c35"
align="right">
<af:outputFormatted value="#{row.bindings.Elm.inputValue}"
id="of5"
inlineStyle="text-align:right;">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.SellersWIPVO1.hints.Elm.format}"
minFractionDigits="4"
maxFractionDigits="4"/>
</af:outputFormatted>
</af:column>
<af:column sortProperty="Revenue"
sortable="false"
headerText="#{bindings.SellersWIPVO1.hints.Revenue.label}"
id="c39"
align="right">
<af:outputFormatted value="#{row.bindings.Revenue.inputValue}"
id="of7"
inlineStyle="text-align:right;">
<af:convertNumber groupingUsed="true"
pattern="#{bindings.SellersWIPVO1.hints.Revenue.format}"
minFractionDigits="0"
maxFractionDigits="0"
integerOnly="true"/>
</af:outputFormatted>
</af:column>
<af:column sortProperty="Labor"
sortable="false"
headerText="#{bindings.SellersWIPVO1.hints.Labor.label}"
id="c38"
showRequired="true"
align="right">
<af:inputText value="#{row.bindings.Labor.inputValue}"
label="#{bindings.SellersWIPVO1.hints.Labor.label}"
columns="#{bindings.SellersWIPVO1.hints.Labor.displayWidth}"
maximumLength="#{bindings.SellersWIPVO1.hints.Labor.precision}"
shortDesc="#{bindings.SellersWIPVO1.hints.Labor.tooltip}"
id="it28"
contentStyle="text-align:right;"
binding="#{ProjectSelection.rowLaborIT}"
partialTriggers="ClearWIPCLI"
required="true"
readOnly="#{bindings.ProjectBillClassificationCurrVal.inputValue == 'D'}"
autoSubmit="true">
<f:validator binding="#{row.bindings.Labor.validator}"/>
<af:convertNumber pattern="#{bindings.SellersWIPVO1.hints.Labor.format}"
integerOnly="true"
minFractionDigits="0"
maxFractionDigits="0"/>
</af:inputText>
<f:facet name="footer">
<af:inputText value="#{ProjectSelection.sumLabor}"
id="of9"
partialTriggers="it28"
contentStyle="text-align:right;">
<af:convertNumber pattern="#{bindings.SellersWIPVO1.hints.Labor.format}"
integerOnly="true"
minFractionDigits="0"
maxFractionDigits="0"/>
</af:inputText>
</f:facet>
</af:column>
<af:column sortProperty="Odc"
sortable="false"
headerText="#{revuiBundle.OTHER_DIRECT_COSTS}"
id="c37"
align="right"
showRequired="true">
<af:inputText value="#{row.bindings.Odc.inputValue}"
label="#{bindings.SellersWIPVO1.hints.Odc.label}"
columns="#{bindings.SellersWIPVO1.hints.Odc.displayWidth}"
maximumLength="#{bindings.SellersWIPVO1.hints.Odc.precision}"
shortDesc="#{bindings.SellersWIPVO1.hints.Odc.tooltip}"
id="it30"
contentStyle="text-align:right;"
binding="#{ProjectSelection.rowODCsIT}"
partialTriggers="ClearWIPCLI"
required="true"
readOnly="#{bindings.ProjectBillClassificationCurrVal.inputValue == 'D'}"
autoSubmit="true">
<f:validator binding="#{row.bindings.Odc.validator}"/>
<af:convertNumber pattern="#{bindings.SellersWIPVO1.hints.Odc.format}"
integerOnly="true"
minFractionDigits="0"
maxFractionDigits="0"/>
</af:inputText>
<f:facet name="footer">
<af:inputText value="#{ProjectSelection.sumODC}"
id="of8"
partialTriggers="it30"
contentStyle="text-align:right;">
<af:convertNumber pattern="#{bindings.SellersWIPVO1.hints.Odc.format}"
integerOnly="true"
minFractionDigits="0"
maxFractionDigits="0"/>
</af:inputText>
</f:facet>
</af:column>
<af:column sortProperty="Ops"
sortable="false"
headerText="#{revuiBundle.OUTSIDE_PROFESSIONALS}"
id="c40"
align="right"
showRequired="true">
<af:inputText value="#{row.bindings.Ops.inputValue}"
label="#{bindings.SellersWIPVO1.hints.Ops.label}"
columns="#{bindings.SellersWIPVO1.hints.Ops.displayWidth}"
maximumLength="#{bindings.SellersWIPVO1.hints.Ops.precision}"
shortDesc="#{bindings.SellersWIPVO1.hints.Ops.tooltip}"
id="it18"
contentStyle="text-align:right;"
binding="#{ProjectSelection.rowOPsIT}"
partialTriggers="ClearWIPCLI"
required="true"
readOnly="#{bindings.ProjectBillClassificationCurrVal.inputValue == 'D'}"
autoSubmit="true">
<f:validator binding="#{row.bindings.Ops.validator}"/>
<af:convertNumber pattern="#{bindings.SellersWIPVO1.hints.Ops.format}"
integerOnly="true"
minFractionDigits="0"
maxFractionDigits="0"/>
</af:inputText>
<f:facet name="footer">
<af:inputText value="#{ProjectSelection.sumOPS}"
id="of10"
partialTriggers="it18"
contentStyle="text-align:right;"
inlineStyle="text-align:right;">
<af:convertNumber pattern="#{bindings.SellersWIPVO1.hints.Ops.format}"
integerOnly="true"
minFractionDigits="0"
maxFractionDigits="0"/>
</af:inputText>
</f:facet>
</af:column>
<f:facet name="footer">
<af:outputFormatted value="Summary"
id="of11"/>
</f:facet>
</af:table>Thanks,
SatyaThee are few guides and after i checked them i finished with that.
In the MatSpravkaDebViewImpl:
private Number sumSuma = null;
private void recalculateSumSuma() {
sumSuma = null;
public Number getSumSuma() {
if (sumSuma == null) {
sumSuma = new Number(0);
RowSetIterator rsi = createRowSetIterator(null);
while (rsi.hasNext()) {
Row r = rsi.next();
Number curSal = (Number)r.getAttribute("Suma");
if (curSal != null) {
sumSuma = sumSuma.add(curSal);
rsi.closeRowSetIterator();
return sumSuma;
}This is also in the MatSpravkaDebViewImpl, it is supposed to force recalculate of the SumSuma column. I am not sure about that part becasue the view i am currently using is readonly and i can not test it.
You may try adding dependancy also.
protected void executeQueryForCollection(Object qc, Object[] params,
int noUserParams) {
// TODO: Override this oracle.jbo.server.ViewObjectImpl method
super.executeQueryForCollection(qc, params, noUserParams);
recalculateSumSuma();
protected void notifyRowDeleted(ViewRowSetImpl vrs, Row viewRow,
int rowIndex) {
// TODO: Override this oracle.jbo.server.ViewObjectImpl method
super.notifyRowDeleted(vrs, viewRow, rowIndex);
recalculateSumSuma();
}Then you create a transient field for the
Then in the ViewObjectRowImpl I changed the getter
public Number getSumSuma() {
return ((MatSpravkaDebViewImpl)getViewObject()).getSumSuma();
// return (Number) getAttributeInternal(SUMSUMA);
}I hope that helps. Tell me if it does not work when you add/delete/update rows, i am still clearing that scenario.
Edited by: Valhery on 2010-4-12 23:48 -
Summary Column and repeating frames
I have a report that shows customer orders(1 per page). If a customer orders 3 pizzas and 2 of them are identical, same size, same toppings, crust i want the quanitity column to sum as 2. So for this example instead of having 3 rows with two of them being identical with the quanity column dispalying 1 for each, I want 2 rows with quanity showing 2 for the identical pizzas and 1 for the other.
I have everything in the same group/repeating frame right now and it is showing all 3 pizzas on there own row. Do i need a summary column and change my groupings? How can i achieve this the summed quanity for identical orders?
CURRENT:
Crust......Toppings......size.....quantity
Thin.......Cheese........small....1
Thin.......Cheese........small....1
thick.......meat.........large....1
NEW:
Crust......Toppings......size.....quantity
Thin.......Cheese........small....2
thick.......meat.........large....1Forget summary columns. This can easily be just a group by query:
with t as (select 'Thin' crust, 'Cheese' top ,'Small' sze, 1 qty from dual
union all
select 'Thin' , 'Cheese' ,'Small' , 2 from dual
union all
select 'Thick' , 'Meat' ,'Large', 1 from dual
select t.crust, t.top, t.sze, sum(qty)
from t
group by crust,top,sze;
CRUST TOP SZE SUM(QTY)
Thin Cheese Small 3
Thick Meat Large 1 -
How to set column value dependend on other column value?
I have a view that selects values from 2 tables with some simple additional joins. Now, i would like to add a column (boolean/bit or varchar2) that represents a flag and is dependen on the value of another column, e.g.
ID | Value | Flag
1 | 4711 | 1
2 | null | 0
So, the flag should be set to 1 if column 'Value' is not null and to 0 if column 'Value' is null. (In another case, i would like to test for specific values, not just null). How can i do this in ORACEL SQL?This statement will update two flag columns. FLAG1 is set to one or zero depending on whether COL1 is null. FLAG2 is set to one of a range of values depending on whether COL1 is a specific value; the default value is ZERO.
UPDATE your_table
SET flag1 = nvl2(col1, 1, 0)
, flag2 = decode(col1, 5677, 1, 2212, 2, 6276, 3, null, 4, 0)
/Cheers, APC -
I am experiencing issue with my SharePoint site , when I am trying to add new Item in List . Error given below :--> 02/03/2015 08:23:36.13 w3wp.exe (0x2E04) 0x07E8 SharePoint Server Logging Correlation Data 9gc5 Verbose Thread change; resetting trace
level override to 0; resetting correlation to e2e9cddc-cf35-4bf8-b4f3-021dc91642da c66c2c17-faaf-4ff9-a414-303aa4b4726b e2e9cddc-cf35-4bf8-b4f3-021dc91642da 02/03/2015 08:23:36.13 w3wp.exe (0x2E04) 0x07E8 Document Management Server Document Management 52od
Medium MetadataNavigationContext Page_InitComplete: No XsltListViewWebPart was found on this page[/sites/00003/Lists/PM%20Project%20Status/NewForm.aspx?RootFolder=&IsDlg=1]. Hiding key filters and downgrading tree functionality to legacy ListViewWebPart(v3)
level for this list. e2e9cddc-cf35-4bf8-b4f3-021dc91642da 02/03/2015 08:23:36.17 w3wp.exe (0x1B94) 0x1A0C SharePoint Server Logging Correlation Data 77a3 Verbose Starting correlation. b4d14aec-5bd4-4fb1-b1e3-589ba337b111 02/03/2015 08:23:36.17 w3wp.exe (0x1B94)
0x1A0C SharePoint Server Logging Correlation Data 77a3 Verbose Ending correlation. b4d14aec-5bd4-4fb1-b1e3-589ba337b111 02/03/2015 08:23:36.31 w3wp.exe (0x2E04) 0x07E8 SharePoint Foundation Database 880i High System.Data.SqlClient.SqlException: Cannot insert
the value NULL into column 'tp_DocId', table 'Content_SP_00003.dbo.AllUserData'; column does not allow nulls. INSERT fails. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject
stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavi... e2e9cddc-cf35-4bf8-b4f3-021dc91642da 02/03/2015
08:23:36.31* w3wp.exe (0x2E04) 0x07E8 SharePoint Foundation Database 880i High ...or runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream,
Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior,
RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand
command, CommandBehavior behavior,Are you trying to setup P2P? Could you explain the process you followed completely? By anychance you create the backup and then created the publication?
Regards, Ashwin Menon My Blog - http:\\sqllearnings.com -
Changing a datagrid column image according to the datagrid column value
Flash Builder 4.5 / SDK 4.5.1.
Fairly new to Flash Builder & Flex
Application targets tablets so it's a "mobile" project.
Been beating my head up against the wall on trying to figure out how to do this. Watched videos on Lynda.com. Read Adobe "docs" till my eyes glaze over. Takes me about 2 lines of code in my corresponding .NET project doing the same thing.....
Tried numerous examples. Inline rendering, external rendering files per the examples.
I have a response field in the database and corresponding column in the s:datagrid. If the "reportInfoResponse" field is null (not answered), show an image with a question mark. If yes show an image with "Yes" on it. Same for a no answer.
I get errors of:
1120:Access of undefined property negativeAnswer.
1120:Access of undefined property affirmativeAnswer
1120:Access of undefined property reportInfoResponse
1120:Access of undefined property showResponseImage
If I put this in an external rendering file I also get an error where it can't access the datafield (reportInfoResponse). I've tried data.reportInfoResponse, {data.reportInfoResponse}, {reportInfoResponse} and just plain reportInfoResponse the external rendering file with no luck. I've tried single and double quotes around Y and N. According to all the examples (not to say there aren't more!), I should be able to reference data.reportInfoResponse in the external file and things should be fine. Of course, the examples are bare bones code and I don't have a clue if any importing of classes or other items need to take place. I never see any references of such. The examples also show the image embedding and changing the image by using imageID.source=... In my code it tells me it can't find it.
I have put (ERROR HERE...) on the lines where I'm getting the error messages. I've eliminated a lot of database scripting and such cause that's all working.
Any and all suggestions would be appreciated as I'm pulling out what little hair I have left.......and that's not much at my age........ And yes, I probably could do it by just show text in the column, but that's not what the customer wants... There are other columns I need to do this for so I figure if I can get 1 done and working, the rest are a snap. I CAN use inline or external rendering to show an image. It's the changing it that is the catch.........
Thanks in advance!
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
creationComplete="onCreationComplete()"
title="{whichCategoryName} > {whichSubCatName} > Questions">
<fx:Script>
<![CDATA[
import com.adobe.serializers.utility.TypeUtility;
import flash.data.SQLConnection;
import flash.data.SQLMode;
import flash.data.SQLResult;
import flash.events.StatusEvent;
import flash.filesystem.File;
import flash.net.URLRequest;
import flash.net.URLVariables;
import flash.net.navigateToURL;
import flashx.textLayout.tlf_internal;
import mx.collections.ArrayCollection;
import mx.core.BitmapAsset;
import mx.events.FlexEvent;
import spark.events.GridEvent;
import spark.events.IndexChangeEvent;
...(lots of database coding left out here)
<s:DataGrid id="showQuestions" width="100%" height="100%"
creationComplete="Grid_creationCompleteHandler(event)" fontFamily="_sans"
gridClick="gridClickEvent(event);" horizontalScrollPolicy="off"
selectionColor="#8AD8EF" selectionMode="singleRow" sortableColumns="false"
variableRowHeight="true" verticalCenter="middle">
<s:columns>
<s:ArrayList>
<s:GridColumn visible="false" dataField="id_report" headerText="id_report" resizable="true" sortable="false"></s:GridColumn>
<s:GridColumn visible="false" dataField="id_question" headerText="id_question" resizable="true" sortable="false"></s:GridColumn>
<s:GridColumn id="col_reponse" visible="true" dataField="reportInfoResponse" headerText="Response" resizable="true" sortable="false">
<s:itemRenderer>
<fx:Component>
<s:GridItemRenderer>
<fx:Script>
<![CDATA[
[Embed(source="assets/unknown.png")]
[Bindable]
public var unknownAnswer:Class;
[Embed(source="assets/yes.png")]
[Bindable]
public var affirmativeAnswer:Class;
[Embed(source="assets/no.png")]
[Bindable]
public var negativeAnswer:Class;
(ERROR HERE - 1120:Access of undefined property reportInfoResponse)
if(reportInfoResponse == "Y")
(ERROR HERE - 1120:Access of undefined property showResponseImage)
showResponseImage.source = affirmativeAnswer;
(ERROR HERE - 1120:Access of undefined property reportInfoResponse)
if (reportInfoResponse == "N")
(ERROR HERE - 1120:Access of undefined property showResponseImage)
showResponseImage.source = negativeAnswer;
]]>
</fx:Script>
<s:Image id="showResponseImage" source="{unknownAnswer}" verticalCenter="0" horizontalCenter="0"/>
</s:GridItemRenderer>
</fx:Component>
</s:itemRenderer>
</s:GridColumn>
<s:GridColumn id="col_question" visible="true" dataField="question" headerText="Question" resizable="true" sortable="false"></s:GridColumn>
</s:ArrayList>
</s:columns>
<s:AsyncListView list="{showTheseQuestions}"/>
</s:DataGrid>
</s:View>Ioan Thanks for the reply.
Probably my previous explanation of the problem was a little incomplete. Let me give a better description.
The situation is something like this.
I have a requirement in which the customer wants the column header to reflect the 'keep filter value' restriction that he does dynamically in the query report.
i.e:
-- usually the kf column header shows 'sales volume'
-- column header with text variable of the Calender year / month variable -- 'sales volume for 2000 oct'
-- but when the report is run, if the user wants to go and change the filter: calender year / month > rt clk > keep filer value > select Jan 2003.
The kf column header still shows 'Sales Volume 2000 Oct'
How to make the column header change to 'sales volume for Jan 2003' ?
Any suggestions greatly appreciated.
Thanks, -
Change Labels on Summary Columns
Could anyone advice me how to change labels on the summary columns on a cross tab report?
Current it shows for e.g. count(orders).
I would like to change it to "Order Count"
Also how can i change the value format on a drill down report?Hi,
Thanks a lot for your answers.
First, on umResetPasswordPage.jsp I have found the code where "LAST_NAME" must take a value from other file (Could be from umelogonbase.jar?) so, maybe it is not the right place to change it, isn't it? or did you suggest by other way?? This is the code on the umResetPasswordPage.jsp file:
<td width="161" height="20">
<label class=urLblStd for="logonlastnamefield">
<%=logonLocale.get("LAST_NAME")%>
<span class=urLblReq> *</span>
</label>
</td>
Second, On Portal Content there is not any Page/Iview wich manage this Support (LogonHelpApp) page openned by "get Support" link on Welcome Portal Page. At this time, I could not find if is it a webdynpro or other component Portal.... -
Oracle rdf summary column is not working as expection
hi
I have Requirement to bring as below Format
emplo name
project name
project nnumber
cp_1
cp-2
...cp_25
mark
abc
123
20
30
10
mark
dfc
234
25
35
15
mark
45
65
25
for that i have created the Rdf and rtf
In Oracle Report
One group
data model query
group name G_project_number
and i create formula column to give the values in the cp_1 to cp_25
My RTF format
Employee name
project name
project number
cp_1
cp_2
..cp_25
<for each : g_project_number><?employee nmae?>
<?project name?>
<project number ?>
<?cf_1?>
<?cf_2?>
...<?cf_25?>
<?employeename?>
<?cs_1?>
<?cs_2?>
..<?cs_25?><end for -each>
summary columns in the same data model group
now report is showing as accumalate value for the columns
employee name
project name
project number
cp_1
cp-2
...cp25
mark
abc
123
20
30
10
mark
20
30
10
mark
dfc
234
25
35
15
mark
45
65
25
and my data model
one group
all info in that
Please guide me how to take forward this to achieve
Thanks in advancesPlease check the below link just to make sure all steps are taken care.
http://oraclemaniac.com/2012/08/15/how-to-add-a-descriptive-flexfield-dff-in-a-custom-oracle-apps-form/
Maybe you are looking for
-
I can't transfer data properly to Excel 2003 with the report generation toolkit.
I have a table with number to transfer into Excel. I use EasyGraph.vi and it works correctly with Excel 2000. But when I try the same program to transfer my data into Excel 2003, the data are not transfered correctly. When I have for example 0,56, it
-
Need to transfer my iTunes from one Win7 laptop to a new one. The trick is that all my music files live on an external hard drive, which I also use for Home Media Server use (iTunes only has a portion of my full collection under management for use o
-
Payment term for net90 and end of month
Hi Gurus, how can I create payment term with following requirement net 90+ EOM ( net 90 and end of month ). Thanks
-
POWL manipulation at the RFx level in Strategic Sourcing
Dear All, I am new to SRM working on the Technical side . Need to modify POWL_TABLE in the RFx screen when first time we click on the Strategic sourcing I want to population PR Number with Rfx Number . Have already configured the Pr field in the conf
-
I cannot import a file due the number of formulas that the file have. This file it´s one of my principal files, so is very important to me.