Things to know before (and after) building a Mega 865

As I am seeing a lot of the same questions regarding the Mega 865 I created this document,
29-Oct-2004 Added Northwood benefits
29-Oct-2004 Emphasized NOT to use live update for bios update
Processors in general
Start with the processor, I would say get something around 3 gighz (give or take) which is quite affordeble. If you are going for a prescott, make sure you upgrade your bios to 1.3 (see below).It will run a bit hot (understatement) otherwise.
If going for northwood any version is ok I believe. When I chose mine I let $$$ descide, and the prescott was on sale. (If I would buy a CPU for the Mega again, I would most likely go for a Northwood this time). Before buying your processor make sure your processor is supported, you can find the supported processors here;
http://cweb.msi.com.tw/program/products/slim_pc/slm/pro_slm_cpu_support_detail.php?UID=547&kind=4
Harddisk
As for Harddisk, I would suggest anything goes but take a serial ata since that is becoming the new standard nowadays.
When buying a HD larger than 130 Gig, make sure you install from a Windows XP SP1 CD (or higher) or divide your HD in smaller pieces. Otherwise you will not get a bigger partition than 130 Gigs.
DVD/CDROM
As for DVD/CD player, there is a special thread (see below) where everyone states if their DVD/CD player is working with the mega (there are some issues with some drives in HiFi mode, EVEN if they are MSI)
Mega PC barebones optical drive compatibility list
Memory
As for memory, get at least 512 Mb or 1024 Mb if you want to sit cosy. two sticks of DDR400 (a.k.a 3200) will do. Get a a-brand like Kingston, Samsung or look around on the forums what will work.
Installing Windows XP
Before installing Windows disable your USB devices, if you fail to do this you run the chance of not installing Windows XP on your C: drive (harddisk) and this will cause you trouble later on. After installation is complete you may enable them again.
Prescott processors & full size AGP cards
As for the GPU (Graphics card), this depends on what you are going to do with it. If you wanna try out at showshifting, and viewing get one with integrated TV tuner. Or use the on-board (some people are quite happy with it) and add a separate PCI tv tuner. If you wanna do hefty gaming (Doom3, Far Cry ... etc) you may want to get an better one. I'm quite happy with my Radeon 9800.
Please note; According to MSI, Prescott processors in combination with full-size AGP (add-in) cards are not supported. This is most likely a power issue since the full-size cards use a lot of power to run. Some forum members, stuborn as they are, are running with a full-size card.
Also note that you are installing a full-size card on your own risk in combination with a Prescott processor.
To calculate your estimated power supply take a look here;
http://www.jscustompcs.com/power_supply/
The following graphics cards seem to be working (please add to this thread if you have tested a full-size card with a Prescott processor so I can add it to this document)
Club3D Radeon AIW 9800 PRO
ATI Radeon ALL-IN-WONDER 9600 XT
ATI Radeon 9800 SE
AOPEN Aeolus 5900XT 128 Mb
Wise words from Stu:
If you do not want to take chances, go with a Northwood processor. Apperantly there is little perfomance difference between a Northwood and a Prescott processor, and the Northwood runs slightly cooler too.
Windows XP Service Pack 2 & Bios Update
When installing Windows XP with SP2 make sure you have the latest Bios version loaded (1.3) or install a Microsoft work-around fix. SP2 will not install without it, and you will have a hard time getting your system to work.
The Microsoft work-around fix can be found here;
http://support.microsoft.com/default.aspx?scid=kb;en-us;885626
The latest bios version can be downloaded here;
http://www.msi.com.tw/program/support/bios/bos/spt_bos_detail.php?UID=547&kind=4
To install the latest bios, I would advise against using live-update. Use one of the following options instead;
1) Burn a bootable CD-Rom also containing the bios and flash software, (note some of the original Win98 CD's are bootable to MS-DOS prompt)
2) Create a bootable USB-memory key
--- Download the HP util to create one
--- http://h18007.www1.hp.com/support/files/hpcpqdt/us/download/20306.html
--- Then create a bootable floppy on an other system or download from
--- http://www.allbootdisks.com/
--- (I used the Win98SE No ramdrive )
--- Then use the HP tool (on an system with an floppy drive) and enter a: as the source for booting,
--- and use the above created floppy.
--- Then copy the rest of the files from the a:\ drive (like autoexec.bat, config.sys etc) to the memory key.
--- ... and ... voila one bootable USB
--- make sure in the bios that the boot order of the USB key is before the Harddisk and your set to go.
3) Attach a floppy drive to the Mega 865
Bios update failure
Some people still manage to goof-up their bios, by doing the bios update from windows (winflash, live-update). I think there is only one road to travel when this happens, you have to attach a floppy drive to your mega. Then follow the following instructions (Award bios)
http://www.msi.com.tw/html/support/bios/note/boot.htm
Good luck !
PC-Alert
Do not use the PC-Alert version from the MSI website as this does not work together with your Mega 865, instead only use the one on the CD-Rom that was supplied. In general even the supplied PC-Alert has caused a lot of grief (Taking up resources, reboot problems ... etc). If you choose to install PC-Alert, at least remove it from your start-up folder where it is installed. You can always start it manually from the MSI menu in your Start menu.
A good alternative to Pc-Alert is Speedfan, this program should be able to spot your 2 temeperature sensored CPU fans. You can then connect these fans to the CPU temperature sensor and be able to tweak the RPM's according to your need. Speedfan 4.17 can be found here;
http://www.almico.com/speedfan417.exe
Temperatures
As these tiny PC's have very little space, it is quite normal for them to run a bit hot. Do not be alarmed to see CPU temperatures around 60-65 degrees when running on load (depending on your processor of course).
Wireless Network adapter
As for wireless internet, the mega865 has a built-in mini-pci nic (network card). which supports only the 11 Mbps data rate. I think you have to try it out and see how it goes, you can always upgrade to 54 Mbps. I would suggest to get a 54Mbps access point, so you can always upgrade if needed (54Mbps will also work with 11 Mbps) Some forum members have succesfully replaced their Wireless Network adapters with a 54Mbps one. The following network adapters seem to be working;(please add to this thread if you have tested a wireless 54Mbps network adapter so I will add it to this document)
Intel PRO/Wireless BG Network Adapter
6 Channel sound
I recently bought a 5.1 set from Soundblaster. You can connect the 3 connectors to the back of your Mega, then in the Sound util set it up for 5.1 surround sound and you are ready to go. Definately worth it !
Reboot problems
When you run into problems when the Mega reboots suddenly, watch out for a couple of things.
Always check your event/log viewer. It is in your configuration management, but the easiest way to start it is to enter the following in your Run or Command line entry
eventvwr /s
Check if you see red-dots in your application section or system section. Google the problems before dropping them on the forum ! (As most problems are not Mega related IMHO)
One problem I had was caused by BITS 1.5, I had to upgrade to BITS 2.0. (I think it was recently released by Microsoft-Update but I mention it anyway). Bits 1.5 caused my Mega to reboot.
LCD Display / Sound problems
If you have any problems where your front LCD display is not working or your on-board sound is 'missing' first try unplugging your mega from the power outlet (so completely powering down) for 2 minutes. If you still have problems, drop them on this forum.
LCD API ?
Alas, no external programs are available to 'drive' your LCD display. Nor will MSI release an API/Blue print on how to control it.
If you find anything missing here or have additional tips, please add them to this thread and I will update this document.
Good luck with your Mega !
Raymond

rkoppen i salute you  
a truly glorious summing up of the main points asked about the Mega 865 in particular, although many points will invariably refer also to the other Mega series
if i can add my tuppence worth, anyone considering going for a powerful graphics card can always shy away from the prescott
i was reading an article just when the prescott core cpus came out and the review basically said that there wasn't really much performance wise between the new prescott and the older Northwood cores.
obviously newer prescotts have higher clock speeds now (3.2? 3.4??), but surely a 2.8ghz CPU is still going to be powerful enough to play the latest games!! (in conjunction with a top graphics card obviously)
is the extra temp increase surely worth the extra couple of hundred mhz?

Similar Messages

  • My ipod touch is stuck on the apple logo and after a while a white screen comes up and it restarts and the same thing all over agan. this happened to me before and after a while it turns on but why does it keep on doing this?

    my ipod touch is stuck on the apple logo and after a while a white screen comes up and it restarts and the same thing all over agan. this happened to me before and after a while it turns on but why does it keep on doing this?

    Try connecting the iPod Touch to your computer and restore it.  http://support.apple.com/kb/HT1414

  • Is there any way to know Em Space, En Space before and after Inline Graphic !!

    Given I have the itemRef for the Inline Item. Is there any way to know Space before and after !! Like En Space, Em Space etc ?
    Thanks
    Shwetag

    Hi,
    with WinClone being discontinued (although still findable at MacUpdate for example) your only choices would be the commercial iPartition or Drive Genius or CampTune.
    All three claim to be able to resize partitions.
    Regards
    Stefan

  • Compare BEFORE and AFTER image in replicat

    Do any of You experts know how to make the following code smaller?
    ...,p_kolonner=@STRCAT("ID='",@IF(@COLTEST(BEFORE.ID,PRESENT),BEFORE.ID,""),"'>'",@IF(@COLTEST(ID,PRESENT),ID,""),"'¤",
    "OBSOLETED_ON='",@IF(@COLTEST(BEFORE.OBSOLETED_ON,PRESENT),BEFORE.OBSOLETED_ON,""),"'>'",@IF(@COLTEST(OBSOLETED_ON,PRESENT),OBSOLETED_ON,""),"'¤",
    "SMRT_ID='",@IF(@COLTEST(BEFORE...The actual parameter would look like:
    P_KOLONNER:  ID=''>'11531'¤OBSOLETED_ON=''>''¤SMRT_ID=''>'1'¤SM_SMID=''>'2011X0074-00'¤SMT_ID=''>''...
    This code is part of the params section of a sqlexec in a replicat file where I want to concatenate before and after images of a table into one parameter. I have to replace all NULLs with '' or the whole string evaluates to NULL when one of the columns are NULL. I have a procedure receiving the parameter.
    How do I write this code shorter? I have to use less code to accomplish the same thing.

    Hi Yosemite:
      You're right, the correct term is "Key Fields", in the previous post I made a mistake when referring to it as "Key Part", I'm sorry for the confusion.
    Anyway, it is not clear to me if you managed to solve the problem or if you're still struggling with your data loads, if this is the case, Could you please elaborate?
    -Which is the data source you are working with?
    -Did you map the ROCANCEL field both to the 0STORNO and 0RECORDMODE InfoObjects?
    -Are you using Addition or Overwrite on the Update Rules/Transformation Rules to the DSO?
    -Have you applied any relevant SAP Note to fix this issue?
    In case you have not read the blog by Swapna Gollakota, take a look at it, you might find it useful.
    How does a datasource communicates "DELTA" with BW?
    /people/swapna.gollakota/blog/2007/12/27/how-does-a-datasource-communicates-delta-with-bw
    Regards,
    Francisco Milán.
    Edited by: Francisco Milan on Oct 29, 2010 12:31 PM

  • Before and After View

    When I'm in my Develop module and I look at some of my edited photos my before and after view is not showing.  Sometime I see the original for a second then it resorts to the edited.  Now this is happening to some of my collection cause in some collection they are working just fine.  Can some explain to me what is happing.
    thanks

    That's not it. I'm not sure what your talking about or we are talking about two different things. All the files in the collection are before and after are the same this is evident on some other folder in the collection.
    I think I figure out the problem
    Go to the History located  on the left side of your canvas, above the Copy and Paste buttons.  You should see Preset, Snapshot, History and Collection.  They should have a + beside to expand.  Go to History (this is a list of all you edits you made on the image) Go to the bottom where it says import of the file. This is the start point of your file.
    Right mouse click on the import xxxx xxxx file ( or how ever you saved your file name). Highlight "Copy History Step Settings to Before."
    There you go your good to go
    I don't know how to do this on all the images with this problem in the folder all at once.  I just do it individually.

  • PSC 1210 page feed before and after printing

    My PSC 1210 has been working fine for years but it has just recently started feeding a blank page before and after printing. That wouldn't be a problem except that the blank pages are not fully ejected, this means that I have to grab the first blank page, as it comes through the printer, and pull it out, otherwise it gets drawn back in causing a paper jam when the actual print job starts. Once this blank page has been removed the print job continues perfectly.
    This occurs when printing documents, copying using the scanner, and printing a test page.
    I have removed and reinstalled the printer driver/software and performed a partial reset on the printer, neither fixed the problem.

    I see you mention that the issue also happens when you are copying, that means that this issue is not related to your printer software. So that's good to know!
    Now, since this is not a software issue, this must then be related to your hardware. Is this printer plugged into a wall outlet directly or is it plugged into a surge protector? To be sure that the printer gets all the power it needs make sure that it is plugged directly into a wall outlet.
    First things first, I would recommend unplugging the printer for about 30 seconds from both the back of the unit and from the wall outlet, and then plugging it back in. Try making a copy or print and see if the issue persists.
    You can also try cleaning the paper feed rollers in the printer, here is a document that can show you where all of those are located and how to clean them.
    http://goo.gl/glh8v
    Let me know if any of this helps resolve the issue!

  • Appointments one hour ahead of appointments created in iCloud - both before *and* after the shift from daylight savings time

    I am in the CET timezone and my Lumia 925 on 8.1 has consistently shown appointments one hour ahead of appointments created in iCloud - both before and after the shift from daylight savings time here.
    My disappointment is compounded by the fact that I patiently waited for October, naïvely thinking the clockchange would solve things... doh.
    Look forward to your earliest solution.
    Jonny.

    There is a separate thread on this subject. It's a bug in Windows Phone 8.1. It is fixed in the upcoming Windows 8.1 Update 1 release (due Nov/Dec 2014). Alternatively, you can install the developer preview (go to Store and search for 'preview for developers'.
    You have to register as a developer though (easily done through appstudio.windows.com) or you can wait for your phone vendor (Microsoft / Nokia) to release the 'Denim' upgrade.
    For now, I don't know a decent workaround.

  • Why there is implicit commit before and after executing DDL Statements

    Hi Guys,
    Please let me know why there is implicit commit before and after executing DDL Statements ?
    Regards,
    sushmita

    Helyos wrote:
    This is because Oracle has design it like this.Come on Helyos, that's a bit of a weak answer. :)
    The reason is that it makes no sense to update the structure of the database whilst there is outstanding data updates that have not been committed.
    Imagine having a column that is VARCHAR2(50) that currently only has data that is up to 20 characters in size.
    Someone (person A) decides that it would make sense to alter the table and reduce the size of the column to varchar2(20) instead.
    Before they do that, someone else (person B) has inserted data that is 30 characters in size, but not yet committed it.
    As far as person B is concerned that insert statement has been successful as they received no error, and they are continuing on with their process until they reach a suitable point to commit.
    Person A then attempts to alter the database to make it varchar2(20).
    If the database allowed that to happen then the column would be varchar2(20) and the uncommitted data would no longer fit, even though the insert was successful. When is Person B going to find out about this? It would be wrong to tell them when they try and commit, because all their transactions were successful, so why should a commit fail.
    In this case, because it's two different people, then the database will recognise there is uncommitted transactions on that table and not let person B alter it.
    If it was just one person doing both things in the same session, then the data would be automatically committed, the alter statement executed and the person informed that they can't alter the database because there is (now) data exceeding the size they want to set it to.
    It makes perfect sense to have the database in a data consistent state before any alterations are made to it, hence why a commit is issued beforehand.
    Here's something I wrote the other day on the subject...
    DDL's issue a commit before carrying out the actual action
    As long as the DDL is syntactically ok (i.e. the parser is happy with it) then the commit is issued, even if the actual DDL cannot be executed for another reason.
    Example...
    We have a table with some data in it...
    SQL> create table xtest as select rownum rn from dual;
    Table created.
    SQL> select * from xtest;
            RN
             1We then delete the data but don't commit (demonstrated by the fact we can roll it back)
    SQL> delete from xtest;
    1 row deleted.
    SQL> select * from xtest;
    no rows selected
    SQL> rollback;
    Rollback complete.
    SQL> select * from xtest;
            RN
             1
    SQL> delete from xtest;
    1 row deleted.
    SQL> select * from xtest;
    no rows selectedSo now our data is deleted, but not committed, what if we issue a DDL that is syntactically incorrect...
    SQL> alter tab xtest blah;
    alter tab xtest blah
    ERROR at line 1:
    ORA-00940: invalid ALTER command
    SQL> rollback;
    Rollback complete.
    SQL> select * from xtest;
            RN
             1... the data can still be rolled back. This is because the parser was not happy with the syntax of the DDL statement.
    So let's delete the data again, without committing it, and issue a DDL that is syntactically correct, but cannot execute for another reason (i.e. the database object it refers to doesn't exist)...
    SQL> delete from xtest;
    1 row deleted.
    SQL> select * from xtest;
    no rows selected
    SQL> truncate table bob;
    truncate table bob
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> rollback;
    Rollback complete.
    SQL> select * from xtest;
    no rows selectedSo, there we have it. Just because the statement was syntactically correct, the deletion of the data was committed, even though the DDL couldn't be performed.
    This makes sense really, because if we are planning on altering the definition of the database where the data is stored, it can only really take place if the database is in a state where the data is where it should be rather than being in limbo. For example, imagine the confusion if you updated some data on a column and then altered that columns datatype to be a different size e.g. reducing a varchar2 column from 50 character down to 20 characters. If you had data that you'd just updated to larger than 20 characters whereas previously there wasn't, then the alter table command would not know about it, would alter the column size and then the data wouldn't be valid to fit whereas the update statement at the time didn't fail.
    Example...
    We have a table that only allows 20 characters in a column. If we try and insert more into that column we get an error for our insert statement as expected...
    SQL> create table xtest (x varchar2(20));
    Table created.
    SQL> insert into xtest values ('012345678901234567890123456789');
    insert into xtest values ('012345678901234567890123456789')
    ERROR at line 1:
    ORA-12899: value too large for column "SCOTT"."XTEST"."X" (actual: 30, maximum: 20)Now if our table allowed more characters our insert statement is successful. As far as our "application" goes we believe, nay, we have been told by the database, we have successfully inserted our data...
    SQL> alter table xtest modify (x varchar2(50));
    Table altered.
    SQL> insert into xtest values ('012345678901234567890123456789');
    1 row created.Now if we tried to alter our database column back to 20 characters and it didn't automatically commit the data beforehand then it would be happy to alter the column, but then when the data was committed it wouldn't fit. However the database has already told us that the data was inserted, so it can't go back on that now.
    Instead we can see that the data is committed first because the alter command returns an error telling us that the data in the table is too big, and also we cannot rollback the insert after the attempted alter statement...
    SQL> alter table xtest modify (x varchar2(20));
    alter table xtest modify (x varchar2(20))
    ERROR at line 1:
    ORA-01441: cannot decrease column length because some value is too big
    SQL> rollback;
    Rollback complete.
    SQL> select * from xtest;
    X
    012345678901234567890123456789
    SQL>Obviously, because a commit statement is for the existing session, if we had tried to alter the table column from another session we would have got
    SQL> alter table xtest modify (x varchar2(20));
    alter table xtest modify (x varchar2(20))
    ERROR at line 1:
    ORA-00054: resource busy and acquire with NOWAIT specified
    SQL>... which is basically saying that we can't alter the table because someone else is using it and they haven't committed their data yet.
    Once the other session has committed the data we get the expected error...
    ORA-01441: cannot decrease column length because some value is too bigHope that explains it

  • How do I add a before and after transition to a standalone clip in the second or other than primary stack?

    New to FCPX on a project this weekend. I have gotten reasonably comfortable with the basic features but one thing that I CANNOT figure out, is how (what used to be) selecting a track in the timeline to activate it to apply a transition.  I need to select a video clip which stands alone in the stack which is positioned above the primary track and add a blend transition before and after the clip. I have set the opacity to blend with the images in the primary track below but the beginning and end of the clip in the second stack do not fall at the transition points in the lower track which should not matter anyway.  I can’t find it in Help or the third party tutorials that I purchased and completed.  Thanks for your help!

    Tom gave you the answer.  As a follow-on you can then use the Cross Dissolve transition on your newly converted connected clip.  This transition will allow it to dissolve smoothly into the video below it.  Note that the Fade to Black transition will take both that clip and the video below it to black which would probably be undesirable. Use Cross Dissolve instead.  Best wishes.
    stephen

  • Data Loading(Before and After Image)

    I heard that a datasource which has both "Before and After Image " ,then the data can be sent directly to the infocube or from the DSO to the Infocube but where as
    If a datasource supports after image then first it has to be loaded to the DSO and then to the Infocube ,
    My question is how to know the image types of the datasource ?

    Hi Ravi,
    Check in ROOSOURCE tables in ECC. You can find the behvariaour options in DELTA field, so based on this table we can say will it support Cube/ODS.
        Delta Only Via Full Upload (ODS or InfoPackage Selection)
    A    ALE Update Pointer (Master Data)
    ABR    Complete Delta with Deletion Flag Via Delta Queue(Cube-Comp)
    ABR1    Like Method 'ABR' But Serialization Only by Requests
    ADD    Additive Extraction Via Extracto (e.g. LIS Info Structures)
    ADDD    Like 'ADD' But Via Delta Queue (Cube-Compatible)
    AIE    After-Images Via Extractor (FI-GL/AP/AR)
    AIED    After-Images with Deletion Flag Via Extractor (FI-GL/AP/AR)
    AIM    After-Images Via Delta Queue (e.g. FI-AP/AR)
    AIMD    After-Images with Deletion Flag Via Delta Queue (e.g. BtB)
    CUBE    InfoCube Extraction
    D    Unspecific Delta Via Delta Queue (Not ODS-Compatible)
    E    Unspecific Delta Via Extractor (Not ODS-Compatible)
    FIL0    Delta Via File Import with After-Images
    FIL1    Delta Via File Import with Delta Images
    NEWD    Only New Records (Inserts) Via Delta Queue (Cube-Compatible)
    NEWE    Only New Records (Inserts) Via Extractor (Cube-Compatible)
    O  
    ODS    ODS Extraction
    X    Delta Unspecified (Do Not Use!)

  • Repairing permissions before and after updating software

    What is the reason to repair permissions before and after updating software? This may sound like a stupid question to many of you, but I am new to computers and I am trying to learn how and why of some of the things of my PowerBook. I installed some updates without repairing permissions. Did I install some software updates the wrong way? Thank you.

    This is a topic which will draw as many emphatic for and against responses as overnight shut down or not, defrag or not, optimise or not, and so on.
    I agree with Neil. I believe that OS X has progressed sufficiently that repair permissions has become redundant and so I do not do it on any regular basis.
    Some folk may refer you to an Apple Support Article 303602. That Article in its 4 May 2006 version, titled "Top 10 Tips to Keep Your Mac in Top Form" suggested Repair Permissions should be done "after upgrading or installing new software". The Article was however revised on 15 May 2006 to be titled "Top Tips to Keep Your Mac in Top Form" and the item on Repair Permissions [along with two other recommended maintenance tips] was removed. It is my view that the conclusion to be drawn here is that Apple no longer considers Repair Permissions to be a required maintenance procedure.
    Many users have adopted a "Repair Permissions" mantra for a cure-all over several years. I dropped it sometime in 10.3.
    But, to each his own.
    HTH
    TiPB 867   Mac OS X (10.4.6)  

  • How do I create a form that will give a report that summarises before and after data on the same graph?

    I have a number questions that I want to know the average of all the before and after data to compare them, how do I set this up in a form in FormsCentral?  Here is an example of what I want to do - the green bar is "before" and blue is "after"

    This isn't something that you can set up in FormsCentral. It's possible to something similar with a form you create in Acrobat and use with FormsCentral, but there is no sort of built-in graphing control. The bar graph could be implemented with some JavaScript that controls annotations or fields (buttons) and perhaps some text fields.

  • Date - before and after precision?

    Hi all,
    I have two date objects and I am using the before and after methods for a decision process. I would like to know the precision of the above methods. Is the prevision at the seconds, milliseconds, or nanoseconds level?
    Any help is appreciated.
    Thanks
    Saravanan

    What does this have to do with JDBC?
    java.util.Date uses milliseconds.
    java.sql.Data uses nanoseconds (which isn't going to matter unless something actually sets those.)

  • Oracle Alert: Access before and after update values of a table column

    We have a requirement where a notification needs to be sent when 'END_DATE' attribute (column in a table X) is set, in an Oracle Applications form.
    I have defined an Event based Oracle Alert which fires 'On Update' of the table X.
    Could anyone please let me know as how to access the value of 'END_DATE' before and after update (i.e :new.END_DATE and :old.END_DATE) in the sql query of the alert.
    The need to use the before update and after update values of the attribute 'END_DATE' is that if we add the condition END_DATE is not null, the alert is sent even if any other attrbutes are updated in the Oracle form which is not the intended behavior.
    Appreciate any help.
    Thanks

    Hi
    use selectionlistener for your first table then add clientlistener and serverlistener so that you will get the rows on click in back bean.
    then get second table vo and and create and add row for that view object. add partial target to refresh your second table from back bean.
    on click of save call commit operation.

  • Count before and after to certain occurance.

    I am trying to count the amount of units  studied before and after a certain Course was taken.
    So ID 1 did PREP in 2013 in the first period and has and also had done a unit in 2009 so reult be before prerp count 1
    ID 2 did PREP in 2012 first period and also an OTHER course in the same period as well as a OTHER in period 2. So when a PREP course appear in the same period and year as an OTHER course I would like it to count it as AFTER Prep.(see below(so when equal count as after PREP))
    ID 3 has done one unit before before PREP which is in 2011 and 2 Units after the first PREP course.
    I attepted this with not in and in statments basic I know but to no luck.
    Any help is greatly appreciated.
    Thanks
    CREATE TABLE DAN_DIRK_2
    (ID     VARCHAR2(8),
    YEAR    VARCHAR2(8),
    PERIOD VARCHAR2(8),
    COURSE VARCHAR2(12),
    UNIT VARCHAR2(12));
    INSERT INTO DAN_DIRK_2 (ID, YEAR,PERIOD,COURSE,UNIT) VALUES (1,'2013','SP1','PREP','PLI');
    INSERT INTO DAN_DIRK_2 (ID, YEAR,PERIOD,COURSE,UNIT) VALUES (1,'2009','SP4','OTHER','DRI');
    INSERT INTO DAN_DIRK_2 (ID, YEAR,PERIOD,COURSE,UNIT) VALUES (2,'2012','SP1','OTHER','FER');
    INSERT INTO DAN_DIRK_2 (ID, YEAR,PERIOD,COURSE,UNIT) VALUES (2,'2012','SP2','OTHER','AQW');
    INSERT INTO DAN_DIRK_2 (ID, YEAR,PERIOD,COURSE,UNIT) VALUES (2,'2012','SP1','PREP','FGV');
    INSERT INTO DAN_DIRK_2 (ID, YEAR,PERIOD,COURSE,UNIT) VALUES (3,'2011','SP1','OTHER','GVW');
    INSERT INTO DAN_DIRK_2 (ID, YEAR,PERIOD,COURSE,UNIT) VALUES (3,'2012','SP2','PREP','FER');
    INSERT INTO DAN_DIRK_2 (ID, YEAR,PERIOD,COURSE,UNIT) VALUES (3,'2013','SP1','OTHER','FSW');
    INSERT INTO DAN_DIRK_2 (ID, YEAR,PERIOD,COURSE,UNIT) VALUES (3,'2013','SP1','PREP','FGH');
    GIVES:
    ID
    YEAR
    PERIOD
    COURSE
    UNIT
    1
    2013
    SP1
    PREP
    PLI
    1
    2009
    SP4
    OTHER
    DRI
    2
    2012
    SP1
    OTHER
    FER
    2
    2012
    SP2
    OTHER
    AQW
    2
    2012
    SP1
    PREP
    FGV
    3
    2011
    SP1
    OTHER
    GVW
    3
    2012
    SP2
    PREP
    FFR
    3
    2013
    SP1
    OTHER
    FSW
    3
    2013
    SP1
    PREP
    FGH
    WANT:
    ID
    BEFORE
    AFTER
    1
    1
    0
    2
    0
    2
    3
    1
    2

    Chloe_19 wrote:
    Get an Error
    ORA-32033: unsupported column aliasing
    32033. 00000 -  "unsupported column aliasing"
    *Cause:    column aliasing in WITH clause is not supported yet
    *Action:   specify aliasing in defintion subquery and retry
    Error at Line: 1 Column: 8
    Am using version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    because you use 10g, try this :
    WITH tt AS (
    select 1 ID,  2013 YR,  'SP1' PERIOD,  'PREP' COURSE,  'PLI' UNIT from dual union all
    select 1,  2009,  'SP4',  'OTHER',  'DRI' from dual union all
    select 2,  2012,  'SP1',  'OTHER',  'FER' from dual union all
    select 2,  2012,  'SP2',  'OTHER',  'AQW' from dual union all
    select 2,  2012,  'SP1',  'PREP',  'FGV' from dual union all
    select 3,  2011,  'SP1',  'OTHER',  'GVW' from dual union all
    select 3,  2012,  'SP2',  'PREP',  'FFR' from dual union all
    select 3,  2013,  'SP1',  'OTHER',  'FSW' from dual union all
    select 3,  2013,  'SP1',  'PREP',  'FGH' from dual ),
    tt2 AS (
    SELECT t.ID,
           min(t.YR) minyr, 
           min(replace(t.PERIOD,'SP','')) KEEP(DENSE_RANK FIRST ORDER BY T.YR) minpr
    FROM  tt t
    WHERE t.COURSE = 'PREP'
    GROUP BY t.ID)
        SELECT ID,
               NVL(COUNT(BEF),0) BEFORE,
               NVL(COUNT(AFT),0) AFTER
               FROM(          
                        SELECT t1.ID,
                               (CASE WHEN t1.YR = t2.minyr AND replace(t1.PERIOD,'SP','')= t2.minpr AND t1.course='PREP' THEN NULL
                                     WHEN t1.YR = t2.minyr AND replace(t1.PERIOD,'SP','')= t2.minpr AND t1.course!='PREP' THEN NULL
                                     WHEN t1.YR < t2.minyr THEN -1
                                     WHEN t1.YR = t2.minyr AND replace(t1.PERIOD,'SP','')<= t2.minpr THEN -1
                                 END) BEF,
                               (CASE WHEN t1.YR = t2.minyr AND replace(t1.PERIOD,'SP','')= t2.minpr AND t1.course='PREP' THEN NULL
                                     WHEN t1.YR = t2.minyr AND replace(t1.PERIOD,'SP','')= t2.minpr AND t1.course!='PREP' THEN 1
                                     WHEN t1.YR > t2.minyr THEN 1
                                     WHEN t1.YR = t2.minyr AND replace(t1.PERIOD,'SP','')>= t2.minpr THEN 1
                                 END) AFT        
                         FROM tt t1
                        LEFT JOIN tt2 t2
                               ON t2.id = t1.id
        GROUP BY ID
        ORDER BY 1

Maybe you are looking for