Displaying values in columns
DB : 10.2.0.4.0
Os : solaris 5.10
I have a table with the below rows and columns
EARNINGS EARNINGS_VALUE
Allowance 97.28
Salary 3,404.80
Allowance_1 875.52
Allowance_2 194.56
Allowance_3 291.84
{code}
I want to display this as follows :
{code}
Allowance Salary Allowance_1 Allowance_2 Allowance_3
97.28 3,404.80 875.52 194.56 291.84
{code}
Please suggest
Kai
Search for pivot queries in SQL & PL/SQL forums.
To get you started, you can do this with CASE/DECODE statement.
Similar Messages
-
How to dynamically display value in column header
Hi,
I have a requirement where in the user selects a particular value from a drop down list, and the same has to be displayed in the column header. For example, there are A,B,C,D types of quantities in a drop down list. Once the user selects these values and submits, the column header should display the quantity type selected. Kindly let me know how this can be achieved.
Regards
Snehith.Hi Snehith,
In Layout Mode, Double click the Column in the Table, the Control Properties window is opened, switch to the "Display" tab, then press on the formula button next to the "Label:".
Use the Expression Builder to have the label be the value you want it to be: for example:
NSTR(#ID[ACA9TU]@MAX_ROWS,'Z3.0')
This formula takes a numeric field, formats it into a string and displays it.
For more information about how to build expression, please see:
http://help.sap.com/saphelp_nw70/helpdata/en/bd/90db4238bbf140e10000000a1550b0/frameset.htm
Regards.
Omer. -
To display values in Column Header
Hi,
I wanted to display values from viewobject as a column header in af:table
<af:column sortProperty="Qty" sortable="false"
headerText="#{bindings.EmpPartHeader12.hints.Qty.label}"
headerClass="TableNoHeader"
inlineStyle="background-color:#D3D3D3; border-color:Gray; color:Black;"
align="right" id="c1">
<f:facet name="header">
<af:outputText value="#{row.Qty}" id="ot8"
/>
</f:facet>
<af:outputText value="#{row.Cost}" id="ot4"/>
</af:column>
I am using <af:outputText value="#{row.Qty}" id="ot8"/> in header class of af:column but getting blank as column header.
Please help on this.
Regards
VasuHi user13818315,
Please specify in details what you want to display in column header ? Say there are 5 rows in your table do you want to display the first rows data as column header ?
Please explain...
Thanks
--NavinK -
Display values for logical columns with several physical sources
Hi all,
I'm enocuntering some strange behaviour with the values displayed for a column (when we want to add it a as a filter, and in the dialogue box select 'Show All' values).
Basically the logical column is mapped against several physical columns as the base fact table is aggregated to different levels. Additionally, one column in the fact tables has an attribute value, and these vary between the aggregated and non-aggregated table. This is not a problem.
In the production environment, when we display the all values in the filters prompt for this column we are seeing the values being taken from one fact table. Naturally this means that not all the values possible for this column are being shown (i.e. values from the aggregated fact tables are missing). Now in one of our test environment where those fact tabels have additional data loaded, the values are being taken from one of the other fact tables. Unfortunately it is not necessarily the fact table with less data.
My questions are:
a) What dictates which fact table the server will use when the query in Answers doesnt use any dimensions (i.e. we are selecting just this attribute and selecting all the possible values by which it can be filtered)?
b) Is there a way of obtaining all the values from the differente physical columns? I.e. that the display values shows the values of that logical column across all the physical fact tables? Maybe we would need to model that attribute as a logical dimension just for that attribute? Im not really sure this would work, as at the physical level the join between the dimension and fact would still have to go to only one particular fact table.
Any info or help is much appreciated.Hi,
Aggregate tables exist at physical level and are created by ETL procedures. Although i am aware that the dimension come into play when the application needs to decide which source aggregate table to use, it is not an issue here as in our query we are not involving dimensions. We are selecting just this one columen, and then the filter option on this column, then in the dialogue box we select 'All Choices', only the values from one of the source tables is being shown.
This is not a probelm within reports, i think it is a product limitation in that in that option to list all values a user can filter by, it is not possible to display all the values from the different fact tables to which that column is mapped.
Has anyone else encountered this behaviour? -
How to make the display of custom column names in UWL(not bother abt values
Hi all
i want to make the display of custom column names in UWL ( for example GP)
i dont want or not looking about values for those custom columns . i know that thru custom connector we can achieve to retrieve the values for those custom columns. but currently i am looking only just to display the custom column names( for example GP custom column names, just i want to display the name of the columns ) in UWL .
Thanks
SunilHello Prashant,
You can add the control to your custom pagelayout, the following article has an example:
http://spandps.com/2012/02/22/showing-the-audience-target-field-in-an-editmodepanel-sharepoint-sp2010-in-projectserver-ps2010/
Btw, the SPFieldTargetToControl has a required property:
http://msdn.microsoft.com/en-us/library/microsoft.office.server.webcontrols.fieldtypes.spfieldtargettocontrol.required(v=office.14).aspx
- Dennis | Netherlands | Blog |
Twitter -
How to get LOV column's DISPLAY value in IR report?
Hi,
I would like to get LOV column's DISPLAY value to trigger another javascript function. Could you please provide any hint?
For example, there is one IR report with 2 column, DEPT_NAME & SHOW.
The DEPT_NAME type is LOV .
The SHOW column is one link image, when clicking it , I would like to fire a javascript to get DEPT_NAME 's display value.
I know I can use #DEPT_NAME# to get the return value of LOV. However, how to get current row's DEPT_NAME's display value?
Thanks in advance.
Ray
Edited by: 最爱用中文 on 2013-4-11 下午4:14Is there any way you can create a table join, instead of using LOV as your display type?
That way you can select the name of the department in your IR query, display it as text, and then easily reference it as #DEPARTMENT_NAME#, for example. -
Is it possible to easily view the actual (not displayed) value of a cell?
Is it possible to easily view the actual value of a cell calculated by a formula, not the displayed value after it has been rounded off?
For instance, if you enter the number 1.23456789 and display it rounded to 3 decimal places, you can still see the full, actual value in the formula bar:
The problem arises when you reference that number in a formula: you can't see the underlying value (even though it's obviously known to Numbers):
Is there a way to get the formula bar (or a tooltip) to show the full, unrounded value? Changing the display to more decimal places is not very convenient, especially on big spreadsheets. Maybe it could be done via AppleScript?
A related issue arises when you try to look at the sum or average of a number: if the numbers being summed have the same number of rounded decimals, the sum displayed is rounded too. I find this very annoying: I want to see the actual value, not how my spreadsheet may be displaying it in that cell.
Although, curiously, rounding to any number of decimals as long as they are not all the same displays the full, correct underlying values:
Has anyone come up with workarounds for these issues?I did it with an AppleScript.
Now any time I have a cell or cell range selected, I do one click (AppleScript menu > Display Value at Full Precision), and it shows me a popup alert that simply reads:
rowname : columnname
value
Here's the script:
tell application "Numbers"
try
set selectedTables to (tables of sheets of front document whose selection range is not missing value)
repeat with selectedTable in selectedTables -- tables of each sheet
if contents of selectedTable is not {} then -- the list is not empty, it's the selected sheet
set selectedCells to cells of selection range of (get item 1 of selectedTable)
repeat with i in selectedCells -- each selected cell
set {selectedRow, selectedColumn, selectedVal} to {row, column, value} of i
-- display alert "value of " & name of selectedRow & " : " & name of selectedColumn & " (" & address of selectedRow & ":" & address of selectedColumn & ")" message selectedVal
display alert name of selectedRow & " : " & name of selectedColumn message selectedVal
end repeat
return
end if
end repeat
on error eMsg number eNum
display alert eMsg
end try
end tell
( Props to Jacques Rioux who posted code to get me started at https://discussions.apple.com/thread/3964938 ) -
Problem in displaying the TaxRate columns .
Hi Experts,
I am having a problem in displaying the 'TaxRate', in this Query there are some different Taxrate's columns like- ' 'Basic Excise Duty BED@10 %', ' Education ces@2% ' , 'Secondary Education Cess @1%', etc. only 4 -5 tax's value should display at a time and rest of the TaxRate's columns whose value is NULL should not display.
So, I want to display only those TaxRate's columns whose value is not NULL and If there is no value for any taxrate's column in the data, then it should Display only 'Excempt' column.
This is my query...
SELECT DISTINCT OSTA.Code , ORPC.DocNum AS 'Debit Note No.', ORPC.CardName AS 'Name', ORPC.CardCode AS 'code', ORPC.NumAtCard AS 'Supplier Ref.' ,
RPC1.Dscription AS 'Description of Goods', ORPC.Address, RPC1.Quantity, RPC1.Price AS 'Rate', RPC1.LineTotal AS 'Amount', ORPC.DocDate,
(SELECT DISTINCT TaxRate
FROM RPC4
WHERE (staType = - 90) AND (StaCode = 'BED@10') AND (DocEntry = RPC1.DocEntry)) AS 'Basic Excise Duty BED@10 %',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_8
WHERE (staType = - 60) AND (DocEntry = RPC1.DocEntry)) AS 'Education Cess @2%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_7
WHERE (staType = - 55) AND (DocEntry = RPC1.DocEntry)) AS 'Secondary Education Cess @1%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_6
WHERE (staType = 4) AND (StaCode = 'CST2') AND (DocEntry = RPC1.DocEntry)) AS 'Central Sales Tax(CST)',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_5
WHERE (staType = 1) AND (StaCode = 'VAT4') AND (DocEntry = RPC1.DocEntry)) AS 'Input VAT@5%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_4
WHERE (staType = 1) AND (TaxRate = 12.500000) AND (StaCode = 'VAT12.5') AND (DocEntry = RPC1.DocEntry)) AS 'VAT12.5%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_3
WHERE (staType = 18) AND (StaCode = 'Add2') AND (DocEntry = RPC1.DocEntry)) AS 'ADD Tax 1%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_2
WHERE (staType = 7) AND (DocEntry = RPC1.DocEntry)) AS 'Excempt'
FROM OSTA INNER JOIN
RPC4 AS RPC4_1 ON OSTA.Code = RPC4_1.StaCode CROSS JOIN
ORPC INNER JOIN
RPC1 ON ORPC.DocEntry = RPC1.DocEntry
WHERE (OSTA.Code IN ('BED@10','eCess 2%','HeCess 1%','CST')) AND (ORPC.CardCode = 'V00308') AND (ORPC.DocNum = '9220004')
Kindly help me to solve this problem
Regards
RahulHi rahul,
Try this:
SELECT DISTINCT T0.DocNum AS 'Debit Note No.', T0.CardName AS 'Name', T0.CardCode AS 'code', T0.NumAtCard AS 'Supplier Ref.'
,T1.Dscription AS 'Description of Goods', T0.Address, T1.Quantity, T1.Price AS 'Rate', T1.LineTotal AS 'Amount', T0.DocDate,
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0)FROM RPC4 WHERE RPC4.StaType = -90 AND RPC4.DocEntry = T0.DocEntry) AS 'Basic Excise Duty BED@10 %',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = -60 AND RPC4.DocEntry = T0.DocEntry) AS 'Education Cess @2%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = -55 AND RPC4.DocEntry = T0.DocEntry) AS 'Secondary Education Cess @1%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 4 AND RPC4.StaCode = 'CST2' AND RPC4.DocEntry = T0.DocEntry) AS 'Central Sales Tax(CST)',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 1 AND RPC4.StaCode = 'VAT4'AND RPC4.DocEntry = T0.DocEntry) AS 'Input VAT@5%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 1 AND RPC4.StaCode = 'VAT12.5'AND RPC4.DocEntry = T0.DocEntry) AS 'VAT12.5%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 18 AND RPC4.StaCode = 'Add2'AND RPC4.DocEntry = T0.DocEntry) AS 'ADD Tax 1%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 7 AND RPC4.DocEntry = T0.DocEntry) AS 'Excempt'
FROM ORPC T0
INNER JOIN RPC1 T1 ON T0.DocEntry = T1.DocEntry
WHERE (T0.CardCode = 'V00308') AND (T0.DocNum = '9220004')
FOR BROWSE
Thanks,
Neetu -
Display value and description of one field in alv grid
Hi Folks,
I want to display value and description of one field as one column in alv grid.
for example iam having Xfield = 01,02,03.
and 01 iam having text value as xxx,
01 xxx
02 yyy
03 zzz
Im report display the values are displaying as 01,02,03..
but i want to display it as 01 xxx,02 yyy, 03 zzz.
Please do needful.
Thx.Hi, swetha
You can do this with "concatenate".
example:
In you code check where you final internal table is getting filled up before that do this concatenate and then append it.
data t_text type string.
t_text = textfield
CONCATENATE 'Xfield'
t_text
INTO wa_workarea SEPARATED BY space.
cheers,
Bhavana -
Formatting display value in LOV
I have an LOV whose display value is a concatenation of 2 database fields. That works fine. But I want to put a tab in between the
2 fields, otherwise the values are displayed one right after the other, and the columns are out of alignment from one row to the next.
In sqlplus, I can do:
select CHR(9)||to_char(objecttype_id)||CHR(9)||objecttype_name from hdb_objecttype;
And I get:
12 acoustic velocity meter
1 basin
11 canal
2 climate site
3 confluence
4 diversion
10 hydro plant unit
5 hydro power plant
6 reach
7 reservoir
14 riverware dataobject
When I do the same thing in my LOV query, I get
12 acoustic velocity meter
1 basin
11 canal
2 climate site
3 confluence
4 diversion
10 hydro plant unit
5 hydro power plant
6 reach
7 reservoir
14 riverware dataobject
I've tried lpad and rpad, also. With blanks as padding they produce the above results. If I use a character such as '.' they behave
correctly, but I still don't have standard field widths because of the variance in character sizes.
Why won't any of this formatting work, and how can I get it to?
Thanks,
CarolHi, Carol,
In addition to what Max said, you may be displaying this in a region where whitespace is compressed; in which case you would need to use non-breaking spaces in place of regular spaces:
SELECT REPLACE ( RPAD ( TO_CHAR (objecttype_id)
, 10
) || objecttype_name
, CHR (38) || 'nbsp;' -- CHR (38) is ampersand
...Speaking of compressing whitespace, this site does it.
So when you say
CarolM2 wrote:
In sqlplus, I can do:
select CHR(9)||to_char(objecttype_id)||CHR(9)||objecttype_name from hdb_objecttype;
And I get:
12 acoustic velocity meter
1 basin
11 canal
2 climate site
3 confluence
4 diversion
10 hydro plant unit
5 hydro power plant
6 reach
7 reservoir
14 riverware dataobject
When I do the same thing in my LOV query, I get
12 acoustic velocity meter
1 basin
11 canal
2 climate site
3 confluence
4 diversion
10 hydro plant unit
5 hydro power plant
6 reach
7 reservoir
14 riverware dataobjectThey come out looking identical.
When you post formatted text (such as the results above) on this site, type these 6 characters:
(small letters only, inside curly brackets) before and after sections of formatted text, to preserve spacing. -
Display data in column structure
Hi all,
I have statements like below:
select distinct COL0 from aws_dbsum2
select distinct COL2 from aws_dbsum2
select distinct COL3 from aws_dbsum2
select distinct COL4 from aws_dbsum2
select distinct COL5 from aws_dbsum2
select distinct COL6 from aws_dbsum2
select distinct COL7 from aws_dbsum2
select distinct COL8 from aws_dbsum2
select distinct COL9 from aws_dbsum2
select distinct COL10 from aws_dbsum2
select distinct COL11 from aws_dbsum2
select distinct COL12 from aws_dbsum2
select distinct COL13 from aws_dbsum2
/I am getting results..
But i want to display results in column structure(all distinct value) like:
when i use union i am getting duplicates...
Col0 col1 col2
1 Norway TV
2 Germany DVD
3 China Tube
4 USA thanks in advance
Australia
Edited by: Onenessboy on Sep 15, 2011 2:11 AM
Edited by: BluShadow on 15-Sep-2011 13:47
fixed code tagHello
There may be a simpler way but this is what I came up with. No matter what, you're going to have to access the table multiple times...
WITH source_data AS
( SELECT 'Jive rocks' col1, 'Value 2' col2, 'Bananna' col3 from dual union all
SELECT 'Jive rocks' col1, 'Badminton' col2, 'Bananna' col3 from dual union all
SELECT 'Jive rocks' col1, 'Billiards' col2, 'Apple' col3 from dual union all
SELECT 'Civet' col1, 'Coffee' col2, 'Bananna' col3 from dual union all
SELECT 'Civet' col1, 'Badminton' col2, 'Pineapple' col3 from dual
unpivot AS
( SELECT
column_name,
value,
ROW_NUMBER() OVER (PARTITION BY column_name ORDER BY value) rn
FROM
( SELECT
'COL1' column_name,
col1 value
FROM
source_data
UNION
SELECT
'COL2' column_name,
col2 value
FROM
source_data
UNION
SELECT
'COL3' column_name,
col3 value
FROM
source_data
--select * from unpivot
SELECT
MAX
( CASE
WHEN column_name = 'COL1' THEN
value
END
) col1,
MAX
( CASE
WHEN column_name = 'COL2' THEN
value
END
) col2,
MAX
( CASE
WHEN column_name = 'COL3' THEN
value
END
) col3
FROM
unpivot
GROUP BY
rn
ORDER BY
rnHTH
David
Edited by: Bravid on Sep 15, 2011 11:36 AM
Edited by: Bravid on Sep 15, 2011 11:37 AM
apparently mon-key is a spam word, and just for the record, I was not attempting to pro-mote my mon-key ten-nis dis-count bus-iness -
How can I get dataTable to display values from the java layer?
When I use the dataTAble in my JSP page it will only display values from my java layer if the facets tag has it's name set to "header". Why is this happening?
If I set it to "header" and I look at the page source it actually has created the correct number of rows but it doesn't put the values between the <td> tags? It see's the length of my list but it doesn't pick the values out of the list.
<h:dataTable var="data" value="#{NameBean.test}" border="1">
<h:column>
<f:facet name="header">
<h:outputText value="Name"/>
</f:facet>
</h:column>
<h:column>
<f:facet name="header">
<!-- <h:outputFormat styleClass="outputFormat" id="format1" value="#{NameBean.test}"></h:outputFormat>-->
<h:outputText styleClass="outputText" value="#{NameBean.test}" style="" rendered="true" escape="false"/>
</f:facet>
</h:column>
</h:dataTable>
public List gettest()
List li = new LinkedList();
Object Developers[] = {"M@n00j", "sdsadas"};
for( int i = 0; i < Developers.length; i++ )
li.add(Developers);
return li;
Thanks in advance to anyone that can help.
-ls6vI've been able to get it working with some of those changes along with changes in the JSP. I think it's a setting or two in the JSP that'll allow the program to run correctly.
I have a list and it's returned like what you suggested. A day or two ago I tried to move the outputtext outside of the facet tag but nothing would print, I know believe that's related to the following setting in the JSP:
rows="0" in the <h:dataTAble tag
Unfortunately the dataTAble isn't displaying the values correctly. It prints all of the values (Strings) in the list on each row and it make a new row for the number of items in the list.......... ???
Here's what it's printing to the screen (the table):
===================
== [asdasd], [sddfdfd] ==
===================
===================
== [asdasd], [sddfdfd]==
===================
what it should print:
============
== [asdasd] ==
============
============
== [sddfdfd] ==
============
My code:
public List gettest()
List li = new ArrayList();
li.add("asdasd");
li.add("affffd");
return li;
}JSP
<h:dataTable border="1" columnClasses="list-column-left"
headerClass="list-header"
rowClasses="list-row-odd"
id="table"
rows="0"
value="#{NameBean.test}"
var="data">
<h:column>
<f:facet name="header">
<h:outputText value="test"/>
</f:facet>
<h:outputText value="#{NameBean.test}" style="" rendered="true" escape="false"/>
</h:column>
</h:dataTable> -
Display values of a single field in a multiple rows in a table region
Hi Tech-Gurus,
I want to display values of a single field ( which is in a table region) in multiple rows and also need to restrict the values from decimal number. If i click save, then it will throw exception "Decimal not allowed".
xxxxxx
yyyyyy
Reg.No
1234
5678
7654
I need to display the values of REG.NO in different rows like,
1234
5678
7654
and also need to validate as well against Decimal values.
Please help me with the code how i will iterate ?Hi,
I am assuming you are talking about displaying substrings from the Reg No in different rows. For this you would need to write a query which identifies the substrings and creates a separate row for each (ensure you choose values for all other columns in the table row). Kindly let me know if the understanding is incorrect.
To validate against decimal value you can use the java code by checking the difference of the number and the number on which modulus has been applied. Hope that helps.
Regards
Sumit -
Apex Calendar - Display Values Vertical
Is there a way to display values in a calendar vertically?
i.e.
Jan 1:
V V
A A
L L
U U
E E
1 2
Any ideas would be greatly appreciated.Thanks for your suggestion
I tried the following SQL:
select replace(TheData,'-','<BR>') AS VERTICAAL_DATA FROM MY_TABLE;
The above SQL presents the data vertically in the calendar. However the results for multiple rows of data appear in one column only...
i.e.
Jan 1
V
a
l
u
e
1
V
a
l
u
e
2
Your idea is a great start... hopefully I'll figure out how to display each value side by side.
Thanks again
Edited by: user12027357 on Feb 6, 2013 10:57 AM -
Sales Order form error "Not able to retrieve Display values for Service"
Hi,
Few of our orders flash the below error message when the order is queried
"Not able to retrieve Display values for Service"
Below are the points I observed
1.The orders I am referring to are imported order via EDI interface.
2.The service reference type code has value of ORDER, however no other service related fields (like service reference line id) have any values.
3. The item is not a service item (service tab in Item setup is disabled)
4. Same item when imported with value of "Customer Ordered" in "service reference type code" field, does not throw an error.
5. If I update "service reference type code" with value null or change it to CUSTOMER_PRODUCT, the error disappears.
Can someone explain the significance of this column value and what could have been causing this error message?
May be there are some dependent fields/setups which must have a value when service reference type code =ORDER.
Thanks in advance,
JC
Edited by: user10174990 on Oct 25, 2012 10:58 AMHi,
Maintain the dafault values using Tcode OISF with respective to Planning Plant you have to maintain the following values like Order Type, Main Work Center, Maint. Plant,Group,Group Counter,Business Area & Task List type.
or
Apply these OSS note 150732 / 195993.
regards,
Venkatesan Anandan
Maybe you are looking for
-
How do I download photos from a thumb drive to iphoto on my MacBook Pro?
Hoe do I download photos from a thumb drive to iphoto on my MacBook Pro?
-
Silently uninstalling all Creative Cloud components on Windows
Hi We have a package containing Photoshop, InDesign, Illustrator and Acrobat and our silent installation works fine, but uninstalling all components have left me with a single challange beyond my capabilities. The last component I need to remove sile
-
How do i remove the latest Java update?
Yesterday Software Update installed a new version of Java which breaks my Juniper Network Connect VPN client. How do i undo this software update? Thanks.
-
Crashes with dbs dreaded blue screen when loading certain sites -
Periodically - probably twice a week I load a screen that causes Firefox to crash - I get the dread blue screen so can't get stats although I do see errors when I log back in and bring up firefox. You have the right config details. Let me know what o
-
Cannot a file to document library with column validation
I have two problems Problem#1: I can not create a file from C# code, If document library has a text column with Sharepoint column validation. SharePoint throws exception if I invoke SPFileCollection.Add method. at Microsoft.SharePoint.SPGlobal.Handle