Problem with ViewStack selected Index
Hi,
I am having issues selecting the initial index of a view stack. For example I have the following: <mx:ViewStack selectedIndex = 1> and it does not select this index. I think it has something to do with the fact that this particular child is HDividedBox I've had the same issue before in a different app and I just didn't fix it nor found a work-around.
Any ideas.
Here is a snipped of my code:
<mx:ViewStack id="vStack"
width="100%" height="100%"
selectedIndex="1" creationPolicy="all">
<!--VStack.index=0-->
<mx:VBox id="vBoxSpinner">
<ns:Spinner id="spinner" size="50" tickColor="black"/>
<mx:Label text="{Global.STR_LOADING}"/>
</mx:VBox>
<!--VStack.index=1-->
<mx:VBox id="vBoxChart" width="100%" height="100%">
<mx:HDividedBox id="hDividedBoxBarChart"
resizeToContent="true"
width="100%" height="100%">
<mx:ColumnChart id="chartClients"
styleName="MyColumnChart"
width="100%" height="100%"
itemClick="onDgItemClick(event)"
dataProvider="{_fakeData}"
showDataTips="true">
<mx:series>
<mx:ColumnSet type="stacked">
<mx:ColumnSeries
yField="prodIssues"
fill="{scProdIssue}"
stroke="{skProdIssue}"
displayName="Prod Issues"/>
<mx:ColumnSeries
yField="clientMajor_EnhancementRequest"
fill="{scClntMjrEnh}"
stroke="{skClntMjrEnh}"
displayName="Client Major Enhancements"/>
<mx:ColumnSeries
yField="clientMinor_EnhancementRequest"
fill="{scClntMinorEnh}"
stroke="{skClntMinorEnh}"
displayName="Client Minor Enhancements"/>
<mx:ColumnSeries
yField="newClientBuild"
fill="{scNewClntBuild}"
stroke="{skNewClntBuild}"
displayName="New Client Build"/>
<mx:ColumnSeries
yField="internalMajorEnhancement"
fill="{scIntMjrEnh}"
stroke="{skIntMjrEnh}"
displayName="Inernal Major Enhancement"/>
<mx:ColumnSeries
yField="internalMinorEnhancement"
fill="{scIntMinorEnh}"
stroke="{skIntMinorEnh}"
displayName="Inernal Minor Enhancement"/>
</mx:ColumnSet>
</mx:series>
<mx:secondSeries>
<mx:LineSeries id="lnSeriesCaseClosed"
dataProvider="{_fakeData}"
displayName="Cases Closed"
lineStroke="{new Stroke(StrokeColors.DarkOrangeSk.color, 4, _alphaTimesheetData)}"
yField="casesClosed"
hideDataEffect="fadeHideDataFx"
showEffect="fadeShowDataFx"
/>
<mx:LineSeries id="lnSeriesCaseOpen"
dataProvider="{_fakeData}"
displayName="Cases Open"
lineStroke="{new Stroke(StrokeColors.BlueSk.color, 4, _alphaTimesheetData)}"
yField="casesOpen"
hideDataEffect="fadeHideDataFx"
showEffect="fadeShowDataFx"
/>
</mx:secondSeries>
<mx:verticalAxisRenderers>
<mx:AxisRenderer axisStroke="{StrokeColors.BlueSk}" axis="{vAxisChartClients}"/>
</mx:verticalAxisRenderers>
<mx:secondVerticalAxis>
<mx:LinearAxis id="vAxisSecondChartClients" />
</mx:secondVerticalAxis>
<mx:secondVerticalAxisRenderer>
<mx:AxisRenderer axis="{vAxisSecondChartClients}" placement="right" axisStroke="{StrokeColors.BlueSk}"/>
</mx:secondVerticalAxisRenderer>
<mx:horizontalAxisRenderers>
<mx:AxisRenderer axisStroke="{StrokeColors.BlueSk}" labelRotation="45" axis="{hAxisChartClients}"/>
</mx:horizontalAxisRenderers>
<mx:verticalAxis>
<mx:LinearAxis id="vAxisChartClients" title="# Parent Cases"/>
</mx:verticalAxis>
<mx:horizontalAxis>
<mx:CategoryAxis categoryField="account" title="Account" id="hAxisChartClients"/>
</mx:horizontalAxis>
</mx:ColumnChart>
<mx:VBox id="vBoxLegeng" paddingTop="10" horizontalScrollPolicy="off" verticalScrollPolicy="off">
<mx:HBox id="hBoxTsData">
<mx:CheckBox id="chkCaseClosedOpened" selected="true" click="onChkCaseClosedOpenedCicked(event)"/>
<mx:Label text="Cases - Open/Closed"/>
</mx:HBox>
<mx:Legend dataProvider="{chartClients}"/>
</mx:VBox>
</mx:HDividedBox>
</mx:VBox>
<!--VStack.index=2-->
<mx:VBox id="vBoxDgChildCases" width="100%" height="100%">
<mx:DataGrid width="100%" height="100%" id="dgChildCases"/>
</mx:VBox>
</mx:ViewStack>
Simplify the test case. Use just labels in both children and see what happens.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui
Similar Messages
-
Problem in JComboBox selected Index change
hi all
Can anyone send me the code for Loading values to JComboBox & then i want to Display Particular value for that Loaded value in JTextField.
Ex:
I loaded category cade for JComboBox & when JComboBox selected index change the particular category name should appear in JTextBox
ThankzHi,
I am sending a sample program.
Try this, if u had any problem just mail me at [email protected]
import javax.swing.*;
import java.util.*;
import java.io.*;
import java.awt.*;
import java.awt.event.*;
public class SwingDemo extends JFrame implements ItemListener
JComboBox combo;
JTextField text;
Properties props;
public SwingDemo() throws Exception
super();
combo=new JComboBox();
text=new JTextField();
addItems("combodata.dat");
setLayout(new GridLayout(2,1));
add(combo);
add(text);
combo.addItemListener(this);
setTitle("JComboBox - Demo");
setSize(400,400);
setVisible(true);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
pack();
public static void main(String[] args) throws Exception
new SwingDemo();
public void addItems(String str) throws Exception
FileInputStream fis=new FileInputStream(str);
props=new Properties();
props.load(fis);
Enumeration e=props.propertyNames();
while(e.hasMoreElements())
combo.addItem((String)e.nextElement());
public void itemStateChanged(ItemEvent ie)
//System.out.println(ie.getSource());
//System.out.println((ie.getSource()==combo));
if(ie.getSource()==combo)
System.out.println(combo.getSelectedItem());
System.out.println(props.getProperty(combo.getSelectedItem().toString()));
text.setText(props.getProperty(combo.getSelectedItem().toString()));
pack();
For the above program I took data from a file instead of the database
You have to create that file to execute the above program with the name combodata.dat and the values as follwos
1=BSc
2=BCA
3=BA/BCom
4=MSc(IS)
5=MSc(Cs)
6=MCA
7=BE/BTech
8=MBA
Bye...
Thanks & Regards,
Santhosh Reddy Mandadi -
Problems with the selection of text or objects
dear fireworks community!
unfortunately i have problems with my running version fireworks (CS6) and i can't find any solution or even get help via the customer support.
i can't switch between objects with a click, when i've choosen one already. i also can't cancel the entire selection. the only way (to select a new item) is to click on an empty space, hold it and pull the selection over a new item.
another thing is that i cant select a textfield with a doubleclick or switch beteween choosen tools within the usage of a shortcut …
what i already tried:
updating, deinstalling, re-storing preferences, "cleaning" the libraries, installing (this entire scenario for at least three times)
i hope someone of you can help me!
thanks in advance!incredible!
thank you so much! -
Problem with column selection in GUI_DOWLOAD
Hi everyone !
I want to save data from an internal table to a DAT file using GUI_DOWLOAD. In this internal table, there are 2 colums that won't be downloaded so I call the FM this way :
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = L_FILE
FILETYPE = 'DAT'
COL_SELECT = 'X'
COL_SELECT_MASK = V_COLSELECT
TABLES
DATA_TAB = TAB_OUT
FIELDNAMES = TAB_FIELDNAMES.
V_COLSELECT contains an 'X' for each column I need to be downloaded and a space for the 2 other columns.
In the result file, the columns that I didn't select don't appear BUT there are 2 columns with no header and filled with zeros at the right edge of the file. I don't know where these 2 columns come from. Maybe a problem with fieldnames but I'm not sure (in TAB_OUT, all columns are present but in TAB_FIELDNAMES there are only headers for the selected columns).
If anybody have an idea, please just tell me.
Points will be rewarded for helpful answers.
Thanks.
Nicolas.Hi,
Try to keep fields same in TAB_FIELDNAMES and TAB_OUT. because anyway you are using COL_SELECT_MASK.
I think you are using COL_SELECT_MASK properly ie
if you have 6 field in the TAB_OUT out of that you need to donwload 1,3,6 then your
COL_SELECT_MASK will be X X X
aRs -
Problem with variable selections
Hi All
I am executing the report with period 46.2007-50.2007 . I am getting the result for this period.But if i run the report with same selections from 42.2007-50.2007, I am not getting the data.It says no applicable data found.
I am using interval as the option for variable .Could some one help on this?
Thanks
Raghu NHello
According to your selection you should get the data.
check the both selection (46 - 50) and (42 - 50) in the LISTCUBE transaction.
if data available in both cases then problem may be with other restrictions.
If no user exits are in that variable try create one more variable as it is and then try by restricting with new variable. -
Problems with customizing select lists and popup LOVs
Hi
I have 2 problems about select lists and popup LOVs.
The first one is about a select list in a tabular form.
It should be created with APEX_ITEM.SELECT_LIST_FROM_LOV or similar and take its values from a named LOV.
This worked fine but now it should also have the possibility to enter a free value.
I tried to accomplish that by creating a APEX_ITEM.POPUP_FROM_LOV, but there is a problem with the function that is called by the arrow icon right to the input field (for eg. genList_f11_5()).
If the row is added by addRow, then it works fine, but if the row is is not empty
then the function call is like genList_f11_$_row() and the input field gets no value, when a LOV option is selected.
The other problem is about a select list which should have the possibility to enter a custom value and
also there should be the possibility to select several values. I tried to implement this by a text area containing the selected values and a multiple select list, with an event handler in each option. The user could click options and they would be copied to the text area. The problem is that I couldn't make the event handler work in IE.
I would appreciate any ideas about either of these problems.
TiinaHi,
If you download application you can see source.
I have not write any instructions, sorry.
If you are on Apex 4 you can just load jQuery UI autocomplete library and take ideas from my app.
If you download my sample in zip there is uncompressed htmldbQuery library.
You can see that and take only function htmldbAutocomplete.
Then check jQuery UI document
http://jqueryui.com/demos/autocomplete/#method-search
There is method search that you can use open list just by click of input.
I hope this helps at start.
Regards,
Jari -
Function module based generic extractor - Problem with the selection
Hi all
The following is my code in the function module. I am able to get the entire data if i dont give any selections and the number of records is also correct. But when i select a MATNR value, it returns 0 records where as it needs to return 3 records. If i give selection based on bukrs, werks, lgort its working fine. But if i give selection based on MATNR, then it is not working.... I think there is a problem in the bold part of my code. If i debug, LS_MATNR is having the correct value which indicates that there is no problem with the value being passed to LS_MATNR from my selection screen of my datasource in RSA3. Even GT_WERKS is also having data. Please help.
OPEN CURSOR WITH HOLD S_CURSOR FOR
SELECT MARA~MANDT
MARA~MATNR
MARC~WERKS
MARD~LGORT
MARA~MEINS
MARD~LABST
MARD~EINME
MARD~SPEME
MARD~RETME
MARD~INSME
MARD~UMLME
MARD~VMLAB
MARD~VMEIN
MARD~VMSPE
MARD~VMRET
MARD~VMINS
MARD~VMUML
MARC~XCHPF
MARD~KLABS
MARD~KEINM
MARD~KSPEM
MARD~KINSM
from MARA inner join MARC on
MARAMANDT = MARCMANDT AND
MARAMATNR = MARCMATNR
inner join MARD on
MARAMANDT = MARDMANDT AND
MARAMATNR = MARDMATNR
AND MARCWERKS = MARDWERKS
for all entries in gt_werks
where MARC~werks EQ gt_werks-werks
AND MARA~MATNR in LS_MATNR.
ENDIF. "First data package ?
Fetch records into interface table.
named E_T_'Name of extract structure'.
FETCH NEXT CURSOR S_CURSOR
APPENDING CORRESPONDING FIELDS
OF TABLE E_T_DATA
PACKAGE SIZE S_S_IF-MAXSIZE.try this
select marc~matnr MARC~WERKS into t_marc for all entries in gt_werks
where werks EQ gt_werks-werks and lvorm = space.
if t_marc is not initial.
select MARD~LGORT MARD~WERKS MARA~MEINS MARD~LABST MARD~EINME
MARD~SPEME MARD~RETME MARD~INSME MARD~UMLME
MARD~VMLAB MARD~VMEIN MARD~VMSPE MARD~VMRET
MARD~VMINS MARD~VMUML MARC~XCHPF MARD~KLABS
MARD~KEINM MARD~KSPEM MARD~KINSM MARA~MEINS from
mard inner join MARA on mard~matnr = mara~matnr
for all entries in t_marc where mard~matnr = t_marc-matnr and mard-werks = t_marc-matnr
and mard~lvorm = space. -
Report Painter problem with empty selection variant
Hello,
I use the cost center selection variant for the column definition in Report Painter as characteristic value. This selection variant get only the cost centers which are valid from 1.1.2003 to 31.12.2004. The column of the report created by Report Painter which uses this selection variant display value without taking into account limitations follow from this selection variant. I expect value zero for year fiscal year 2007 in this column, because the cost centers are invalid in 2007 year but the report displays different value. The problem appeared after upgrade from 4.6C to ECC 6.0.
Best Regards
ZDMy problem with Report Painter occurred when I was creating my own report based on 1VK library.
In my example I used in the column definition characteristic Cost
Center, which is determined by selection variant, and Basic Key Figure
equal SWKG-Costs. For system date (18.07.2007) there are no valid
master data for the characteristic Cost Center but when I execute
report for fiscal year 2007 the column display no-zero value without
taking into account value of Characteristic Cost Center. I expected
zero value in this column because there are no postings for Cost
Centers (no valid cost centers were selected) in financial year 2007.
Could you help me with this problem ? -
Problem with the selection screen in submit program
Hi Friends,
i am facing the problem wih the selection screen in submit program. in my Module pool program i am using the submit program statement, When i execute the program , The module program display the submit program selections creen.
I have implemented the code same as below.
submit ztest with tknum =p_tknum and return.
Can you pleaes help me how to avoid the submit program selection screen.
Thanks,
CharanHi Charan,
You have to give the selection screen values when you submit a job.
Press F1 on submit and you will see more details.
Here is an example from ABAP Documentation.
Program accessed
REPORT report1.
DATA text(10) TYPE c.
SELECTION-SCREEN BEGIN OF SCREEN 1100.
SELECT-OPTIONS: selcrit1 FOR text,
selcrit2 FOR text.
SELECTION-SCREEN END OF SCREEN 1100.
Calling program
REPORT report2.
DATA: text(10) TYPE c,
rspar_tab TYPE TABLE OF rsparams,
rspar_line LIKE LINE OF rspar_tab,
range_tab LIKE RANGE OF text,
range_line LIKE LINE OF range_tab.
rspar_line-selname = 'SELCRIT1'.
rspar_line-kind = 'S'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = 'ABAP'.
APPEND rspar_line TO rspar_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'H'.
APPEND range_line TO range_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'K'.
APPEND range_line TO range_tab.
SUBMIT report1 USING SELECTION-SCREEN '1100'
WITH SELECTION-TABLE rspar_tab
WITH selcrit2 BETWEEN 'H' AND 'K'
WITH selcrit2 IN range_tab
AND RETURN.
Regards,
Jovito. -
Windows 8.1 having problems with pinter selection using Elements 13.
I am running Windows 8.1 with Elements 13 and am having problems with PRINT. If I select a printer from the PRINTER menu, Elements recognizes the change of selection, allows me to modify the printer's specific setting and, then, when I PRINT seems to not recognize the selected printer and print of whatever was set as the original printer. Then, I delete the "original" printer in Windows 8.1 and attempt to print again with the same general result except I receive a Printer Not Found error from Windows.
How do I modify the "original" printer setting (seems to be associated with the file)? Note the "original" printer is not the default printer.Hatstead,
Thank you.
Yes, all of the print drivers are up to date (re-verified last evening).
Yes, I can print and select the printer as normal for all of the standard applications I use (Visio, PowerPoint, Word, Excel, Outlook, direct print from file (Explorer)).
I shortened the printer names from the standard Microsoft convention (based on some of the BOG comments). There was no change. In fact after the test sequence noted in #5, I re-implemented the "name shortening" yet again (shorter yet). I launched Elements and ran into the same messages noted in #5 (obviously, the "stored" printer did not exist). Yet after I went through the printer selection process (again as in #5) and, after a lag time, Elements redirected the print job what was the "stored" printer which was renamed....I do not know how Elements associated the deleted "Stored" printer with its old name with the newly named printer since no other application could (I checked).
I have closed and restarted the PC numerous times.
I have deleted all of the printers except the one I wanted to use for the specific print job. In this case, Elements came back with a message it could not access the "stored" printer. I then selected the correct printer, Elements acted like it was allowing to set up the selected printer with the specifics of the print job, and, then when I went to print, Elements again tried to redirect the print job to the "stored" printer (even though it did not exist).
The target printer is a "local" printer (USB connected). The apparent "Stored" printer is a network printer. So, I deleted the PC which has the "Stored" printer from the network (actually not only deleted it from the devices on my PC but literally shut the PC down and disconnected it from the network (two different test)) to no avail (still got the test results in #5).
Yes, I have attempted to print from the Editor (my normal mode) and from Organizer.
I have copied, open a new file and, then, pasted the image I wanted to print to no avail.
Is the a "stored" printer associated with the file or with Elements? If so, how to I modify (or dis-associate)?
Again, thank you. -
Big problem with a select using remote database
Hi Guy.
I have a big problem with a simple query, but this is a scenario.
Actuallly I'm in Alexandria - Egypt with a server with Oracle 10.2.0.4 database 32 bit on linux Red Hat as 4.8. the server can connect to another database oracle but 9.2.0.6 installed on Red Hat As 4.5 placed in Milano Italy . Ttwo networks are connected via two adsl cisco router with firewall and Vpn functions. In Egypt there isn't a very good adsl.
In Alexandria, I'm trying to connect to database in Italy with sqlplus. The sqlplus connected I write.. select * from addetti and all work fine.
My problem is that when I try to make the same select on a table with many columns oracle database kill me a session.
My table (ic_lav) is long 174 colums 1924 byte for row. Well when I write a query with select * from ic_lav all oracle close my session.
So I began to change my query I start to
select field1 from ic_lav... and work
select field1,field2,field3,..........field50 from ic_lav and work
select field1,field2,field3,..........field70 from ic_lav and doesn't work
the select work with 68 columns
problem: the query with more then 1064 byte for row doesn't work.
I've tryed with anoter big table with the same problem, but the select fwork with 65 columns...
Iit is obvious that there is any problem with the limit of the query.
The same query (select * from ic_lav) in localMilano)l work fine.
The same query (select * from ic_lav) in vpn with a better adsl line and openvpn software (NO CISCO firewall) WORK FINE.
The same query connectetd in Milano with a vpn make with analogic modem and remote access by windows work fine.
the query (make on my laptop connectet with vpn by cisco doesn't work.
In cisco firewall we haven't any error (cisco man tell me so)
on database 9 I found :
*** 2009-06-12 09:49:45.509
*** SESSION ID:(66.44406) 2009-06-12 09:49:45.497
FATAL ERROR IN TWO-TASK SERVER: error = 12152
*** 2009-06-12 09:49:45.509
ksedmp: internal or fatal error
Current SQL statement for this session:
select * from ic_lis where ditta
----- Call Stack Trace -----
but I don't understand why the lost connection problem (bug 3816595 A processstate dump is produced for a lost connection (12152) ) is caused by len of row
Anybody have some idea ?
Thank youMy table (ic_lav) is long 174 colums 1924 byte for row. Well when I write a query with select * from ic_lav all oracle close my session.Do you get any error?
If the query length is a problem, you could create a view and query the view instead to see if this problem is resolved. -
Measurement data and problem with path selection
Hello,
I have a problem with the measurement data function; My instrument is the "Hyoki 3532-50 LCR meter".
I´m tring to save the data in a text file using the "write to measurement file VI" . From the instrument i receive an array containing the data of the measure and then i use a for loop to obtain the single data obtainig the dynamic data necessary like input in the VI function.
The problem is that i receive ( for example) the Rp data and the Cp data in two separate moment and the result using the VI is something like
1 56
2 68
3 95
1 0,12
2 0,30
3 0,56
(this is a stupid example to explain my situation)
What i would like to obtain is
1 56 0,12
2 68 0,30
3 95 0,56
The fact that i can+t receive all the three dynamic data in the same moment present also the problem that i don´t have the possibility to save in a different file every time i start the measure but to do it i have to reset the labview program ( this is due to the fact that in the property i select "ask only once" because otherwise if i select " ask at each iteration" the second data flow overwrite the file) .
If you need some image from code i can provide themYou really need to attach some code. We are graphical programmers and don't undestand longwinded text explanation
Also the code images you attached earlier are useless. The abundance of local variables, stacked sequences, express VIs, and dead code make them impossible to debug by looking at a picture.
LabVIEW Champion . Do more with less code and in less time . -
Flex 3.0 beta TileList problem with effects
I have a problem with deleting item from a Flex 3.0 beta
TileList component. While a delete item effect is playing and I
delete another item (while the first effect is still playing) , I
get an ‘RangeError: Index ‘8′ specified is out of
bounds.’ error. How do you delay processing until the effects
are done? or is there another solution? do I use a callLater()? or
remove the eventListener and wait until the effect finishes?
To see the problem, hit the down error twice quickly.
To see the application ->
http://designwithflex.com/pics/fasterror.swf
Here is Thumbnail.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="
http://www.adobe.com/2006/mxml"
width="100" height="100">
<mx:Label text="{data.name}" />
<mx:Label text="{data.age}" />
</mx:VBox>
and here is main.mxml:luvgelato,
Can you please file a bug at
http://bugs.adobe.com/flex/
and attach all your MXML code.
Thanks,
Peter -
Problem with bitmap partitioned index
My order table (3.6 M rows) has got 4 partitions (one per year). I've defined 24 LOCAL BITMAP INDEXES on the data (DSS environment); every index is built on one column.
The cardinality of these columns is quite various (from 10% to 80%) - I know in some case the use of bitmap index is not OK -.
The table is manipulated in this way:
- Nightly it has about 5K new rows inserted.
- All of this rows have update after insertion (only some of this update are referred to indexed column).
- Early in the morning the partition table referred to actual data, is analyzed with COMPUTE STATISTICS option.
- During the day the data are queried thousand times.
The problem is:
1. Before table/index partitioning all the indexes of the table were BITMAP too, and their size were acceptable; these size did not grow up to much during the time. We use to rebuild index once at 2-3 months.
2. After table/index partitioning some of the bitmap indexes related to the partition that contain actual data, get poor in few days. Their size grow up very quickly (about 16mb at day) and they can allocate 100 times more space than before partitioning. So, I must rebuild these indexes / partitions once at 2-3 days. I have checked the distinct values of poor indexes column, and there is not correlation between cardinality and growth (I mean, this problem happens on index with low cardinality as well as high cardinality).
3. I have the same order table in another schema with the same indexes and similar number of rows (1.7 M). Any of these indexes have strange growth. (I.E.: size of index on AGENT column is normally 2Mb; the poor index is about 200Mb after 4 work days).
We work with 8.1.7.2 on Windows 2000.
Does anyone have any idea about my problem?
Thanks in advance L.Nirpol wrote:
I create 2 different bitmap join index:
CREATE BITMAP INDEX lsa.AAB_V_ARTICOLO_MARCA_IDX ON LSA.AAB_VENDUTO(MARCA)
FROM LSA.AAB_VENDUTO vv, LSA.AAB_ARTICOLO aa WHERE vv.articolo_id=aa.articolo_id;
CREATE BITMAP INDEX lsa.AAB_V_CLIENTE_TIT_STUDIO_IDX ON LSA.AAB_VENDUTO(TITOLO_STUDIO)
FROM LSA.AAB_VENDUTO vv, LSA.AAB_CLIENTE cc WHERE vv.cliente_id=cc.cliente_id;
What happens if you just create two plain bitmap indexes without the join?
CREATE BITMAP INDEX lsa.AAB_V_ARTICOLO_MARCA_IDX ON LSA.AAB_VENDUTO(MARCA);
CREATE BITMAP INDEX lsa.AAB_V_CLIENTE_TIT_STUDIO_IDX ON LSA.AAB_VENDUTO(TITOLO_STUDIO) ;You can also go with normal indexes on the FK rows (cliente_id) and the optimizer can do a bitmap conversion from normal index to bitmap index if needed. Are the column values evenly distributed? If not you might need to go for some column histogram. but I don't have the impression that this is really useful in your case. -
How can i use index in select query.. facing problem with the select query.
Hi Friends,
I am facing a serious problem in one of the select query. It is taking a lot of time to fetch data in Production Scenario.
Here is the query:
SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
FROM ztftelat LEFT JOIN ztfzberep
ON ztfzberep~gjahr = st_input-gjahr
AND ztfzberep~poper = st_input-poper
AND ztfzberepcntr = ztftelatrprctr
WHERE rldnr = c_telstra_accounting
AND rrcty = c_actual
AND rvers = c_ver_001
AND rbukrs = st_input-bukrs
AND racct = st_input-saknr
AND ryear = st_input-gjahr
And rzzlstar in r_lstar
AND rpmax = c_max_period.
There are 5 indices present for Table ZTFTELAT.
Indices of ZTFTELAT:
Name Description
0 Primary key( RCLNT,RLDNR,RRCTY,RVERS,RYEAR,ROBJNR,SOBJNR,RTCUR,RUNIT,DRCRK,RPMAX)
005 Profit (RCLNT,RPRCTR)
1 Ledger, company code, account (RLDNR,RBUKRS, RACCT)
2 Ledger, company code, cost center (RLDNR, RBUKRS,RCNTR)
3 Account, cost center (RACCT,RCNTR)
4 RCLNT/RLDNR/RRCTY/RVERS/RYEAR/RZZAUFNR
Z01 Activity Type, Account (RZZLSTAR,RACCT)
Z02 RYEAR-RBUKRS- RZZZBER-RLDNR
Can anyone help me out why it is taking so much time and how we can reduce it ? and also tell me if I want to use index number 1 then how can I use?
Thanks in advance.Hi Shiva,
I am using two more select queries with the same manner ....
here are the other two select query :
***************1************************
SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
FROM ztftelpt LEFT JOIN ztfzberep
ON ztfzberep~gjahr = st_input-gjahr
AND ztfzberep~poper = st_input-poper
AND ztfzberepcntr = ztftelptrprctr
WHERE rldnr = c_telstra_projects
AND rrcty = c_actual
AND rvers = c_ver_001
AND rbukrs = st_input-bukrs
AND racct = st_input-saknr
AND ryear = st_input-gjahr
and rzzlstar in r_lstar
AND rpmax = c_max_period.
and the second one is
*************************2************************
SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
FROM ztftelnt LEFT JOIN ztfzberep
ON ztfzberep~gjahr = st_input-gjahr
AND ztfzberep~poper = st_input-poper
AND ztfzberepcntr = ztftelntrprctr
WHERE rldnr = c_telstra_networks
AND rrcty = c_actual
AND rvers = c_ver_001
AND rbukrs = st_input-bukrs
AND racct = st_input-saknr
AND ryear = st_input-gjahr
and rzzlstar in r_lstar
AND rpmax = c_max_period.
for both the above table program is taking very less time .... although both the table used in above queries have similar amount of data. And i can not remove the APPENDING CORRESPONDING. because i have to append the data after fetching from the tables. if i will not use it will delete all the data fetched earlier.
Thanks on advanced......
Sourabh
Maybe you are looking for
-
hi every body can anybody help me? from which table i can get opening stock/qty, JW Cons. Qty, JW Waste. Qty, IH Waste. Qty, Receipt Qty, Issue Qty, Mat. Trans Qty, Mat. Cons Qty, Jobwork Qty, Others Qty, Closing Stock Qty, Net_Wt , Wunit , P
-
My file is just text, and it looks beautiful when I print directly from InDesign. However, when I export to PDF, the text has noticeably jagged edges. I've tried all the included export settings. I've tried printing to a PDF directly. These all look
-
Unknown Album appearing in Album view
Hi, Minor frustration - in the 'Albums' view on my iPhone, a couple of 'Unknown Albums' appear - these are songs that have been stripped of their Album and Sort Album information, but which are still showing up under 'Albums'. They were purchased fro
-
I can't find channels 3-6 on garageband
Hey everyone, I am new to recording but I know kind of the basics of recording. I recently purchased a yamaha audio gram6. I started using it on garageband and I found out that the 1st 2 channels show up on the list in the drop down menu of input so
-
NumChildren doesn't show all children in the movieclip
Hi, I have 2 movie clips inside another movieclip, when I trace numChildren on the parent movieclip it only shows 1. Anyone know why?