Need dependent column
Hi All,
Like all_dependencies is there any table to track the column usage also. (metadata)
Please share thoughts on hot to get this data for a view.
Thanks in advance,
VJ
That data isn't exposed in the (documented) data dictionary, at least not in 11.2. I wouldn't be surprised if it was available in some new data dictionary table/ column in 12.1. And, since Oracle can track column-level dependencies in 11.2, I would tend to wager that you could find this information somewhere in the x$ tables if you were sufficiently adventurous though I would strongly suggest against actually trying to pull information from undocumented tables.
Justin
Similar Messages
-
Can Data Masking support dependent column definition between instances
Hi,
The customer is trying to conduct an POC of Data Masking,one requirement is supporting "dependent column" definition between oracle databases.
I know it's ok within an database,but no idea about between serveral databases.
Do you have any advice.
Thanks a lot.
KelvinI guess using a databaselink might do the job.
Regards
Rob -
Need Amount column to be Right Aligned in LOV asap
Hi,
I have a amount column in a custom LOV which needs to be right aligned. but in LOV, by default all columns come as left aligned..Pls provide a solution asap.
Thanks,
PuneetThe column alignment depends on the type of data it displaying. Number columns are right aligned and string column are left aligned. this is default behaviour.
Change datatype of column amount to Number. It will allign right.
Thanks,
Ram -
Not able to create rows in a table with dependent columns in an OAF page.
We have a table in an OAF page which has the property "Records Displayed" set as "10". Hence pagination kicks in for more than 10 rows in the table. "Add rows" is enabled in this table. The table also has 'detail' component.
In this table, we have created 2 new columns (dropdowns) using personalization. Dropdown 2 is dependent on the value selected in Dropdown1. Both are required fields.
We are able to add new rows to the table. All the columns render properly. Dropdown 2 also renders properly depending on the values selected in Dropdown1. There is no issue until we add the 10th row (remember the number of displayed records in the tabble is 10). When we add the 10th row, the fields appear properly. Dropdown1 values are displayed as expected. But when we select a value in Dropdown1, Dropdown2 does not refresh and get populated with the expected values (depending on Dropdown1 values). Dropdown2 remains blank. But this happens only when the 10th row is added. Since Dropdown2 is a required field and since Dropdown2 is not refreshed with values depending on Dropdown1, the records cannot be saved.
There seems to be a problem with refresh when the nth row is added to the table where 'n' is the Records displayed in the table (pagination).
If we change the Records Displayed to say 15 then we have the above problem when adding the 15th row. 14 rows can added to the table without an issue.
Can a workaround (other than increasing the number of displayed records) be provided for this issue?Hi,
I suspect you have written a method having String return type but the method does not have return statement.
Go to the Catalogue component->BPM Object->Right click on the BPM object and select New Method->Give the method name. Now the method window will be opened. Go to the propertied tab of the right most panel. Set the return type as string. In the method window editor write your business logic. The below mentioned code is for sample one.
String msg = "Hello World";
return msg;
Bibhu -
Need custom column widths in Append Text Table to Report
I need to print reports with tables of different column widths specified for each column, as the contained fields vary in width from just 3 characters in one column to 40 characters in another. Also we are trying to match the reports generated by a non-labview routine. In the past I have been able to achieve this by editing the Append Table to Report vi, working my way through the inner hierarchy to replace the DBL numeric COLUMN WIDTH control with a DBL numeric array. The innermost vi, Set Table Column Width, assigns the numeric to a property node in a for loop, so the change is simple: replace the scalor with an array and enable indexing on the for loop. Of course, after each Labview upgrade, I've had to go back in and repeat these edits on the overwritten upgraded vi's. This time there is a problem. The new version of this toolkit is object oriented, and disturbing these vi's wrecks the class methods in a way I don't understand (mostly because I've had no dealings with object oriented programming) and which cannot be undone. I recently tried this and after not being able to fix the problem even with phone support, I had to spend the next two days unistalling and reinstalling Labview! I desperately need a way to achieve this functionality without killing the toolkit, which is used (in its original functionality) by another absolutely critical program. PLEASE HELP!
The hierarchy is as follows:
NI report.lvclass:Append Table to Report (wrap)
NI report.lvclass:Append Table to Report
NI Standard report.lvclass:Append Text Table to Report
NI Standard report.lvclass:tables
NI Report Generation Core.lvlibet Table Column WidthThere is a highly relevant thread under discussion here:
http://forums.ni.com/ni/board/message?board.id=features&thread.id=429
You may wish to read it and chime in as it is a discussion of LabVIEW's policy (and possible change in policy for the future) concerning the handling of non-palette VIs between LV versions.
Rob Hingle wrote:
> Is that to say NI will not be helping me with this? Pretty disappointing lack of support, seems
> like a terrible idea to go to object oriented if even your own application engineers can't figure
> out such a simple fix. Gotta give NI a huge thumbs down on this one, thanks for nothing.
I doubt that it is a simple fix -- our AEs are generally top notch at figuring out solutions for customers -- if it were simple, my bet is they'd have solved it. Asking an AE to work around a bug is different from asking them to rearchitect the toolkit. You are asking them to add a feature that the new version of the toolkit is not
designed to support. The difficulty in doing this is completely independent of the decision to use LabVIEW classes to implement the toolkit. If any piece of software is not designed with a particular use case in mind, what may be a simple tweak under one design may become a very hard problem under another design.
In your case, the solution is very straightforward: Use the older version of the toolkit. Any time you create a custom modification of the VIs that ship with LV or one of its toolkits, you should make your own copy and have your VIs link against the copy. LabVIEW promises to maintain all the public functionality version over version. Usually we succeed at that. What we do not promise is to maintain our private implementation of that functionality. It is impossible for LabVIEW (or any other software library) to maintain all of its private internal operations while still continuing any development. Using a copy of the original VIs shields you from having to recode your changes every version (something you've already mentioned is a chore) and it guarantees that functionality that you relie upon does not disappear.
I hope you are willing to be understanding of this situation and not hold it against the AEs working on this. They try hard to provide excellent customer service, and spend lots of time inventing custom solutions for our users. This happens to be a situation where the correct fix is not to modify the new toolkit version to do something it wasn't designed to do but to modify your development process so that the problem is solved now and into the future. -
'group by' works good, but need another column
Hi,
I am seeking for better construction for next issue, this code is not good-readable and seems I can't add another column to returned output:
;WITH q AS (
SELECT srvs.description as srv, apps.description as app
FROM srv_link_app as link LEFT JOIN servers as srvs
ON link.srv = srvs.id
LEFT JOIN apps
ON link.app = apps.id
SELECT
FROM (
SELECT DISTINCT app
FROM q
) qo CROSS APPLY
SELECT CASE ROW_NUMBER() OVER(ORDER BY srv) WHEN 1 THEN '' ELSE '; ' END + qi.srv
FROM q qi
WHERE qi.app = qo.app
ORDER BY
srv
FOR XML PATH ('')
) qi(srv)
Works perfect, It connects 3 tables: apps, servers, link and groupy by column servers. So,
link table is auxiliary connection.
Output is:
app1 | server1;server3
app16 | server6;server13
It's good but I need add another column app.long_info, for example (Output):
app1|srv1;srv2;srv5 | app.long_info hereCan you post DDL? What little you showed us is a mess. You have a magic generic “description” that transform from servers to applications in violation of ISO-11179 Standards, logic and data modeling. Likewise, you have the classic noob “id” that also morphs
from servers to applications. I will bet it can be a squid or an automobile, too!
>> So, link_table is auxiliary connection. <<
Auxiliary connections?? I never head that term before and I think been around SQL for awhile :). The term “link” comes from 1970's network databases. It was a type of pointer structure. Pointers connect, references do not. We would never use it in RDBMS. We
have n:m, 1:m or n:1 relationships and the relationships have real names. Using OUTER JOINs makes no sense.
Next, I see you hate Dr. Codd and First Normal Form (1NF). You use XML to make the code hard to port, hard to maintain an unpredictable. Good SQL programmers write and do not do display formatting in the query. This is the principle of any tiered architecture,
not just SQL.
Here is my guess, with clean up:
CREATE TABLE Applications
(app_id CHAR(12) NOT NULL PRIMARY KEY,
app_description VARCHAR(25) NOT NULL,
CREATE TABLE Servers
(server_id CHAR(12) NOT NULL PRIMARY KEY,
server_description VARCHAR(25) NOT NULL,
CREATE TABLE Application_Assignments
(app_id CHAR(12) NOT NULL
REFERENCES Applications
ON DELETE CASCADE
ON UPDATE CASCADE,
server_id CHAR(12) NOT NULL
REFERENCES Servers
ON DELETE CASCADE
ON UPDATE CASCADE,
PRIMARY KEY (app_id, server_id),
Since we have no sample data, no sample output, we can only guess. But your terms an approach are completely wrong. Have read any book on data modeling or RDBMS?
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
Need mapping columns for the table ic_whse_inv in R12.
Hi Guys,
We are upgrading to R12, and I need mapping for the following columns in the table ic_whse_inv
to the Tables in R12.
SAFETY_STOCK ,REORDER_POINT ,FIXED_LEADTIME, PURCHASE_IND
Can you guys help me?
Thanks\Kiran S.Hi,
I have already gonr through the OPM release 12.1 migration documents provided in 376683.1.
The metalink ID1098353.1 is somewhat helpful for me in analyzing the transactions duting upgrade phase. However, I still not able to get the exact replacement for ic_loct_inv in R12. Your assistance is really required and appreciated.
Thanks -
Main Safari Discussion list needs wider column(s) or sub forum name change
The main discussions list window has fixed column widths and the one that lists which forum a particular topic resides is too small for the entries there. Either that column needs to be wider so that one can see whether "Safari 3 Public Beta ...." entry is for Windows or Mac OR change those forum names to something like "Safari 3 for Mac - Public Beta" and "Safari 3 for Windows - Public Beta"
The main discussions list window has fixed column widths and the one that lists which forum a particular topic resides is too small for the entries there. Either that column needs to be wider so that one can see whether "Safari 3 Public Beta ...." entry is for Windows or Mac OR change those forum names to something like "Safari 3 for Mac - Public Beta" and "Safari 3 for Windows - Public Beta"
-
Needs multi column dynamic combo box using C#
I need a dynamic Combo box to display multi columns on Drop Down Event
such as Stock Code, Make, Model,Sub Model, Measurement Type and so on for my C# Application with Columns Headers
Please Help Me
Thanks in AdvanceYou should create a class that represents your model and then you could use a CompositeCollection as the ItemsSource of the ComboBox.
Here is an example for you:
namespace WpfApplication59
public class YourModel
public string StockCode { get; set; }
public string Model { get; set; }
//+ the rest of your properties
MainWindow.xaml.cs:
public partial class MainWindow : Window
public MainWindow()
InitializeComponent();
List<YourModel> models = new List<YourModel>();
models.Add(new YourModel() { Model = "m1", StockCode ="c1"});
models.Add(new YourModel() { Model = "m2", StockCode = "c2" });
cb.ItemsSource = models;
MainWindow.xaml:
<ComboBox x:Name="cb" Grid.IsSharedSizeScope="True" ItemsSource="{DynamicResource items}"
xmlns:local="clr-namespace:WpfApplication59">
<ComboBox.Resources>
<CompositeCollection x:Key="items">
<ComboBoxItem IsEnabled="False">
<Grid TextElement.FontWeight="Bold">
<Grid.ColumnDefinitions>
<ColumnDefinition SharedSizeGroup="A"/>
<ColumnDefinition Width="5"/>
<ColumnDefinition SharedSizeGroup="B"/>
</Grid.ColumnDefinitions>
<Grid.Children>
<TextBlock Grid.Column="0" Text="Model"/>
<TextBlock Grid.Column="2" Text="Stock Code"/>
</Grid.Children>
</Grid>
</ComboBoxItem>
<Separator/>
<CollectionContainer Collection="{Binding Source={x:Reference cb}, Path=DataContext}"/>
</CompositeCollection>
<DataTemplate DataType="{x:Type local:YourModel}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition SharedSizeGroup="A"/>
<ColumnDefinition Width="5"/>
<ColumnDefinition SharedSizeGroup="B"/>
</Grid.ColumnDefinitions>
<Grid.Children>
<TextBlock Grid.Column="0" Text="{Binding Model}"/>
<TextBlock Grid.Column="2" Text="{Binding StockCode}"/>
</Grid.Children>
</Grid>
</DataTemplate>
</ComboBox.Resources>
</ComboBox>
You could restyle the the templates (Grids) as per your requirements.
Please remember to mark helpful posts as answer to close your threads and then start a new thread if you have a new question. -
In need of column type given a table and column.
Hello,
Currently I'm using in JDBC the following query to get the column's type (via ResultSetMetaData Java object):
"select "+aColumnName+" from "+aTableName+" WHERE ROWNUM < 0"
When the column is a Spatial column I'm getting the following exception:
java.sql.SQLException: [BEA][Oracle JDBC Driver][Oracle]ORA-00932: inconsistent datatypes: expected NUMBER got MDSYS.SDO_GEOMETRY
The question that I have is:
1. Why am I getting that exception when on other columns (Number, Varchar2, etc) I'm not getting an exception
OR
2. Is there a better way to query the database for a column's type when the user/pwd (most likely) has no other permissions to the database but to read/write data to the database.
Also I have a flat file that has approximately ~150 rows of table.column values that I'm currently calling ~150 times w/ the above SQL. So hopefully w/ #2 I can get some better performance.
Thanks,
Jim2. Is there a better way to query the database for a column's typeYou can query »user_tables« or »all_tables« instead ....
-
Need a column based off a PL/SQL cursor, how to do this?
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
With the Real Application Testing option
JServer Release 9.2.0.8.0 - Production
Report Builder 10.1.2.2.0
ORACLE Server Release 10.1.0.5.0
Oracle Procedure Builder 10.1.2.2.0
Oracle ORACLE PL/SQL V10.1.0.5.0 - Production
Oracle CORE 10.1.0.5.0 Production
Hi,
I am trying to create a fairly basic report but in the initial data model query, I have one column that is built based off of a PL/SQL cursor. How do I add this into my report? I have tried to create a function under Program Units and reference the function in my select statement for the data model however it keeps saying it is an invalid identifier, and I assume its looking in our database and not the function I created inside the report.
This is what it looks like:
SELECT a.id,
b.name,
F_GET_GENERIC_NAME(b.code) "Generic Name",
c.strength...and the function i want it to use in my report:
FUNCTION F_GET_GENERIC_NAME (in_code varchar2) RETURN VARCHAR2 IS
BEGIN
DECLARE
generic_name table.column%TYPE;
CURSOR cs_get_generic_name IS
SELECT /*+ USE_HASH (AR) */ desc
FROM a_ref AR, ai_ic AC
WHERE AC.code = in_code
AND AC.code = AR.code
ORDER BY sort_nbr;
BEGIN
generic_name := '';
FOR v_get_generic_name IN cs_get_generic_name
LOOP
generic_name := generic_name || RTRIM(v_get_generic_name.desc)
|| '/' || ' ';
END LOOP;
generic_name := SUBSTR(generic_name, 1,(NVL(LENGTH(generic_name), 0) - 2));
RETURN generic_name;
END;
END;
Any suggestions? Should I just create the function in the database?I am trying to do it through a formula column but am encountering the following problem.
I've created a formula column in my data model where I want the column to be (inside the group).
Inside the PL/SQL for the column I reference the function that I had previously created with the following:
function CF_Generic_nameFormula return Char is
begin
F_GET_GENERIC_NAME(:code);
end;However it won't let me compile, giving the error that "F_GET_GENERIC_NAME is not a procedure or is undefined." Is there something else that I am missing?
EDIT: Nevermind, i missed something simple like putting a return in front of the function call.
Edited by: a small rabbit on Nov 3, 2009 10:43 AM
Edited by: a small rabbit on Nov 3, 2009 10:44 AM -
Need 3 column based on excel formulas, for Average cost of sales.
hii,,
i am using Oracle 10g...
select
pdate,
pcode,
pno,
pqty,
pprice,
trade_amt
, qty_on_hand
, total_cost
, case when pqty < 0
then
lag (avg_price) over (order by pdate)
else
avg_price
end avg_price
, case when pqty < 0
then
lag (avg_price) over (order by pdate)*-pqty
else
avg_price*pqty
end bal_cost
from (
select
pdate,
pcode,
pno,
pqty,
pprice,
pqty*pprice trade_amt,
sum (pqty) over (order by pdate) qty_on_hand,
sum (pqty*pprice) over (order by pdate) total_cost,
sum (pqty*pprice) over (order by pdate) /
sum (pqty) over (order by pdate) avg_price
from
select to_date('12/01/2011','dd/mm/yyyy') pdate, 'PUR' pcode, 1 pno, 10 pqty, 37.425 pprice from dual union all
select to_date('13/01/2011','dd/mm/yyyy'), 'INV', 1, -5, 48.169 from dual union all
select to_date('14/01/2011','dd/mm/yyyy'), 'PUR', 3, 15, 21.628 from dual union all
select to_date('15/01/2011','dd/mm/yyyy'), 'INV', 4, -10, 32.6 from dual union all
select to_date('16/01/2011','dd/mm/yyyy'), 'PUR', 4, 20, 22.33 from dual union all
select to_date('16/01/2011','dd/mm/yyyy'), 'PUR', 5, 35, 19.55 from dual union all
select to_date('18/01/2011','dd/mm/yyyy'), 'INV', 5, -8, 28 from dual union all
select to_date('22/01/2011','dd/mm/yyyy'), 'INV', 6, -12, 32.6 from dual
order BY 1,2,3
this is what the above query returns....( total_cost and avg.price are wrong...so as the bal_cost)
PDATE PCO PNO PQTY PPRICE TRADE_AMT QTY_ON_HAND TOTAL_COST AVG_PRICE BAL_COST
12-JAN-11 PUR 1.000 10.000 37.425 374.250 10.000 374.250 37.425 374.25
13-JAN-11 INV 1.000 -5.000 48.169 -240.845 5.000 133.405 37.425 187.125
14-JAN-11 PUR 3.000 15.000 21.628 324.420 20.000 457.825 22.891 343.373
15-JAN-11 INV 4.000 -10.000 32.600 -326.000 10.000 131.825 22.891 228.915
16-JAN-11 PUR 4.000 20.000 22.330 446.600 65.000 1262.675 19.426 388.517
16-JAN-11 PUR 5.000 35.000 19.550 684.250 65.000 1262.675 19.426 679.905
18-JAN-11 INV 5.000 -8.000 28.000 -224.000 57.000 1038.675 19.426 155.407
22-JAN-11 INV 6.000 -12.000 32.600 -391.200 45.000 647.475 18.222 218.669
8 rows selected.
i expect the result to be like this...
PDATE PCO PNO PQTY PPRICE TRADE_AMT QTY_ON_HAND TOTAL_COST AVG_PRICE BAL_COST
12-JAN-11 PUR 1.000 10.000 37.425 374.250 10.000 374.250 37.425 374.25
13-JAN-11 INV 1.000 -5.000 48.169 -240.845 5.000 133.405 37.425 187.125
14-JAN-11 PUR 3.000 15.000 21.628 324.420 20.000 457.825 25.577 511.545
15-JAN-11 INV 4.000 -10.000 32.600 -326.000 10.000 131.825 25.577 255.773
16-JAN-11 PUR 4.000 20.000 22.330 446.600 65.000 1262.675 23.412 702.373
16-JAN-11 PUR 5.000 35.000 19.550 684.250 65.000 1262.675 21.333 1386.623
18-JAN-11 INV 5.000 -8.000 28.000 -224.000 57.000 1038.675 21.333 1215.961
22-JAN-11 INV 6.000 -12.000 32.600 -391.200 45.000 647.475 21.333 959.969
8 rows selected.to arrive at bal_cost and avg.price, i need 1 more calculation for 'cost_of_sal' which is where i am stuck how to create it first and make use of that..
1) qty_on_hand running balance is OK..
2) cost_of_sale = when qty is -nve (i.e. pcode = 'INV') then take (1 row)previous value of Avg.Price and multiply by sold qty of current row.
3) bal_cost = when qty is +ve (i.e. pcode = 'PUR') then take (1 row)previous value bal_cost and add the trade_amt of current_row OR
when qty is -nve (i.e. pcode='INV') then take (1 row)previous vaue bal_cost and add the cost_of_sale of current_row
finally
4) avg.price = bal_cost / qty_on_hand
just a link showing excel forumlas...http://www.flickr.com/photos/58335021@N07/5356642176/
thank you..hii Etbin..thanks for your effort..but still the result is not as i want, above...
select pdate,pcode,pno,pqty,pprice,trade_amt,qty_on_hand,total_cost,avg_price,bal_cost,
case when pqty < 0
then lag(avg_price) over (order by pdate) * (- pqty)
end cost_of_sale, /* shown as an intermediate result - included in next case */
case when pqty < 0
then lag(bal_cost) over (order by pdate) + lag(avg_price) over (order by pdate) * (- pqty)
else lag(bal_cost) over (order by pdate) + trade_amt
end bal_cost_new, /* shown as an intermediate result - used in next case */
case when pqty < 0
then lag(bal_cost) over (order by pdate) + lag(avg_price) over (order by pdate) * (- pqty)
else lag(bal_cost) over (order by pdate) + trade_amt
end / qty_on_hand avg_price_new
from (select pdate,pcode,pno,pqty,pprice,trade_amt,qty_on_hand,total_cost,
case when pqty < 0
then lag(avg_price) over (order by pdate)
else avg_price
end avg_price,
case when pqty < 0
then lag(avg_price) over (order by pdate) * (- pqty)
else avg_price * pqty
end bal_cost
from (select pdate,pcode,pno,pqty,pprice,
pqty * pprice trade_amt,
sum(pqty) over (order by pdate) qty_on_hand,
sum(pqty * pprice) over (order by pdate) total_cost,
sum (pqty * pprice) over (order by pdate) / sum(pqty) over (order by pdate) avg_price
from
select to_date('12/01/2011','dd/mm/yyyy') pdate, 'PUR' pcode, 1 pno, 10 pqty, 37.425 pprice from dual union all
select to_date('13/01/2011','dd/mm/yyyy'), 'INV', 1, -5, 48.169 from dual union all
select to_date('14/01/2011','dd/mm/yyyy'), 'PUR', 3, 15, 21.628 from dual union all
select to_date('15/01/2011','dd/mm/yyyy'), 'INV', 4, -10, 32.6 from dual union all
select to_date('16/01/2011','dd/mm/yyyy'), 'PUR', 4, 20, 22.33 from dual union all
select to_date('16/01/2011','dd/mm/yyyy'), 'PUR', 5, 35, 19.55 from dual union all
select to_date('18/01/2011','dd/mm/yyyy'), 'INV', 5, -8, 28 from dual union all
select to_date('22/01/2011','dd/mm/yyyy'), 'INV', 6, -12, 32.6 from dual
order by 1,2,3
PDATE PCO PNO PQTY PPRICE TRADE_AMT QTY_ON_HAND TOTAL_COST AVG_PRICE BAL_COST COST_OF_SALE BAL_COST_NEW AVG_PRICE_NEW
12/01/2011 PUR 1.000 10.000 37.425 374.250 10.000 374.250 37.425 374.250
13/01/2011 INV 1.000 -5.000 48.169 -240.845 5.000 133.405 37.425 187.125 187.125 561.375 112.275
14/01/2011 PUR 3.000 15.000 21.628 324.420 20.000 457.825 22.891 343.369 511.545 25.577
15/01/2011 INV 4.000 -10.000 32.600 -326.000 10.000 131.825 22.891 228.913 228.913 572.281 57.228
16/01/2011 PUR 4.000 20.000 22.330 446.600 65.000 1262.675 19.426 388.515 675.513 10.393
16/01/2011 PUR 5.000 35.000 19.550 684.250 65.000 1262.675 19.426 679.902 1072.765 16.504
18/01/2011 INV 5.000 -8.000 28.000 -224.000 57.000 1038.675 19.426 155.406 155.406 835.308 14.655
22/01/2011 INV 6.000 -12.000 32.600 -391.200 45.000 647.475 18.222 218.668 233.109 388.515 8.634
8 rows selected.any other thought..
TY -
Need CardCode Column in Incoming Payments window
Hi! Im trying to add a CardCode column to the matrix in the Incoming Payments window, Ive tried the following;
- Added the User Defined Field U_Cod_Cte to the incoming payments lines
- Added a format search but it takes 25 minutes with 1000+ plus lines.
- Added a User Data Source but when trying to set the data in the matrix with the SetDataLine I get an exception with the message "Item is not user defined"
- Tried to set the value of the column iterating through all matrix rows casting the special field to an edit control ((SAPbouiCOM.EditText)_oMatrix.Columns.Item("U_Cod_Cte").Cells(i).Special),Vaue = "cardcodevalue" but it takes almost as long as the format search.
Please help!!!
Thank you very much.
Jose.
Edited by: Jose Ines Cantu Arrambide on Jan 31, 2010 3:20 AMHi Mohamed, I tried your suggestion, here is what Ive got,
SAPbouiCOM.Matrix _oMatrix = (SAPbouiCOM.Matrix)m_oPaymentForm.Items.Item("20").Specific;
SAPbouiCOM.DBDataSource _oDS = m_oPaymentForm.DataSources.DBDataSources.Item("RCT2");
for (int i = 0; i < m_oPaymentForm.DataSources.DBDataSources.Item("RCT2").Size;i++)
try
_oDS.SetValue("U_Cod_Cte", i+1, i.ToString());
catch (Exception err)
System.Diagnostics.Debug.Write(err.Message);
Im running this code when I click a button that I added to the form. "U_Cod_Cte" si the user field that I added, its an Alfanumeric of lenght = 10.
Im trying to test it just by setting the iteration number. The thing is that Im seeing a Size = 1 no matter how much rows I have. And also when I try to set the value, I get an exception "The item is not a user defined iitem".
Thank you for your help!
Jose. -
Explain plan needs resize columns best-fit
Is there an easy way to resize columns in the explain plan grid? They are difficult to resize if the values in them are long, especially the access and filter columns at the end.
There is only one way to resize these right now (and thats the one you are using).
-
On my financial reports I am trying to add a blank column between my Monthly and YTD Budget, but can't get it to work. The Budget continues to populate in the blank column. Any suggestions on what I could try or where I could get additional help on setting my theme up would be appreciated.
Thanks,
Stephanie HafermannOn my financial reports I am trying to add a blank column between my Monthly and YTD Budget, but can't get it to work. The Budget continues to populate in the blank column. Any suggestions on what I could try or where I could get additional help on setting my theme up would be appreciated.
Thanks,
Stephanie Hafermann
Maybe you are looking for
-
I have used a QuadArray to create my geometry and byte array to fill its color. The coordinates and colors are set as reference. I want to make some particular quads fully transparent. To do it the I set the vertexFormat as below int vertexFormat = Q
-
Hi, Has anybody know about the Belgium Vat Report and VAT declaration form? How we need to configure it in SAP? Please thorugh some light on this issue. Thanks in adv MBN
-
Merging of Prodn Order number and operation number into the unloading point
Hi, I am creating the production order using the Tcodes Co01 or co10 and my requirement is that after creating the production number and then when I open that one in the change mode using co02 Tcode the unloading point which is present in the Goods R
-
Sync E71 with Microsoft Calendar
Have any body done the syncing of e71 and microsoft calendar?
-
Serious camera problems with the Lumia 800
Hello everyone, I just want to share my experience with you. I've been using an unlocked Lumia 800 for a week now and I actually like the phone, however these camera problems are just unacceptable. The camera has SERIOUS white balance problems, and,