[REPORT/HELP] ideapad K1 build K1_A301_02_02_110822_SG a lot problem...
Hi, last two weeks ago I was brought a K1 from Singapore IT Fair @ Suntec City. It come with original firmware build 725 SG version and it generate a lot of problem to me.
1. Random reboot very unstable 4 ~ 5 times per day!
2. Can't wake up from sleep mode, it show black screen at all and the Home button two LED light up.
3. The LED Screen will bright up from sleep after a moment and it will never turn off the screen again unleast you touch the power button...
4. Use a lot of battery power even in sleep mode... I was managed to turn off wifi and left it in sleep mode overnight, the next day the pad totally left 3% battery power and unable to boot up...
After one week, I was received the firmware update notification, it push the firmware to K1_A301_02_02_110822_SG version. I was think about Lenovo Software Development team have release a bug free firmware to resolve this kind of problem... but after upgraded the latest firmware, it was generated more problem to me.
The new problem was found here...
1. Random system reboot... (Still got this problem but least happen {1 time reboot per day} after firmware updated to build 110822_SG, I was confirmed it's not apps compatibility problem, even use the Youtube to play online stream video, the system screen also black up and reboot...)
2. Can't wake up from sleep mode! OMG, still got this problem... I was tried to change to AWD Launcher EX to reduce this case happen, and the pad running more smooth than stock launcher.
3. After upgrade firmware, It prompt up a lot of apps error! I was do factory reset, and all back to normal. But it also prompt up error message at home screen. I was suspect internal service error because after firmware upgrading, I can't sync my browser bookmark with Google Chrome account... And the google calander sync also not working anymore... (Bookmark and Calander won't sync!)
4. Battery power fast finish and the pad will generate heat even sleep mode! (Suspect wifi problem, even at sleep never automatic turn off)
5. The LED Screen will bright up from sleep after a moment and it will never turn off the screen again unleast you touch the power button... (Problem with stock launcher, replace with AWD launcher EX resloved)
6. After firmware upgrade, Wifi signal become weak... (Suspect driver problem, and I hear that got a lot of bug at wifi driver!)
OMG... What a buggy tablet pad??? I brought it bring to work, now nothing can do... Just leave it at home... everyday I have check with system update, and I never receive new system firmware since last week build K1_A301_02_02_110822_SG. I was disappointed about Lenovo Software Development team can't resolve the problem in short time when problem found... Most the bad thing is consumer can't get the good after-sell product support... Hopefully Lenovo Software Development team able to release the new firmware and resolve the problem. Thank...
hey all,
thank you for the information.
i have passed this to the engineers for them to check.
WW Social Media
Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
Follow @LenovoForums on Twitter!
Have you checked out the Community Knowledgebase yet?!
How to send a private message? --> Check out this article.
Similar Messages
-
Need help with new build. Possible gpu problem?
MSI 970a-g45 board. This is my second build with the same board, but i am using a different GPU this time and i am unable to get the signal to the monitor. my psu is an OCZ ModXStream Pro Power Supply - 500-Watt and the specs are as follows. Wattage 500W
SLI/Crossfire SLI Ready
Energy Efficiency 80 PLUS
Fan 140 mm
+3.3V 25 A
+5V 25 A
+12V 1 18 A
+12V 2 18 A
-12V 0.3 A
+5VSB 2.5 A
my gpu is an MSI N440GT-MD1GD3/LP
RAM corsair Vengeance 1600mhz 8 gigs
cpu AMD fx 4100 3.6 ghz, quad core
the only difference in this build from my last is the gpu. so its making me think something wrong with it..
Any help would be greatly appreciated.do you have access to your 1st PC to swap parts for tests?
-
Pls Help: View Crystal Report Via Oracle Form Builder
Hi!!
I want to know how to view the .rpt report (report made from Crystal Report) via Oracle Form Builder. I've to do it in my project. If you know, please tell me.
Thanks in advance,I don't know how does crystal reports work, and I would guess you should ask the crystal guys to help you with this. find out if they have a command line interface that you can invoke from the host command in forms.
We can help you do it with Oracle Reports though :-)
http://otn.oracle.com/products/reports -
Reports Builder has encountered a problem and needs to close.
Hi All,
The report builder in my system is behaving weirdly. If I open a report, which is having a normal browser output, it allowing me to see the data model, layout model and everything. And if I open a report, which is having a PDF output, it's not allowing me to open the Layout.
Here the output is in context of Oracle Applications front-end. And as I know it shouldn't be a problem with Report Builder.
It errors out with the following message.
Reports Builder has encountered a problem and needs to close. We are sorry for the inconvenience.
And the error report contains the following message.
AppName: rwbld60.exe AppVer: 3.0.0.0 ModName: mmc60.dll
ModVer: 0.0.0.0 Offset: 0000c533
Here is the version information:
Report Builder 6.0.8.11.3
ORACLE Server Release 8.0.6.0.0
Oracle Procedure Builder 6.0.8.11.0
Oracle ORACLE PL/SQL V8.0.6.0.0 - Production
Oracle CORE Version 4.0.6.0.0 - Production
Oracle Tools Integration Services 6.0.8.10.2
Oracle Tools Common Area 6.0.5.32.1
Oracle Toolkit 2 for Windows 32-bit platforms 6.0.5.35.0
Resource Object Store 6.0.5.0.1
Oracle Help 6.0.5.35.0
Oracle Sqlmgr 6.0.8.11.3
Oracle Query Builder 6.0.7.0.0 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle ZRC 6.0.8.11.3
Oracle Express 6.0.8.3.5
Oracle XML Parser 1.0.2.1.0 Production
Oracle Virtual Graphics System 6.0.5.35.0
Oracle Image 6.0.5.34.0
Oracle Multimedia Widget 6.0.5.34.0
Oracle Tools GUI Utilities 6.0.5.35.0
I have tried reinstalling the software a minimum of 10 times, but no luck. At last I got my system formatted and tried. For the first time it worked for me, then I installed Forms Builder... then again I am getting the same problem even though I have different homes for Reports and Forms.
Is it problem with my system or the Operating System or the version of the Oracle Developer?
Can anyone please help me out?
Thanks in advance,
Lakshman.I have been having a similar problem and do not know if this will apply to your situation but I found the following on Metalink.
Subject: Reports Builder Crashes Opening the Paper Layout on Large Reports on XP/2003
Doc ID:
Note:566304.1 Type: PROBLEM
Last Revision Date: 18-AUG-2008 Status: PUBLISHED
In this Document
Symptoms
Changes
Cause
Solution
References
Applies to:
Oracle Reports Developer - Version: 10.1.2.0.2 to 10.1.2.3
Microsoft Windows XP
Microsoft Windows Server 2003
Symptoms
Oracle Reports Builder crashes opening the Paper Layout on some large reports but ONLY on the following platforms:
Microsoft Windows XP Professional
Microsoft Windows Server 2003
Reports Builder displays the below message and then crashes:
Reports Builder
Reports Builder has encountered a problem and needs to close. We are sorry for the inconvenience.
If you were in the middle of something, the information you were working on might be lost.
Please tell Microsoft about this problem.
We have created an error report that you can send to us. We will treat this report as confidential and anonymous.
To see what data this error report contains, click here.
[Send Error Report] [Don't Send]
--> click on [Don't Send] button and Report Builder disappears.
-and/or-
access violation in oranls10.dll
This problem does not reproduce on:
Microsoft Windows 2000
The solutions in the below note do not work on v. 10.1.2.2.0 and 10.1.2.3.0:
Note 361206.1 Title: Reports Builder Crashes Opening a Paper Layout on Windows XP Only
Changes
Upgraded to Oracle Report Builder v. 10.1.2.x.x from a previous release.
Cause
Bug 7014048 is fixed in one-off Patch 5335195 (Base Bug) but missed inclusion (ie. was not ported to) in latest Developer patchset v. 10.1.2.3.0
See also:
Bug 7014048 Abstract: REPORTS BUILDER CRASHES OPENING A PAPER LAYOUT.
Bug 5029530 Abstract: REPORTS BUILDER CRASHES OPENING PAPER LAYOUT MODEL ONLY ON XP BOX
Solution
To implement the solution, please execute the following steps:
1. Download one-off Patch 5335195 for v. 10.1.2.0.2 to the XP/2003 box.
2. Back up existing uiw.dll for 10.1.2.3 880KB 10/10/2006 7:23PM --> uiw_orig_10.1.2.3.zip
3. In the %ORACLE_HOME%\bin directory, replace uiw.dll (880KB) with the uiw.dll (1,316KB) from
Patch 5335195 --> 1,316KB 7/24/06 11:12PM
4. Re-launch Report Builder 10.1.2.3.0 on XP/2003.
5. Open the <large report>.rdf.
6. Double-click on the Paper Layout icon.
7. The result should be: Successfully open the Paper Layout for <large report>.rdf.
References
Bug 5029530 - REPORTS BUILDER CRASHES OPENING PAPER LAYOUT MODEL ONLY ON XP BOX
Bug 7014048 - REPORTS BUILDER CRASHES OPENING A PAPER LAYOUT.
Note 361206.1 - Reports Builder Crashes Opening a Paper Layout on Windows XP Only
Patch 5335195 - REPORTS BUILDER CRASHES OPENING PAPER LAYOUT MODEL DUE TO ACCESS -
Error message in trying to use local content in Adobe Community Help of Flash Builder
Hi,
I have set my Adobe Community Help application preferences of Flash Builder to 'Display local content only'.to Yes.
I also disabled my internet connection to use local help content only.
I get the following error message when trying to access any of the links from Help home page.
To view the requested page, connect to the Internet or deselect "Display Local Help content only" in Preferences.
I understand this is due to all the links point online HTTP urls.
But why cannot the local help content be accessed when it is already downloaded to local and the 'Display local content only' option is set to Yes?
This saves me a lot ot time otherwise using Adobe Community Help is painful even for a short period of time.
Thanks,
Ram Manoj Kongara.Hi, Ram -
To help troubleshoot your problem, can you please do the following:
In the Adobe Community Help application, go to Edit > Preferences.
Select Local Content.
The list of Help packages downloaded locally appear. Make sure that the status of every Help packages reads “Current”. If the status of a Help package reads "Out-of-Date”, select that Help package, and click Update to download the latest Help package. Note that to do this, you have to be connected to the Internet. Once you fully download the Help packages to your desktop, you can access Help offline.
One other thing that I would want you to check is the Adobe Community Help Client version that you are using. To check that, in the Adobe Community Help application, go to File > About Adobe Help. The build version should be 3.2.0.610.
Let me know if this helps. If the issue still persists, we can investigate further.
Thanks,
Mallika Yelandur
Technical writer, Adobe Flash Builder -
I need a place where I can get some help about templae builder. Specially a parent child report printing.
Hi Syed,
The easiest way is to look at an existing template and start playing with it...
(if you create a master detail you'll see which template he uses)
Do you know HTML and CSS?
Thanks,
Dimitri -
Can anybody help me to build an interface that can work with this code
please help me to build an interface that can work with this code
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.FileReader;
public class Translate
public static void main(String [] args) throws IOException
if (args.length != 2)
System.err.println("usage: Translate wordmapfile textfile");
System.exit(1);
try
HashMap words = ReadHashMapFromFile(args[0]);
System.out.println(ProcessFile(words, args[1]));
catch (Exception e)
e.printStackTrace();
// static helper methods
* Reads a file into a HashMap. The file should contain lines of the format
* "key\tvalue\n"
* @returns a hashmap of the given file
@SuppressWarnings("unchecked")
private static HashMap ReadHashMapFromFile(String filename) throws FileNotFoundException, IOException
BufferedReader in = null;
HashMap map = null;
try
in = new BufferedReader(new FileReader(filename));
String line;
map = new HashMap();
while ((line = in.readLine()) != null)
String[] fields = line.split("
t", 2);
if (fields.length != 2) continue; //just ignore "invalid" lines
map.put(fields[0], fields[1]);
finally
if(in!=null) in.close(); //may throw IOException
return(map); //returning a reference to local variable is safe in java (unlike C/C++)
* Process the given file
* @returns String contains the whole file.
private static String ProcessFile(Map words, String filename) throws FileNotFoundException, IOException
BufferedReader in = null;
StringBuffer out = null;
try
in = new BufferedReader(new FileReader(filename));
out = new StringBuffer();
String line = null;
while( (line=in.readLine()) != null )
out.append(SearchAndReplaceWordsInText(words, line)+"\n");
finally
if(in!=null) in.close(); //may throw IOException
return out.toString();
* Replaces all occurrences in text of each key in words with it's value.
* @returns String
private static String SearchAndReplaceWordsInText(Map words, String text)
Iterator it = words.keySet().iterator();
while( it.hasNext() )
String key = (String)it.next();
text = text.replaceAll("\\b"key"
b", (String)words.get(key));
return text;
* @returns: s with the first letter capitalized
String capitalize(String s)
return s.substring(0,0).toUpperCase() + s.substring(1);
}... here's the head of my pirate_words_map.txt
hello ahoy
hi yo-ho-ho
pardon me avast
excuse me arrr
yes aye
my me
friend me bucko
sir matey
madam proud beauty
miss comely wench
where whar
is be
are be
am be
the th'
you ye
your yer
tell be tellin'please help me i don t know how to go about this.my teacher ask me to build an interface that work with the code .
Here is the interface i just build
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.FileReader;
import java.awt.*;
import javax.swing.*;
public class boy extends JFrame
JTextArea englishtxt;
JLabel head,privatetxtwords;
JButton translateengtoprivatewords;
Container c1;
public boy()
super("HAKIMADE");
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setBackground(Color.white);
setLocationRelativeTo(null);
c1 = getContentPane();
head = new JLabel(" English to private talk Translator");
englishtxt = new JTextArea("Type your text here", 10,50);
translateengtoprivatewords = new JButton("Translate");
privatetxtwords = new JLabel();
JPanel headlabel = new JPanel();
headlabel.setLayout(new FlowLayout(FlowLayout.CENTER));
headlabel.add(head);
JPanel englishtxtpanel = new JPanel();
englishtxtpanel.setLayout(new FlowLayout(FlowLayout.CENTER,10,40));
englishtxtpanel.add(englishtxt);
JPanel panel1 = new JPanel();
panel1.setLayout(new BorderLayout());
panel1.add(headlabel,BorderLayout.NORTH);
panel1.add(englishtxtpanel,BorderLayout.CENTER);
JPanel translateengtoprivatewordspanel = new JPanel();
translateengtoprivatewordspanel.setLayout(new FlowLayout(FlowLayout.CENTER,10,40));
translateengtoprivatewordspanel.add(translateengtoprivatewords);
JPanel panel2 = new JPanel();
panel2.setLayout(new BorderLayout());
panel2.add(translateengtoprivatewordspanel,BorderLayout.NORTH);
panel2.add(privatetxtwords,BorderLayout.CENTER);
JPanel mainpanel = new JPanel();
mainpanel.setLayout(new BorderLayout());
mainpanel.add(panel1,BorderLayout.NORTH);
mainpanel.add(panel2,BorderLayout.CENTER);
c1.add(panel1, BorderLayout.NORTH);
c1.add(panel2);
public static void main(final String args[])
boy mp = new boy();
mp.setVisible(true);
}..............here is the code,please make this interface work with the code
public class Translate
public static void main(String [] args) throws IOException
if (args.length != 2)
System.err.println("usage: Translate wordmapfile textfile");
System.exit(1);
try
HashMap words = ReadHashMapFromFile(args[0]);
System.out.println(ProcessFile(words, args[1]));
catch (Exception e)
e.printStackTrace();
// static helper methods
* Reads a file into a HashMap. The file should contain lines of the format
* "key\tvalue\n"
* @returns a hashmap of the given file
@SuppressWarnings("unchecked")
private static HashMap ReadHashMapFromFile(String filename) throws FileNotFoundException, IOException
BufferedReader in = null;
HashMap map = null;
try
in = new BufferedReader(new FileReader(filename));
String line;
map = new HashMap();
while ((line = in.readLine()) != null)
String[] fields = line.split("
t", 2);
if (fields.length != 2) continue; //just ignore "invalid" lines
map.put(fields[0], fields[1]);
finally
if(in!=null) in.close(); //may throw IOException
return(map); //returning a reference to local variable is safe in java (unlike C/C++)
* Process the given file
* @returns String contains the whole file.
private static String ProcessFile(Map words, String filename) throws FileNotFoundException, IOException
BufferedReader in = null;
StringBuffer out = null;
try
in = new BufferedReader(new FileReader(filename));
out = new StringBuffer();
String line = null;
while( (line=in.readLine()) != null )
out.append(SearchAndReplaceWordsInText(words, line)+"\n");
finally
if(in!=null) in.close(); //may throw IOException
return out.toString();
* Replaces all occurrences in text of each key in words with it's value.
* @returns String
private static String SearchAndReplaceWordsInText(Map words, String text)
Iterator it = words.keySet().iterator();
while( it.hasNext() )
String key = (String)it.next();
text = text.replaceAll("\\b"key"
b", (String)words.get(key));
return text;
* @returns: s with the first letter capitalized
String capitalize(String s)
return s.substring(0,0).toUpperCase() + s.substring(1);
}... here's the head of my pirate_words_map.txt
hello ahoy
hi yo-ho-ho
pardon me avast
excuse me arrr
yes aye
my me
friend me bucko
sir matey
madam proud beauty
miss comely wench
where whar
is be
are be
am be
the th'
you ye
your yer
tell be tellin' -
Hello can anybody help me to build an interface
hello can you help me to build an interface that can work with this english to private talk converter code
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.FileReader;
public class Translate
public static void main(String [] args) throws IOException
if (args.length != 2)
System.err.println("usage: Translate wordmapfile textfile");
System.exit(1);
try
HashMap words = ReadHashMapFromFile(args[0]);
System.out.println(ProcessFile(words, args[1]));
catch (Exception e)
e.printStackTrace();
// static helper methods
* Reads a file into a HashMap. The file should contain lines of the format
* "key\tvalue\n"
* @returns a hashmap of the given file
@SuppressWarnings("unchecked")
private static HashMap ReadHashMapFromFile(String filename) throws FileNotFoundException, IOException
BufferedReader in = null;
HashMap map = null;
try
in = new BufferedReader(new FileReader(filename));
String line;
map = new HashMap();
while ((line = in.readLine()) != null)
String[] fields = line.split("\\t", 2);
if (fields.length != 2) continue; //just ignore "invalid" lines
map.put(fields[0], fields[1]);
finally
if(in!=null) in.close(); //may throw IOException
return(map); //returning a reference to local variable is safe in java (unlike C/C++)
* Process the given file
* @returns String contains the whole file.
private static String ProcessFile(Map words, String filename) throws FileNotFoundException, IOException
BufferedReader in = null;
StringBuffer out = null;
try
in = new BufferedReader(new FileReader(filename));
out = new StringBuffer();
String line = null;
while( (line=in.readLine()) != null )
out.append(SearchAndReplaceWordsInText(words, line)+"\n");
finally
if(in!=null) in.close(); //may throw IOException
return out.toString();
* Replaces all occurrences in text of each key in words with it's value.
* @returns String
private static String SearchAndReplaceWordsInText(Map words, String text)
Iterator it = words.keySet().iterator();
while( it.hasNext() )
String key = (String)it.next();
text = text.replaceAll("\\b"+key+"\\b", (String)words.get(key));
return text;
* @returns: s with the first letter capitalized
String capitalize(String s)
return s.substring(0,0).toUpperCase() + s.substring(1);
... here's the head of my pirate_words_map.txt
hello ahoy
hi yo-ho-ho
pardon me avast
excuse me arrr
yes aye
my me
friend me bucko
sir matey
madam proud beauty
miss comely wench
stranger scurvy dog
officer foul blaggart
where whar
is be
are be
am be
the th'
you ye
your yer
tell be tellin'hakimade wrote:
hello can you help me to build an interface that can work with this english to private talk converter codeYou might want to re-ask this question in such a way that it can be answered.
Also, when posting your code, please use code tags so that your code will retain its formatting and be readable. To do this, either use the "code" button at the top of the forum Message editor or place the tag [code] at the top of your block of code and the tag [/code] at the bottom, like so:
[code]
// your code block goes here.
// note the differences between the tag at the top vs the bottom.
[/code]or
{code}
// your code block goes here.
// note here that the tags are the same.
{code}Good luck. -
Although my summary report indicates the total responses received for comments, it does not show the actual comments. I used a forms central template, perfect for what I need, however I really need the comments to be visable in the report. help please.
Can you please send me screenshot with the problem ([email protected]) so i can understand the problem better.
Currently the Summary Report tab only show fields added in the Design tab, so if you've added comments field directly in the Response tab you would not be able to display in the Report tab.
But you should be to see all comments in the View Response tab.
Thanks
Roman -
i need help for flash builder 4 and papervison 3d. I need to create a slider with it ranges of value from 10 to 50 to adjust the camera values for the camera.fov and also need to create it for the yaw of the object from 0 to 360. I try to look for any slider event and classes in this program but cant find any, btw, i need to use the AS only project file.
here is my codes:
can you please tell me how i should modify the codes?
package
import flash.display.BitmapData;
import flash.display.Sprite;
import flash.events.Event;
import org.papervision3d.materials.BitmapFileMaterial;
import org.papervision3d.materials.BitmapMaterial;
import org.papervision3d.objects.primitives.Sphere;
import org.papervision3d.view.BasicView;
[SWF (width="800", height="600", backgroundColor="0x000000",frameRate="30")]
public class EarthBitmap extends BasicView
private var sphere:Sphere;
public function EarthBitmap()
super(800 , 600);
var earthmaterial:BitmapFileMaterial = new BitmapFileMaterial("../assets/Earth.jpg");
sphere = new Sphere(earthmaterial,100,20,18);
camera.fov = 25;
scene.addChild(sphere);
addEventListener(Event.ENTER_FRAME,rotateSphere);
public function rotateSphere(evt:Event):void
sphere.yaw(0.2);
singleRender();Turn the click handler into a full on separate function. Then store all the views in an array and use Math.rand() to randomly choose one.
Something like this:
<fx:Script>
<![CDATA[
var questionsArray:Array = {question2,question3,question5,questionRed,questionGeography};
function buttonClickHandler(event:MouseEvent){
var randomProblem:int = Math.floor(Math.random()*(questionsArray.length)); //generates a random integer between 0 and the total number of questions in the array (arrays are 0-based)
navigator.pushView(questionsArray[randomProblem]);
]]>
</fx:Script>
<s:Button id="randomProblemButton" label="Next Problem" click="buttonClickHandler(event)" />
Haven't tested that, but something along that line should work -
every time i sync in my music in my iphone 5 it would have to back up my iphone and every time i back up the loading bar would freeze then my itunes with crash pls help my iphone 5 cost a lot from my savings
Syncing requires a backup as part of the sync process.
Delete any existing backups in iTunes under Edit > Preferences > Devices (or simply move them to a different folder on the computer) then try a backup or sync. -
Hello,
I am new to Oracle and sql. I am working on the Oracle
Reports. Can anyone suggest me where will be the best place to
get help on this. Any suggestions will be appriciated.
Thanks
SamHi Sam..
I'm also quite new in field of Oracle Reports, I have already
had experience in Oracle Database Server. I think you may refer
to the Oracle Reports help coming with your s/w, that's good for
first understanding. Then.. I just find out that this forum is
also helpful with many nice and "willing to help" people.
Well... wish you all the best and go ahead with your new job!!
kr,
daniel -
Please can someone help me to build a query
Please can someone help me to build a query for getting the following results. I work with Oracle 9.
My data is about this:
Projectid / Activitycode / Act.DS / Earlystart / ActualStart
{color:#ff0000}P001 / 110M / blabla / 1-1-08 / 1-1-08{color}
{color:#3366ff}P001 / 230M / fdsfds / 31-1-09 / null{color}
P001 / 450M / fsfsd / 1-4-09 / null
P002 / null / null / 1-12-08 / 1-12-08
{color:#3366ff}P002 / 110M / nhggh / 5-2-09 / null{color}
P002 / 750M / wdwdwd / 5-2-09 / null
P002 / 210M / plplplp / 31-12-08 / 31-12-08
{color:#ff0000}P002 / 550M / ewdwd / 5-1-09 / null{color}
I'd like to get one row for each Projectid with the {color:#3366ff}first next Early- or Actualstart{color} {color:#3366ff}after today{color} and one row with the {color:#ff0000}latest early-/actualstart before today{color}. When there are two or more rows with the same date then I want the first (minimum) Activitycode. This last condition makes it insoluble for me!
I've tryed SQL with nested Select-statements in the Where-clause. But I've got still 2 rows per projectid because I select the min(nvl(Earlystart ,ActualStart ) I've tryed SQL with an Select in the FROM-claus with Partion BY, but I can't get it work right.
Can someone show me the right way to solve my problem?How's this?
with my_tab as (select 'P001' projectid,
'110M' activitycode,
'blabla' act_ds,
to_date('01/01/2008', 'dd/mm/yyyy') earlystart,
to_date('01/01/2008', 'dd/mm/yyyy') actualstart
from dual
union all
select 'P001' projectid,
'230M' activitycode,
'fdsfds' act_ds,
to_date('31/01/2009', 'dd/mm/yyyy') earlystart,
null actualstart
from dual
union all
select 'P001' projectid,
'450M' activitycode,
'fsfsd' act_ds,
to_date('01/04/2009', 'dd/mm/yyyy') earlystart,
null actualstart
from dual
union all
select 'P002' projectid,
null activitycode,
null act_ds,
to_date('01/12/2008', 'dd/mm/yyyy') earlystart,
to_date('01/12/2008', 'dd/mm/yyyy') actualstart
from dual
union all
select 'P002' projectid,
'110M' activitycode,
'nhggh' act_ds,
to_date('05/02/2009', 'dd/mm/yyyy') earlystart,
null actualstart
from dual
union all
select 'P002' projectid,
'750M' activitycode,
'wdwdwd' act_ds,
to_date('05/02/2009', 'dd/mm/yyyy') earlystart,
null actualstart
from dual
union all
select 'P002' projectid,
'210M' activitycode,
'plplplp' act_ds,
to_date('31/12/2008', 'dd/mm/yyyy') earlystart,
to_date('31/12/2008', 'dd/mm/yyyy') actualstart
from dual
union all
select 'P002' projectid,
'550M' activitycode,
'ewdwd' act_ds,
to_date('05/01/2009', 'dd/mm/yyyy') earlystart,
null actualstart
from dual)
-- above mimics your table; main query is below:
select mt2.projectid,
mt2.activitycode,
mt2.act_ds,
mt2.earlystart,
mt2.actualstart
from (select mt.projectid,
mt.activitycode,
mt.act_ds,
mt.earlystart,
mt.actualstart,
mt.date_col,
mt.before_after_today,
row_number() over (partition by mt.projectid, mt.before_after_today
order by mt.date_col asc) rn_after,
row_number() over (partition by mt.projectid, mt.before_after_today
order by mt.date_col desc) rn_before
from (select projectid,
activitycode,
act_ds,
earlystart,
actualstart,
coalesce(actualstart, earlystart, to_date('01/01/4000', 'dd/mm/yyyy')) date_col,
case when coalesce(actualstart,
earlystart,
to_date('01/01/4000', 'dd/mm/yyyy')) <= trunc(sysdate) then 1
else 2
end before_after_today
from my_tab) mt) mt2,
(select 1 id, 1 col_id from dual union all
select 1 id, 2 col_id from dual) dummy
where dummy.id = case when mt2.before_after_today = 1 then rn_before
else rn_after
end
and mt2.before_after_today = dummy.col_id
PROJECTID ACTIVITYCODE ACT_DS EARLYSTART ACTUALSTART
P001 110M blabla 01/01/2008 01/01/2008
P001 230M fdsfds 31/01/2009
P002 550M ewdwd 05/01/2009
P002 110M nhggh 05/02/2009 -
We have generated a headstart online helpfile belhelp.htm
All works fine when using online help with forms: the help text uses help context id and bookmarks in het htm file.
Altough help text for all reports is generated in belhelp.htm, following errors and restrictions occur:
1. URL = http:10.1.10.0:7778/hsd65-help//hsd65-help/belhelp.htm is wrong. It should be http:10.1.10.0:7778/hsd65-help/belhelp.htm. How can I resolve this issue?
2. report help does not use bookmarks. Although help context id's are generated in the module defined in design editor, the button 'report help' in the report launch form does not use the bookmark. When I add a bookmark manually it works, eg http:10.1.10.0:7778/hsd65-help/belhelp.htm#BM919000000This is a known bug that was fixed in Headstart patch 6.5.2.1, available through the supplement option. There are also a small number of other bugs related to reports that are fixed in patch 6.5.2.2, also available through the supplement option.
If you do not already have the supplement option, you can purchase it through your Oracle Consulting representative or through the Oracle store.
Regards,
Lauri -
Motion crashing in Mavericks - Is Problem Report Helpful?
Motion is repeatedly crashing today running under Mavericks. Is the Problem Report helpful to users in determining what is causing the problem?
Here is some of the info from the report. Is this interpritable by humans (or animators)?
At the top it mentions that Thread 5 crashed:
Crashed Thread: 5
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
Then at the Thread 5 section it says:
Thread 5 Crashed:
0 libobjc.A.dylib 0x00007fff8574d097 objc_msgSend + 23
1 com.apple.CoreFoundation 0x00007fff914b1f41 CFDictionaryGetValue + 145
2 com.apple.CoreFoundation 0x00007fff91518b93 __CFRunLoopRun + 1763
3 com.apple.CoreFoundation 0x00007fff91518275 CFRunLoopRunSpecific + 309
4 com.apple.AppKit 0x00007fff91f761ce _NSEventThread + 144
5 libsystem_pthread.dylib 0x00007fff91c20899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff91c2072a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff91c24fc9 thread_start + 13
Then a little lower, this is stated.
Thread 5 crashed with X86 Thread State (64-bit):
rax: 0x00007fff7791b3d5 rbx: 0x000060800034b4d0 rcx: 0x000000000000a303 rdx: 0x000000000000a303
rdi: 0x000000000000a103 rsi: 0x00007fff92800d31 rbp: 0x000000011f979f20 rsp: 0x000000011f979ed8
r8: 0x0000000007000006 r9: 0x00000000ffffffff r10: 0x00007fff92800d31 r11: 0x0000000000000000
r12: 0x000000000000a200 r13: 0x000000011f979fb0 r14: 0x000000000000a303 r15: 0x000000000000a103
rip: 0x00007fff8574d097 rfl: 0x0000000000010206 cr2: 0x0000000000000018
Logical CPU: 3
Error Code: 0x00000004
Trap Number: 14It would probably be more useful if you include the following when you post these:
What exactly are you doing when you hit this crash? Giving details always helps, when people post details I usually try the steps if they provided them.
Paste the full thread, including the header. Sometimes someone will catch details like the OS or app version being out of date, or the application has been moved to a location it should not be (burried inside multiple folders).
Make sure you submit the crash to Apple! Any time I hit a crash I always submit a the report with an explanation of what I was doing.
Maybe you are looking for
-
Can I sync 2 iPhones with the same iTune library?
I am currently using an iPhone 3GS and have no problems with it. I also have an iPod Classic synshed to the same iTunes library with no issues. My question is: Can I also synch my old iPhone 3G so that my kids can use it to play some games, videos a
-
Hi, My test drive of of word that came installed on my computer has expired but I am unable to uninstall it. It says "You do not have permission to remove Office" "Log in to the same Mac OS user account that you used to install Office, and then try a
-
I need help getting the components on my gui to go in the right place I want it to look like |-----------------------------------------| timeInLabel timeInField timeOutLabel timeOutField calculateButton dailyAreaLabel dailyArea totalAreaLabel totalAr
-
WLS10gR3 JMX/JConsole BROKEN?
Hey *, in order to expose MBean-Values and operations to my monitoring solution (Nagios) I want to first browse through my OSB/WLS MBeans using JMX tools like JConsole oder MC4j. However, it seems that JMX in 10gR3 does not work correctly due to some
-
Mismatch in the local time when using the RWTime.
Hi All, RWTime is showing +1 Hr excess for the local time. Compared the time with the ouput of unix date command as well. $ cat time.cc #include <iostream> #include <ctime> // Roguewave headers #include <rw/rwtime.h> #include <rw/rwdate.h> #include <