IR column question..
Hi all..
I have an Interactive Report with column name
Column Name: SHOW_HIDE
I am using the value of it as a substitution variable in some other place
like """#SHOW_HIDE#"""
Link attributes:
eg: <img class="edit-img-#SHOW_HIDE#"
It works fine.
But if i make that colum as ""hidden"". The substitution variable """#SHOW_HIDE#"""
is not working.
I dont want this column to show in IR.
Is there any other way i can achieve this?
Thanks
Hi jari..
Thanks for the reply.
Jari..The actual issue is, I implemented your "editable interactive report"
http://dbswh.webhop.net/dbswh/f?p=BLOG:READ:0::::ARTICLE:137800346674748
in one of my Interactive reports.
But i should not show the ""edit icon"" for all the records in the IR report.
I need to show/hide dynamically dependent on other column value.
so i created a suedo column which determines SHOW or HIDE
and defined two classes on the page.
<img class="edit-img-#SHOW_HIDE#" alt="" title="Edit Doc Desc" src="#IMAGE_PREFIX#ed-item.gif" /> #C005#
.edit-img-SHOW{vertical-align:text-top}
.edit-img-HIDE{vertical-align:text-top;display:none}everything is working fine. But if i make the #SHOW_HIDE# column hidden , it is not working.
Please let me know , if there is any other way to show/hide to edit icon
Thanks
Similar Messages
-
This is a silly question I'm sure but in terms of calculating the amount column in a report should you just calculate it by taking all the debit / credit balances for all P&L accounts or is there some other method typically used? Also can someone confirm the following?
P&L
debit balance = positive (expenses), credit balance = negative (revenue)
Edited by: Hari Nair Junior on Jun 5, 2009 1:17 AMHI
P&L = Sales/ Revenue Minus Expenses
Yes , debit balance = positive (expenses), credit balance = negative (revenue.
Please note that you need to consider only P&L type account of a list of GL Balances . Other accounts will be of the Balancesheet . Where Debit will be Assets and Credit will be liabilities.
Hope this helps
Regds
Rajiv -
Can somone explain the role of the selection of a Dimention in a Column as opposed to a selection in a Row. Does the "column selection" create the repetitive area for all tranasactions to be shown?
When I have Dimentions selelcted in a Row, how do I decide on which Column to apply a Dimention?
Anybody knows od any learning material about this topic?
Thank you
Robert
PS The reason for my question is that I always start designing my XLR report by applying Dimentions, Light Dimentions and Measures in a Row and I get stuck because I need to set a Dimention for a Column in order to show values for a PeriodHi Robert,
You can access it through the Documentation Resource center as well.
Please go to the following:
http://service.sap.com/smb/sbo/documentation
(If itu2019s not work directly then please refer to: http://service.sap.com -> SAP Channel Partner Portal -> /login/ -> Solutions -> SAP Business One -> Support -> Documentation Resource Center)
Select SAP Business One Add-Ons 2007 > XL Reporter
hope it helps,
Regards,
Ladislav -
V$SESSION columns question
Hi Gurus
I have a question regarding of the meaning of some columns in the V$SESSION table. I wonder what does the values in the following columns means?
ROW_WAIT_O
ROW_WAIT_F
ROW_WAIT_B
TADDR
LOCKWAIT
I find out that these columns always have some values when my users unable to log into the application. Even I kill the session that have lockwait, other users are still unable to connect and it happens around once every 2 months.
Thanks for the answer in advanced
OuiV$SESSION
This view lists session information for each current session.
Column Datatype Description
SADDR
RAW(4 | 8)
Session address
SID
NUMBER
Session identifier
SERIAL#
NUMBER
Session serial number. Used to identify uniquely a session's objects. Guarantees that session-level commands are applied to the correct session objects if the session ends and another session begins with the same session ID.
AUDSID
NUMBER
Auditing session ID
PADDR
RAW(4 | 8)
Address of the process that owns this session
USER#
NUMBER
Oracle user identifier
USERNAME
VARCHAR2(30)
Oracle username
COMMAND
NUMBER
Command in progress (last statement parsed); for a list of values, see Table 3-3. These values also appear in the AUDIT_ACTIONS table.
OWNERID
NUMBER
The column contents are invalid if the value is 2147483644. Otherwise, this column contains the identifier of the user who owns the migratable session.
For operations using Parallel Slaves, interpret this value as a 4-byte value. The low-order 2 bytes of which represent the session number, and the high-order bytes the instance ID of the query coordinator.
TADDR
VARCHAR2(8)
Address of transaction state object
LOCKWAIT
VARCHAR2(8)
Address of lock waiting for; NULL if none
STATUS
VARCHAR2(8)
Status of the session: ACTIVE (currently executing SQL), INACTIVE, KILLED (marked to be killed), CACHED (temporarily cached for use by Oracle*XA), SNIPED (session inactive, waiting on the client)
SERVER
VARCHAR2(9)
Server type (DEDICATED| SHARED| PSEUDO| NONE)
SCHEMA#
NUMBER
Schema user identifier
SCHEMANAME
VARCHAR2(30)
Schema user name
OSUSER
VARCHAR2(30)
Operating system client user name
PROCESS
VARCHAR2(9)
Operating system client process ID
MACHINE
VARCHAR2(64)
Operating system machine name
TERMINAL
VARCHAR2(30)
Operating system terminal name
PROGRAM
VARCHAR2(48)
Operating system program name
TYPE
VARCHAR2(10)
Session type
SQL_ADDRESS
RAW(4)
Used with SQL_HASH_VALUE to identify the SQL statement that is currently being executed
SQL_HASH_VALUE
NUMBER
Used with SQL_ADDRESS to identify the SQL statement that is currently being executed
PREV_SQL_ADDR
RAW(4)
Used with PREV_HASH_VALUE to identify the last SQL statement executed
PREV_HASH_VALUE
NUMBER
Used with SQL_HASH_VALUE to identify the last SQL statement executed
MODULE
VARCHAR2(48)
Contains the name of the currently executing module as set by calling the DBMS_APPLICATION_INFO.SET_MODULE procedure
MODULE_HASH
NUMBER
The hash value of the above MODULE
ACTION
VARCHAR2(32)
Contains the name of the currently executing action as set by calling the DBMS_APPLICATION_INFO.SET_ACTION procedure
ACTION_HASH
NUMBER
The hash value of the above action name
CLIENT_INFO
VARCHAR2(64)
Information set by the DBMS_APPLICATION_INFO.SET_CLIENT_INFO procedure
FIXED_TABLE_SEQUENCE
NUMBER
This contains a number that increases every time the session completes a call to the database and there has been an intervening select from a dynamic performance table. This column can be used by performance monitors to monitor statistics in the database. Each time the performance monitor looks at the database, it only needs to look at sessions that are currently active or have a higher value in this column than the highest value that the performance monitor saw the last time. All the other sessions have been idle since the last time the performance monitor looked at the database.
ROW_WAIT_OBJ#
NUMBER
Object ID for the table containing the ROWID specified in ROW_WAIT_ROW#
ROW_WAIT_FILE#
NUMBER
Identifier for the datafile containing the ROWID specified in ROW_WAIT_ROW#. This column is valid only if the session is currently waiting for another transaction to commit and the value of ROW_WAIT_OBJ# is not -1.
ROW_WAIT_BLOCK#
NUMBER
Identifier for the block containing the ROWID specified in ROW_WAIT_ROW#. This column is valid only if the session is currently waiting for another transaction to commit and the value of ROW_WAIT_OBJ# is not -1.
ROW_WAIT_ROW#
NUMBER
The current ROWID being locked. This column is valid only if the session is currently waiting for another transaction to commit and the value of ROW_WAIT_OBJ# is not -1.
LOGON_TIME
DATE
Time of logon
LAST_CALL_ET
NUMBER
The last call
PDML_ENABLED
VARCHAR2(3)
This column has been replaced by column PDML_STATUS
FAILOVER_TYPE
VARCHAR2(13)
Indicates whether and to what extent transparent application failover (TAF) is enabled for the session:
NONE - failover is disabled for this session
SESSION - the client is able to fail over its session following a disconnect
SELECT - the client is able to fail over queries in progress as well
See Also:
Oracle9i Database Concepts for more information on TAF
Oracle9i Net Services Administrator's Guide for information on configuring TAF
FAILOVER_METHOD
VARCHAR2(10)
Indicates the transparent application failover method for the session:
NONE - failover is disabled for this session
BASIC - the client itself reconnects following a disconnect
PRECONNECT - the backup instance can support all connections from every instance for which it is backup
FAILED_OVER
VARCHAR2(3)
Indicates (YES|NO) whether the session is running in failover mode and failover has occurred
RESOURCE_CONSUMER_GROUP
VARCHAR2(32)
Name of the session's current resource consumer group
PDML_STATUS
VARCHAR2(8)
If ENABLED, the session is in a PARALLEL DML enabled mode. If DISABLED, PARALLEL DML enabled mode is not supported for the session. If FORCED, the session has been altered to force PARALLEL DML.
PDDL_STATUS
VARCHAR2(8)
If ENABLED, the session is in a PARALLEL DDL enabled mode. If DISABLED, PARALLEL DDL enabled mode is not supported for the session. If FORCED, the session has been altered to force PARALLEL DDL.
PQ_STATUS
VARCHAR2(8)
If ENABLED, the session is in a PARALLEL QUERY enabled mode. If DISABLED, PARALLEL QUERY enabled mode is not supported for the session. If FORCED, the session has been altered to force PARALLEL QUERY.
CURRENT_QUEUE_DURATION
NUMBER
If queued (1), the current amount of time the session has been queued. If not currently queued, value is 0.
CLIENT_IDENTIFIER
VARCHAR2(64)
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch3171.htm#1122127
Joel P�rez -
Myfaces t:columns question...please help me...
Hi guys,
i've tried lots of solutions,but i think i've find right solution to solve my question.
I have to create a datatable with a fixed number of columns and other dynamic columns.
I've rendered it using t:columns of Myfaces and it works fine.
It's a piece of jsp page
<t:dataTable
value="#{biosamplesTable.biosamples}"
var="biosampleItem"
binding="#{biosamplesTable.biosampleDataTable}" >
<h:column >
<f:facet name="header">
<h:outputText value="Organism" />
</f:facet>
<h:selectOneMenu value="#{biosampleItem.organism}">
<f:selectItems value="#{getDropList.selectOrganism}"/>
</h:selectOneMenu>
etc..etc..
<t:columns value="#{biosamplesTable.columns}" var="col">
<f:facet name="header">
<h:outputText value="Nuova" />
</f:facet>
<h:inputText value="#{biosampleItem.column}" />
</t:columns>
<h:column>
<f:facet name="header">
<h:outputText value="Actions" />
</f:facet>
<h:commandButton
value="Invia dati biosample" actionListener="#{biosamplesTable.editBiosample}" id="editBiosample">
</h:commandButton>
</h:column>
</t:dataTable>
</h:form>
} My only question is:
I'm able to retrieve the h:column values for each row,i do it in editBiosample method
public void editBiosample(ActionEvent event) throws SQLException {
setBiosampleItem((Biosample) getBiosampleDataTable().getRowData());
try {
if (conn != null) {
Experiment exp = (Experiment) ViewUtils.eval("#{experiment}");
PreparedStatement pst3 = null;
pst3 = conn
.prepareStatement("INSERT INTO campione(id_,organismo,protocollotrattamento,metodoestrazione,tipoamplificazione,protocolloibridazione,protocollomarcatura) VALUES(?,?,?,?,?,?,?)");
pst3.setInt(1, exp.getAutoKey());
pst3.setString(2, getBiosampleItem().getOrganism());
pst3.setString(3, getBiosampleItem().getTreatmentProtocol());
etc...
pst3.executeUpdate();
pst3.close();
catch (Exception e) {
e.printStackTrace();
}now i have to retrieve the h:columns values for each row,how can i do it?
Please help me,i've started so but there is some error,each values is null!!
For generating columns i've used..
public List getColumns() throws Exception {
if (load2 == 0) {
for (int i = 0; i < 3; i++) {
UIOutput input = new UIInput();
ValueBinding myItem =
FacesContext
.getCurrentInstance()
.getApplication()
.createValueBinding("#{biosampleItem[" + i + "]}");
input.setValueBinding("value", myItem);
UIColumn column = new UIColumn();
column.getChildren().add(input);
columns.add(column);
load2=1;
else this.columns=columns;
// Reload after every request.
return columns;
}what's wrong?
Please help me,i need to solve my problem...
thanks in advance...
Message was edited by:
giubat
Message was edited by:
giubatOk, you have more than one frame and when you make your dialog, it is only modal on one frame.
Not sure how to make a workaround for that. That would proably require that when another frame got the focus, it should check if any of the frames has a modal dialog visible, and if that is the case, it should move the dialog to the front (dialog.toFront()). -
OBIEE-11g Double columns question
Hi guys, on my pc i've installed business intelligence suite 11.1.3 and now I need support about double columns feature. In the business model I've this hierarchy
Region -> Province -> Municipality
where the keys for each level are represented by the name of the element, the problem is that this keys are used to map geometric shapes to enable the map views features and the Municipality values are ambiguous in their domain (could exist two municipality with the same name but different province) in the official documentation is wrote that to unique identify a shape should be used a double columns field but when I 'apply the double field feature to the hierarchy levels the drill feature doesn't work properly and I get a strange filter error (seems that the system filter the value by id on the wrong field). Somebody could help me to understand if I can define a hierarchy where the keys have a descriptor id associated ?
Thanks a lot RegardsI 've also come up with the same issue. I am using OBIEE 11G (11.1.1.5.0) and Oracle Mapviewer Ver11_1_1_4_B110225.
On the RPD, My hierarchy is defined as: District -> Quarter -> Neighbourhood.
For each hierarchy level I am using:
District Logical Level keys:
District Id: Primary Key
District Name: Use for Display
Quarter Logical Level Keys:
Quarter Id: Primary Key
Quarter Name: Use for Display
Neighbourhood Logical Level Keys:
Neighbourhood Id: Primary Key
Neighbourhood Name: Use for Display
I need to associate each Mapviewer theme's ID (District ID, Quarter ID, Neighbourhood ID) with a relevant BI column, because the theme names are not distinct.
I have set the double column (Descriptor Id) feature: (District ID, Quarter ID, Neighbourhood ID) on each BI name column (BI Distict Name, BI Quarter Name, BI
Neighbourhood Name) of the business model and associated the layer key (ID) of each Mapviewer theme with the corresponding BI name column.
On the map view, drilling down from District to Quarter works properly, but I get the following action error while drilling down from quarter to neighbourhood:
An error occurred while trying to generate drill down query.
Odbc driver returned an error (SQLExecDirectW).
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError:
46036] Internal Assertion: Condition rowValues.size() == numColumns, file server\Query\Src\SQNavigatorAccess.cpp, line 495. (HY000)
SQL Issued: {CALL NQSGenerateDrillDownQuery('SELECT District Name saw_0, Quarter Name saw_1, DESCRIPTOR_IDOF(District Name) saw_2, DESCRIPTOR_IDOF(Quarter Name)
saw_3 FROM "Subject Area" WHERE DESCRIPTOR_IDOF(District) = 5','1','''5'',''31'',31','-1 -1 -1 -1 -1','0,2,3')}
However, if I add a table view on my analysis and click on the table view's quarter link, drilling down works ok both for the table and for the map view.
Moreover, I tried removing the double column (descriptor Id) feature from the business model while maintaining the hierarchy as described above.
I then associated the layer key (ID) of each Mapviewer theme with the corresponding BI ID column instead of the BI name column.
On the map view while drilling down from District to Quarter, a filter to a specific District is applied, but the associated Quarters theme is not displayed.
Finally, if I enable the "Use for Display" checkbox for each hierarchy level's primary key on the RPD, and maintain the association between the layer key (ID) of
each Mapviewer theme with the corresponding BI ID column, drilling down works correctly but only on the ID.
I need drilling down to work while clicking on the each name BI column of the hierarchy while defining the association on the layer key ID of each mapviewer
theme. Is this possible? Any ideas? -
Hi!
I set up a summary column with function COUNT and Reset At Report. I placed this field in the repeating frame but it is only displaying the total number of records not a running count of the records ...
I'm getting something like this:
3 Record
3 Record
3 Record
When what I want is this:
1 Record
2 Record
3 Record
I hope that makes sense.
TIA!You might wanna try this:
Create a formula column have try to put something like this in the PLSQL code of that formula column:
This is an example:
v_sum number:=0;
v_col number:=0;
begin
v_sum:=:cp_1;
select col into v_col from table
where col =:col;
v_sum:=v_sum+v_col;
:cp_1:=v_sum;
return (v_sum);
:cp_1 is a place holder column.. -
Freezing Rows and Columns Question
In a spreadsheet I have Row 1 Frozen as a Header row for descriptions and headings of different columns of expenses
Is it possible to Freeze the very bottom row of all the totals? I am imagine that you could scroll up and down all the rows in between, but always see the decriptions at the Top Header Row and the Totals at the Bottom Row
Is this possible?
thanks
MSTrackpad vs Mouse is just a matter of getting used to using the one you will use.
Your profile indicates OS X v10.8 (Mountain Lion), so this answer applies to Numbers '09.
With a trackpad, start by selecting the columns or rows you want to move. Click any cell to activate the table, then position the pointer over the tab of the first column to be selected. If the pointer changes to a vertical line crossed by a double headed arrow, shift it slightly until it changes bck to the selection pointer (black arrow pointing up and left). Then click and drag across the column Header tabs to select the columns.
When the columns are selected, move the mouse pointer to a position just to the left of the letter labeling the first selected column. With the pointer positioned there, use your thumb to press and hold the mouse button/trackpad down, then use a finger to drag the columns down until they 'detach' from the table. Change the direction of drag to move the detached columns to the location where you want them. When the boundary showing where you want to places the columns changes to a thick blue line, release the mouse button/track pad (lift your thumb, but not your finger) to drop the columns into position.
Rows:
Change:
"vertical line crossed by a double headed arrow" to "horizontal line..."
"Drag across the column tabs..." to "Drag down the row tabs..."
"Drag the columns down until..." to "Drag the rows right until..."
Otherwise the same instructions.
Regards,
Barry -
I have 2 crosstabs that read from 2 different columns in my database. the values in the columns range from 0 to 5 however are not always present. I need for the column headers to always be 0,1,2,3,4,5 even if there are no 0's or 3's etc in that column so that the 2 crosstabs will always line up.
my crosstab shows the % of the total count that the 0-5 is in that column, so if there are no 0's i need to show 0% in the 0 column. Currently the crosstab only shows the columns that there are values for.
So how can I set a static number of columns for 0-5?this is a duplicate thread. you should close it.
Edited by: Debi Herbert on Feb 24, 2011 1:17 PM -
Hi all,
10.2.0.3 database.
I need to convert MONTH ROW into columns. I tried few things with SYS_CONNECT_BY_PATH without any luck.
Example:
HOST DB TS MONTH SIZE_MB
=========== === ====== ======= =======
cltcrmspdb01 NP5 AIMD01 2005-08 4198
cltcrmspdb01 NP5 AIMD01 2005-12 4627
cltcrmspdb01 NP5 AIMD01 2005-05 2414
cltcrmspdb01 NP5 AIMD01 2005-06 3966
cltcrmspdb01 NP5 AIMD01 2006-04 5215
cltcrmspdb01 NP5 AIMD01 2006-07 6288
cltcrmspdb01 NP5 AIMD01 2006-05 5903
cltcrmspdb01 NP5 AIMD01 2005-07 3977
cltcrmspdb01 NP5 AIMD01 2006-06 6004
cltcrmspdb01 NP5 AIMD01 2006-08 6312
cltcrmspdb01 NP5 AIMD01 2005-11 4298
cltcrmspdb01 NP5 AIMD01 2006-02 4591
cltcrmspdb01 NP5 AIMD01 2005-09 3956
cltcrmspdb01 NP5 AIMD01 2006-10 971
cltcrmspdb01 NP5 AIMD01 2005-10 3850
cltcrmspdb01 NP5 AIMD01 2006-01 4835
cltcrmspdb01 NP5 AIMD01 2006-03 5429
cltcrmspdb01 NP5 AIMD01 2006-09 6312
HOST DB TS 2005-08 2005-09 2005-10 ...... 2006-09
============ === ====== ======= ======= ======= =======
cltcrmspdb01 NP5 AIMD01 4198 4627 2414 6312
Can somebody help me here. thanks in advanceYou need pivot query like this, (I didn't list all the months)
select HOST, DB, TS,
max( decode( month, '2005-08', SIZE, null ) ) 2005_08,
max( decode( month, '2005-09', SIZE, null ) ) 2005_09,
max( decode( month, '2005-10', SIZE, null ) ) 2005_10,
max( decode( month, '2005-11', SIZE, null ) ) 2005_11
from ( select HOST, DB, TS, MONTH, sum(SIZE_MB) SIZE
from yourtable
group by HOST, DB, TS, MONTH)
group by HOST, DB, TS -
I am assuming that it is not a good design practice to have a column, that a table is partitioned on, to be nullable.
Any ideas?
Thank u.Hi,
When we partition a table with values of certain
attributes and when the value of the incoming data is
null then we need to handle it as it may not fall
under any specific category.Since we handle them
seperately it may take more time to load.I think you've said it all right there, you need to do special things when you find NULL values based on your companies business requirements. That is not to say that ALL data loading will be impacted by a NULL value on a partitioned column, just that yours "may" be.
Again, you'd have to test it out (in your specific circumstance) before you can say one way or the other.
Message was edited by:
Tubby -
Tree control column question - Hot/Indica​tor
Is it possible to have some columns in a tree control be hot (edittable), and others as indicators (not edittable)? It seems as if all the columns (except for the "0th" first column) must be either all hot or all indicators. I also looked into the Cell attributes and there is no way to make indiviidual cells as either hot or indicators either (like Table controls).
I did notice that items can be dimmed using tho ATTR_CELL_DIMMED attribute, which gives a behaviour similar to what I'm looking for (user can't edit the cell value) but also gives the cell a greyed out appearance. I tried manually setting the appearance of the cell back to what I would like (ie ATTR_LABEL_TEXT to black) but naturally this didn't have an effect. Any ideas? Thanks.
Solved!
Go to Solution.You can pick and choose which columns and cells you'd like to edit using the tree's callback function if you have CVI 2009 or later. You can use ATTR_TREE_RUN_STATE and ATTR_TREE_EDITABLECELLS inside EVENT_LEFT_CLICK (and probably EVENT_LEFT_DOUBLE_CLICK too) to accomplish this. I'm attaching a simple project with a tree that you can edit the first column with a double click, the 2nd column with a single click and you can't change the data in the 3rd column at all. You could even specify individual cells you to make editable if that's what you wanted to do.
Kevin B.
National Instruments
Attachments:
TreeColumnEditing.zip 5 KB -
I know that there is an "In" and "Out" column for each clip, but is there another way to have FCP automatically tell you if a clip is used in the timeline (like DVDSP does)? I have dozens of jpegs that I need to use and I want to be able to make sure I am using them all and not twice. Couldn't find anything in the manual.
Thanks.
JonathanNo, there's way to do exactly what you want.
You can do a search for clips used in the Selected Sequences via a Find command, but that falls short of what you'd need (no way to track dupes, for example) and search results don't match back to the Browser.
Because of the way that FCP is built, I don't believe this is possible - as a hypthetical Used function would have multiple values (just think about how it would bloat every time you copy a sequence) and probably wouldn't have much benefit. -
In CS4 Design can anyone tell me how to delete a column setting on one page of two facing pages?
I think that you want to post to the InDesign forum. You've ended up in the Premiere forum by mistake.
Good luck,
Hunt -
SharePoint Calculated Fields Column Question (ISBLANK)
I have created a formula (that works) assuming all the rows have data in it..... If the date isn't entered (and there are reasons it might not be) it throws in a time before the Internet..ha10/31/1899Example:=IF([Type of Approval]="Final Plan",[Expiration Date]-60,IF([Type of Approval]="Joint Permit",[Expiration Date]-120,IF([Type of Approval]="Misc Permit",[Expiration Date]-120,IF([Type of Approval]="NPDES Permit",[Expiration Date]-120,IF([Type of Approval]="PennDOT Permit",[Expiration Date]-30,IF([Type of Approval]="Preliminary Plan",[Expiration Date]-60,IF([Type of Approval]="Zoning Approval",[Expiration Date]-90)))))))I tired about every variation I could think of to add an (ISBLANK( to just leave the calculated column blank if no date was entered but I keep getting the syntax error message.Just a basic: =IF(ISBLANK(""),"Yes","No")...
This topic first appeared in the Spiceworks CommunityHi,
To exclude the weekends and do the subtractions, you can try to use the YEAR, MONTH, DAY and WEEKDAY function to handle the date in use and use IF function to perform the subtractions
accordingly.
Calculated Field Formulas
Another workaround is that we can create an Event Receiver for this, with SharePoint Object Model and other powerful APIs, we can update the Board Date column with the calculated
value when there is a new item added to this list.
SharePoint Object Model - SPListItem class
Add, Update and Delete List Items Programmatically
in Sharepoint
More information about SharePoint Object Model:
http://msdn.microsoft.com/en-us/library/ms473633.ASPX
Here is a step by step sample on creating a simple Item added event receiver for Custom List in SharePoint 2010:
http://msdn.microsoft.com/en-us/library/ff398052.aspx
More information on Event Receiver for your reference:
http://msdn.microsoft.com/en-us/library/gg749858(v=office.14).aspx
http://msdn.microsoft.com/en-us/library/ff408183(v=office.14).aspx
Two links about
DateTime Structure
http://msdn.microsoft.com/en-us/library/system.datetime(v=vs.110).aspx
A demo about
Programming DateTime using C#
http://www.c-sharpcorner.com/uploadfile/mahesh/working-with-datetime-using-C-Sharp/
Best regards
Patrick Liang
TechNet Community Support
Maybe you are looking for
-
Wheel of iPod Shuffle no longer works
The wheel on my iPod shuffle no longer works (forward and reverse music, volume, etc). Music plays, but otherwise have no control. Reset device, but problem persists. Anyone have a suggestions?
-
Bootcamp install windows 7 with SSD problem
recently, I have installed the windows 7 on my mbp with SSD after installation, I found that on my windows 7 system so that My SSD mode is PCI mode. How can I change it to ACHI mode? thanks in advance.
-
Crm_dataexch_after_bapi_fill - CRM to R3
Hi Experts, We have a requirement to replicate the sales order from CRM to a new sales ordem in R3 system. The issue is that, some times, in R3 the sales order must have some different informations that the sales order in CRM. When I create a sales o
-
How to display the portal iView in Favorites screen without content role
Hi, I created some T-iView containing some Z-report. Now my requirement is without giving any portal role how it will display in portal favorite screen(left side of the portal main screen) so user can directly see the preview of the iview cont
-
Fatal Error during SAP IK XI 3.1 Installation on HPUX IA 64 Machine
I installed BO Enterprise XI 3,1 on HPUX IA64 Machine and after BO installation I installed SAP IK XI 3.1. After I ran install.sh, select language was Ok, License agreement was Ok, License Key was OK, Install Directory was OK.. but after that, the in