SHow Recordset problem

I'm not well versed in ASP. I have one page where I have 3
regions Two are recordsets. THe other is text that says "sorry no
items at this time" THe two recordsets are filtered by the URL
parameter. the recordsets show up correctly when the parameter is
passed. THe "sorry no items at this time" brings up the error:
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been
deleted. Requested operation requires a current record.
IS there a way to get these 3 items to work together using IF
<% If rsAllType.EOF And rsAllType.BOF Then %>
<div><p>
<span class="subtitle">
<%=(rsAllCourses.Fields.Item("Type").Value)%> <%=(rsAllCourses.Fields.Item("SubType").Val ue)%>
Courses
</span><br /><br />
<% While ((Repeat4__numRows <> 0) AND (NOT
rsAllCourses.EOF)) %>
<span class="boldgray">
<a href="CourseDetail.asp?<%=
Server.HTMLEncode(MM_keepURL) & MM_joinChar(MM_keepURL) &
"CourseID=" & rsAllCourses.Fields.Item("CourseID").Value
%>">
<%=(rsAllCourses.Fields.Item("Title").Value)%></a></span>
<br />
<%=(rsAllCourses.Fields.Item("Description").Value)%><br
/>
<span
class="bold">Prerequisites: </span><%=(rsAllCourses.Fields.Item("Prerequisites").Value)%>
<br /><br />
<% Repeat4__index=Repeat4__index+1
Repeat4__numRows=Repeat4__numRows-1
rsAllCourses.MoveNext()
Wend %>
</p></div>
<% End If ' end rsAllType.EOF And rsAllType.BOF %>
<% If rsAllCourses.EOF And rsAllCourses.BOF Then %>
<div>
<span
class="subtitle"><%=(rsType.Fields.Item("Type").Value)%> <%=(rsSubType.Fields.Item("SubTy pe").Value)%>
Courses</span><br />
<br />
No classes at this time, please check back soon. <br
/>
</p>
</div>
<% End If ' end rsAllCourses.EOF And rsAllCourses.BOF
%>
<% If Not rsAllType.EOF Or Not rsAllType.BOF Then %>
<p>
<span class="subtitle">All
Courses</span><span class="boldgray"> <br />
<br />
Listed
Alphabetically</span>        <a
href="<%=MM_movePrev%>">&lt;&lt;  Previous</a>        <a
href="<%=MM_moveNext%>">Next  &gt;&gt;</a><br
/>
<br />
</p>
<%
While ((Repeat5__numRows <> 0) AND (NOT rsAllType.EOF))
%>
<div>
<p>
<span class="boldgreen">
<%=(rsAllType.Fields.Item("Title").Value)%></span><br
/>
<%=(rsAllType.Fields.Item("Description").Value)%><br />
<span
class="bold">Prerequisites: </span><%=(rsAllType.Fields.Item("Prerequisites").Value)%><br
/>
<span
class="bold">Category: </span><%=(rsAllType.Fields.Item("Type").Value)%><br
/>
<span
class="bold">Curriculum:</span><%=(rsAllType.Fields.Item("SubType").Value)%><br
/>
<br /></p>
</div>
<% Repeat5__index=Repeat5__index+1
Repeat5__numRows=Repeat5__numRows-1
rsAllType.MoveNext()
Wend %>
<% End If ' end Not rsAllType.EOF Or NOT rsAllType.BOF
%>

redant34jessica wrote:
> If AllCourses NOT empty display AllCourses (there are
links on page to display
> this filtered recordset using URL Parameter - "TypeID")
<% If Not rsAllCourses.EOF Or Not rsAllCourses.BOF Then
%>
> If AllCourses empty and AllTypes NOT empty show AllTypes
(there is a link on
> page to display ALL using a URL Parameter- "Type")
If (rsAllCourses.EOF AND rsAllCourses.BOF) AND (NOT
rsAllTypes.EOF OR
NOT rsAllTypes.BOF) Then %>
> If AllCourses empty and AllTypes empty show warning
message (If there is no
> data a link on page where there is currently no data)
<% If rsAllCourses.EOF And rsAllCourses.BOF AND
rsAllTypes.EOF And
rsAllTypes.BOF Then %>
> Another Question is when a recordset is filtered by a
URL parameter, if that
> URL parameter does not exist in the URL is the recordset
EMPTY??
That depends on what you set the default value to be. I try
to use a
value that will never be used, like -1, so when the URL
parameter
doesn't exist, the recordset uses -1 instead. It won't find a
record
with -1 as the value, so returns an empty recordset.
> Please help. THank you very much!
See how you get on with the above.
Dooza
Posting Guidelines
http://www.adobe.com/support/forums/guidelines.html
How To Ask Smart Questions
http://www.catb.org/esr/faqs/smart-questions.html
How To Report A Bug To Adobe
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

Similar Messages

  • My iPad mini retina display wifi 16 GB is showing blank white display and is like frozen. I can't shut it down or restart. It was working perfectly till 13/4/2015 night and next day morning it showing this problem.Please help........

    My iPad mini retina display wifi 16 GB is showing blank white display and is like frozen. I can't shut it down or restart. It was working perfectly till 13/4/2015 night and next day morning it showing this problem.There is no physical damage to my iPad and is in perfect good condition. I updated the latest OS 8.3 version 3 days before this issue happened. I took it to the apple authorised service centre but to my shock they told the display and unit has to be replaced which will cost me Rs.15000/-. It's just been one year and 7 days only since i bought my iPad,i.e, just 7 days out of warranty period only.I don't find any fault with the hardware neither no physical damage is there. Need help to sort out this issue.

    My iPad mini retina display wifi 16 GB is showing blank white display and is like frozen. I can't shut it down or restart. It was working perfectly till 13/4/2015 night and next day morning it showing this problem.There is no physical damage to my iPad and is in perfect good condition. I updated the latest OS 8.3 version 3 days before this issue happened. I took it to the apple authorised service centre but to my shock they told the display and unit has to be replaced which will cost me Rs.15000/-. It's just been one year and 7 days only since i bought my iPad,i.e, just 7 days out of warranty period only.I don't find any fault with the hardware neither no physical damage is there. Need help to sort out this issue.

  • My new macbook pro is giving me hardtime. even apple team is not being to solve it. they replace the motherboard first it didn't work. second time they formatted the computer and that also didn't work. every time my mac showing different problems.

    my new macbook pro is giving me hardtime. even apple team is not being to solve it. they replace the motherboard first it didn't work. second time they formatted the computer and that also didn't work. every time my mac showing different problems.
    At first my computer had issues. Once it go to sleep it will not back again. I dropped my laptop at apple store to fix it. After 10  days they returned my laptop saying they were no able to fix the problem so they replaced motherboard aiming if that might help. Acttually that didn't help.I had same issue again. I visited apple store again. This time they said they could fix, if I will allow them to format the harddrive. I said ok. They formatted it. It was working fine for few daysAfter few days compter is taking.even more than 15 min to shutdown. Now computer has another problem. It is being hang frequently like every 20'to.30 min.
    I don't know what to do? I still have one month left on first year warranty. I have requested couple times to apple associates either to fix or replace or refund. They are showing me rude behavior. They are not understanding my situation. I am a student. I need to do lot of home work. Since last three month my mac book and apple associates giving me hard time. Any suggestions are welcome.

    Contact Apple Customer Care - not Apple Care - Customer Support. Have your receipts handy and/or case numbers. Be patient, be calm, and tell your story just as you have here. I get the sense you are not in the US and don't have access to an Apple Store but are going to an independent shop. This makes using Customer Support all the more important. If phoning isn't viable, use registered mail.
    Since time is running short, be prepared to purchase AppleCare to exennd your warranty 2 more years. Yes, you shouldn't have to do this, but it gives you added protection and more opportunities over the next 2 years to claim a replacement computer if you don't get one immediately. After dealing with a similar unhappy situation with a Mac in the late 1990s I finally got a replacement computer and reimbursed for the AppleCare policy.

  • My MacBook Pro 13 inch makes a clicking noise from the hard drive and can not start up in safe mode and normal. I then ran disk utility in recovery mode and disk utility shows no problems with the hard drive. What is the problem?

    Please help me, I have a mid 2010 Mac book pro with a toshiba mk3266gsxf harddrive. It started making a clicking noise and then my computer crashed. I proceeded to boot in safe mode, but it doesn't work. When I ran disk utility in recovery mode, it showed no problem with my disk. Does any one know what the problem is?

    Sounds like a mechanical problem with the drive and it ruined the sectors where the Macintosh HD partition (and OS X, and files and programs) reside, but not your Recovery HD partition.
    If you held command option r while booting, that's Internet Recovery and it's loaded via the Internet, not via the Recovery HD partition on the boot drive, so that could mean the drive is dead mechanically or there is another issue.
    In either case the drive will likely have to be replaced, it's a matter of what occured to where and the drive state if you can recover data or not. If you made recent backups then your fine.
    My computer is not working, is my personal data lost?
    Most commonly used backup methods

  • LaserJet 2600n Print Quality problem (with a scan showing the problem)

    I'm trying to create areas of solid colour in order to use the toner transfer method of making printed circuits.  To do that I need to print really dark solid black blocks - when I try that I see uneven toner in certain areas.  This scan of the output shows the problem:
    There are lighter areas (less covered by toner) at the bottom (page orientation wise) of solid black blocks - but only where there is a subsequent block of black below!  For example, the leftmost shape's bottom edge is fine. 
    I'm perplexed.  I'm very impressed with the configurability of the 2600n, and I get the feeling that there's probably a setting I could tweak to solve this, and I'm hoping that there's a laser printer expert reading this forum who'll have some suggestions.
    Cheers,
    Chris.

    It looks to me as if you have your print quality setting in your printer driver set to standard or draft rather than set to best photo. This setting has to be changed in your printer driver which is accessed by the button in the lower left-hand corner of the screen when you are in the print module.

  • Imported RAW images badly corrupted, looks like red paint splashed all over the sky.  Photoshop and Iphoto have no problem with the images from my D800E.  Aperture worked fine for me in June with the same camera.  The Nikon software shows no problem.

    I am having a problem importing my images into Aperture 3 from my Nikon D800E.  The images appear as if red paint was splashed across the sky.  The Nikon software used to transfer from the camera does not show this problem and Photoshop 6 is fine with the images exported as jpg from the Nikon software.  Aperature does not even like the jpg images usable by Photoshop.  I am suspecting that Aperture is not correctly using the camera raw file.  Also, the histograms are radically different between the corrupted images and the Photoshop (good) versions.  Aperture worked just fine for me in June with the same camera.  All drivers and software are current as of this posting.  Anyone else out there seen this before??

    Are you sure you do not have Highlight Hot & Cold Areas turned on? (View->Highlight Hot & Cold Areas)?
    The bug in Digital Camera raw only affected Raw images. In your first post you wrote:
    Aperature does not even like the jpg images usable by Photoshop
    If the JPG's have the same problem then it isn't this bug.
    regards

  • This is second time i show my problem and no answer.

    this is second time i show my problem and no answer.
    I have problem in my iphone icloud password and apple password are not same ihave apple password when i wont
    to access to icloud i cant but no problem to use apple password in app store.
    my problem is iforget icloud password and its not same apple password and iclud password?
    plz help me plz

    You got an answer here: I forget icloud password. Apple ID and icloud have different password  And i cant use apple id in i cloud   Plz help me

  • My camera icon showing some problem

    My camera icon showing some problem, i still can access and see it, but the problem is, my camera's icon on the home menu is not showing properly, it is just a empty grey icon, how i can solve this?

    Do a reset (Hold Sleep/Wake and Home buttons about 10 secs or more till Apple logo appears)

  • Ipad Spekear showing some problems

    Dear all,
    I having Ipad 2 16Gb, and using last 10 months. now its showing some problems with speaker. the sounds are not clear as it looks like speaker has some holes in it. what i have to do....? I look forward to hearing from you...

    Thank you so much for your quick reply. Just recently only i reset the ipad, even i change the EQ settings...no response!

  • My Apple ID showed security problem that needs to reset my password. But I forget my resue email and scecurity questions' answers. So what can I do?

    My Apple ID showed security problem that needs to reset my password. But I forget my resue email and scecurity questions' answers. So what can I do?

    If you are on Lion or newer, follow directions here:
    Reset the user password in OS X Lion, Mountain Lion and Mavericks
    Reset 10.5 Leopard & 10.6 Snow Leopard password
      1. Power on or restart your Mac.
      2. At the chime (or grey screen if your chime is turned off), hold down Command+S on your keyboard to enter single-user mode.
      3. This step is optional, but it’s a good idea because it checks the consistency of the hard disk before moving on. At the prompt, type fsck -fy and press Enter/Return. Wait for the checks to complete before going to the next step.
      4. Type mount -uw / and press Enter.
      5. Type launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plistand press Enter.
      6. Type ls /Users and press Enter. This lists all of the usernames on the computer – helpful if you don’t know or remember what these are.
      7. Type dscl . -passwd /Users/username password and replace “username” with one of the users displayed in the previous step. Replace “password” with a new password of your choice. Press Enter.
      8. Type reboot and press Enter.

  • New ZEN(8GB) showing FIRMWARE PROBLEM after first connection to

    New ZEN(8GB) showing FIRMWARE PROBLEM after first connection to PC?I havn't even use it?Can someone help me ?Message Edited by chrisstrong on 0-07-200707:50 AM

    tell me about it. I've rebooted it then left it for a few minutes. after that it seems to start. I also used another usb cable which seems to have helped (weird i know!)

  • Tool Tech Video ram says failed ....hardware test shows fan problems...

    Tool Tech Video ram says failed ....hardware test shows fan problems...in reference to error 4MOT/1/0000003:HDD
    Anyone else experience this...and how is the fan a problems via hardware test but tool tech shows video ram failed?
    Any feedback is appreciated.Computer only 6 weeks old.......:-(

    My computer listed as having failed the VRAM test as well, but when I installed the Tech Tool software, it gave me the warning that the results of the test were not yet reliable for 10.5 and it might not test correctly. I've had none of the problems the the VRAM failure listed, and assume it's just an issue with the new OS and Tech Tool not being on the same page yet. PS: I love my Mac...but don't we all?

  • Nested XML from recordset problems.

    Hi
    I have been struggling with this for a while now and desperatley need som help!
    I'm trying to create a nested spryregion that looks like this:'
    http://www.soulkompetens.se/utbildningar.php#
    Problem with that page is that it only works in Safari (mac). Firefox the encoding does not work (questionmarks instead of åäö).
    Windows explorer does not work at all .
    So I started to work wit the http://labs.adobe.com/technologies/spry/samples/utils/query2xml.html page to try to generate the xml.
    The XML should be something like:
    <DOCUMENT>
      <ROW0>
        <UTBILDNING_ID>22</UTBILDNING_ID>
        <RUBRIK>Värdegrunden som bas för affärsutveckling</RUBRIK>
        <ROW1>
          <INGRESS>Värdegrunden som bas för affärsutveckling, diskrimineringsgrunderna</INGRESS>
          <ID>17</ID>
         <TEXT></TEXT>
          <DATUM>0000-00-00</DATUM>
        </ROW1>
        <ROW1>
          <INGRESS>Västra Götaland 3:e september</INGRESS>
          <ID>34</ID>
          <TEXT></TEXT>
          <DATUM>2009-06-21</DATUM>
        </ROW1>
      </ROW0>
      <ROW0>
        <UTBILDNING_ID>25</UTBILDNING_ID>
        <RUBRIK>Omvärldsanalys</RUBRIK>
        <ROW1>
          <INGRESS>Mellersta Norrland 11:e december</INGRESS>
          <ID>35</ID>
          <TEXT></TEXT>
          <DATUM>0000-00-00</DATUM>
        </ROW1>
    </ROW0>
    </DOCUMENT>
    I get the XML from two joined Tables in the database.
    Sql looks like:
    select utbildning_rubrik.utbildning_id, utbildning_rubrik.rubrik, utbildning.ingress, utbildning.ID, utbildning.text, utbildning.datum
    from utbildning_rubrik, utbildning where utbildning_rubrik.utbildning_id = utbildning.utbildning_id
    order by utbildning_rubrik.utbildning_id, utbildning.ingress
    Now! How do I generate the XML with "query to xml".
    I have been trying a lot of things an my head is spinning around
    Can anybody help me please.
    Regards
    Olle

    Thank you for the answer.
    I think I am close. But there is something wrong wit the nesting of the nodes and repeating.
    Here is the code:
    <?php
    mysql_select_db($database_SOUL, $SOUL);
    $query_rsImages = "SELECT utbildning_rubrik.utbildning_id, utbildning_rubrik.rubrik, utbildning.ingress, utbildning.ID, utbildning.text, utbildning.datum FROM utbildning_rubrik, utbildning WHERE utbildning_rubrik.utbildning_id = utbildning.utbildning_id ORDER BY utbildning_rubrik.utbildning_id, utbildning.ingress";
    $rsImages = mysql_query($query_rsImages, $SOUL) or die(mysql_error());
    $row_rsImages = mysql_fetch_assoc($rsImages);
    $totalRows_rsImages = mysql_num_rows($rsImages);
    // Send the headers
    header('Content-type: text/xml');
    header('Pragma: public');       
    header('Cache-control: private');
    <?php echo('<?xml version="1.0" encoding="ISO-8859-1"?>'); ?>
    <DOCUMENT>
      <?php if ($totalRows_rsImages > 0) { // Show if recordset not empty ?>
        <ROW0>
        <UTBILDNING_ID><?php echo $row_rsImages['utbildning_id']; ?></UTBILDNING_ID>
        <?php do { ?><RUBRIK><?php echo $row_rsImages['rubrik']; ?>
      <ROW1>
            <?php do { ?><INGRESS><?php echo $row_rsImages['ingress']; ?></INGRESS>
            <TEXT><![CDATA[<?php echo $row_rsImages['text']; ?>]]></TEXT><?php } while ($row_rsImages = mysql_fetch_assoc($rsImages)); ?>
            </ROW1>
            </RUBRIK><?php } while ($row_rsImages = mysql_fetch_assoc($rsImages)); ?>
            </ROW0>
       <?php } // Show if recordset not empty ?>
    </DOCUMENT>
    In the other php document consuming the xml I have
    ds1.setColumnType("RUBRIK", "html");
    So the main problem with this is I dont know php so good that I can repeat the nodes to my choise.
    I neew it to be
    ROW0>
      <UTBILDNING_ID></UTBILDNING_ID>
      <RUBRIK></RUBRIK>
      <ROW1>
        <INGRESS></INGRESS>
        <TEXT></TEXT>
        <DATUM>/DATUM>
      </ROW1>
      <ROW1>
        <INGRESS></INGRESS>
        <TEXT></TEXT>
        <DATUM></DATUM>
      </ROW1>
    </ROW0>
    <ROW0>
      <UTBILDNING_ID></UTBILDNING_ID>
      <RUBRIK></RUBRIK>
      <ROW1>
        <INGRESS></INGRESS>
       <ID></ID>
        <TEXT></TEXT>
        <DATUM></DATUM>
      </ROW1>
      </ROW1>
    </ROW0>
    Can you help?
    Regards
    Olle

  • Advanced recordset problem (DW inserting totalRows variable)

    Hi, i'm using DW CS4 and am working on my first database driven site. All keeps going well til I get to a certain task. I've recreated the site separately to make sure I'd not done anything silly but the same issue arises. I've created a recordset that takes a URL variable (orgname) and filters the information into a table no problem. I've put a series of links above the table that puts a second variable into the URL so it read something like this: "...orgdetail.php?orgname=BSMC&catname=S1"
    This kind of works for one link (where it picks up the default values in the variables I believe) but then falls apart. DW also inserts another variable 'totalRows' and screws the other variables up! I apologise for the vagueness of my query and hope to post a link up tomorrow to show more but can anyone shed any light on why DW would insert the totalRows variable??
    TIA...Andre

    I've uploaded the pages:
    http://pitlanepass.com/test/testindex.php
    http://pitlanepass.com/test/testorg.php
    I Think it may be an issue between default variable values and not every organisation has a rider of every category so it's dropping the URL variable?
    Heres a snippet of the code:
    $varOrgname_rsRiderdetail = "British Supermoto";
    if (isset($_GET['orgname'])) {
      $varOrgname_rsRiderdetail = $_GET['orgname'];
    $varCatname_rsRiderdetail = "S1";
    if (isset($_GET['catname'])) {
      $varCatname_rsRiderdetail = $_GET['catname'];
    mysql_select_db($database_connPitlane, $connPitlane);
    $query_rsRiderdetail = sprintf("SELECT riders.ridernumber, riders.riderfirst, riders.riderlast, riders.riderorganisation, riders.ridercat, riders.riderimage FROM riders WHERE riders.riderorganisation=%s  AND riders.ridercat=%s", GetSQLValueString($varOrgname_rsRiderdetail, "text"),GetSQLValueString($varCatname_rsRiderdetail, "text"));
    $rsRiderdetail = mysql_query($query_rsRiderdetail, $connPitlane) or die(mysql_error());
    $row_rsRiderdetail = mysql_fetch_assoc($rsRiderdetail);
    $totalRows_rsRiderdetail = mysql_num_rows($rsRiderdetail);
    $varOrgname_rsClassnavigation = "British Supermoto";
    if (isset($_GET['orgname'])) {
      $varOrgname_rsClassnavigation = $_GET['orgname'];
    mysql_select_db($database_connPitlane, $connPitlane);
    $query_rsClassnavigation = sprintf("SELECT categories.catname FROM categories WHERE categories.catorganisation=%s", GetSQLValueString($varOrgname_rsClassnavigation, "text"));
    $rsClassnavigation = mysql_query($query_rsClassnavigation, $connPitlane) or die(mysql_error());
    $row_rsClassnavigation = mysql_fetch_assoc($rsClassnavigation);
    $totalRows_rsClassnavigation = mysql_num_rows($rsClassnavigation);
    mysql_select_db($database_connPitlane, $connPitlane);
    $query_rsRiderdetails = "SELECT riders.ridernumber, riders.riderfirst, riders.riderlast, riders.riderID, riders.ridercat, riders.riderorganisation, riders.riderimage, riders.riderdescription FROM riders";
    $rsRiderdetails = mysql_query($query_rsRiderdetails, $connPitlane) or die(mysql_error());
    $row_rsRiderdetails = mysql_fetch_assoc($rsRiderdetails);
    mysql_select_db($database_connPitlane, $connPitlane);
    $query_rsRiderdetails = "SELECT riderID, riderfirst, riderlast, ridernumber, ridercat, riderorganisation, riderimage, riderdescription FROM riders";
    $rsRiderdetails = mysql_query($query_rsRiderdetails, $connPitlane) or die(mysql_error());
    $row_rsRiderdetails = mysql_fetch_assoc($rsRiderdetails);
    $query_rsRiderdetails = "SELECT riderID, riderfirst, riderlast, ridernumber, ridercat, riderorganisation, riderimage, riderdescription FROM riders ORDER BY ridernumber ASC";
    $rsRiderdetails = mysql_query($query_rsRiderdetails, $connPitlane) or die(mysql_error());
    $row_rsRiderdetails = mysql_fetch_assoc($rsRiderdetails);
    $totalRows_rsRiderdetails = mysql_num_rows($rsRiderdetails);
    ?>

  • New iMac freezing, showing Graphics problems and Wifi Problems on 1st Day

    My sister just received her new iMac - 20 inch - 500 GB drive.
    I started seeing problems during the download of the FIRST software update from apple. There was a black box in the lower left corner of the software update window where it should have been grey (or metal).
    On reboot, I also occasionally show weird flickering graphics in the lower right of the login screen.
    My new iMac also frooze about 4 different times during the installtion of various updates during the first 4 hours of use. Mouse and keyboard would not work. Once it frooze at the login screen after clicking on the user name.
    I also had wifi issues. After three hours of use, my STRONG wifi connection was lost. Moreover, I could not see any other wifi stations. (normally I would see 5 other wifi access points from my sister's neighbours). After reboot, the other wifi access points would appear including my sisters but I could NOT connect to my sister's wifi access point. It said I had an error. I checked the keychain and it showed the right key/password for my sister's wifi AP. I had to run Mac Network Diagnostics and reset wifi to get things working again.
    It sounds like a sick iMac. I know others have experienced freezing. But given all these problems, should I ask for a new imac?
    Rob
    P.S. My sister got AppleCare as well. Maybe that was a good thing...

    I had a long chat with Apple Support. It would appear that Apple's policy is not replace the computer unless it can be determined that it is a hardware problem (even though my problems started to appear right out of the box before I even had a chance to download any updates). According to the Apple product specialist, sometimes there are bad installs of the OS at the factory.
    Apple wanted me to format the drive and reinstall the OS.
    Fortunately, I did not have to reinstall the OS! I started to see graphics problems when I was asked to run the Disk Utilility off the Install DVD (so I could format the drive). So clearly there was a hardware problem.
    In retrospect, I really wish there was an Apple Store nearby to buy Apple computers. I am sure the store manager would not ask me to go home and reinstall the OS etc and try again when the computer doesn't work properly out of the box.
    Those who have Apple Stores nearby do not know how lucky they are!

Maybe you are looking for