Records and Objects, Cast for PL/SQL Type RECORD and SQL Type OBJECT

Hi seniors:
In my job, we have Oracle 10g, programming with Packages, the parameters are PL/SQL Types,
Example:
PACKAGE BODY NP_CONTROL_EQUIPMENT_PKG
IS
TYPE TR_EQUIPMENT_OPERATION IS RECORD(
wn_npequipmentoperid CONTROL_EQUIPMENT.NP_EQUIPMENT_OPERATIONS.npequipmentoperid%TYPE,
wv_npactiveservicenumber CONTROL_EQUIPMENT.NP_EQUIPMENT_OPERATIONS.npactiveservicenumber%TYPE,
wv_npspecification ORDERS.NP_SPECIFICATION.npspecification%TYPE,
wv_nptype ORDERS.NP_SPECIFICATION.nptype%TYPE,
wn_nporderid CONTROL_EQUIPMENT.NP_EQUIPMENT_OPERATIONS.nporderid%TYPE,
wn_npguidenumber CONTROL_EQUIPMENT.NP_EQUIPMENT_OPERATIONS.npguidenumber%TYPE,
wd_npdevolutionprogramdate CONTROL_EQUIPMENT.NP_EQUIPMENT_STATUS.npdevolutionprogramdate%TYPE
TYPE TT_TR_EQUIPMENT_OPERATION_LST IS TABLE OF TR_EQUIPMENT_OPERATION INDEX BY BINARY_INTEGER;
PROCEDURE SP_GET_EQUIPMENT_OPERATION_LST(
an_npequipstatid IN CONTROL_EQUIPMENT.NP_EQUIPMENT_STATUS.npequipstatid%TYPE,
at_equipment_operation_list OUT TT_TR_EQUIPMENT_OPERATION_LST,
av_message OUT VARCHAR2
IS
BEGIN
SELECT EO.npequipmentoperid,
EO.npactiveservicenumber,
S.npspecification,
S.nptype,
EO.nporderid,
EO.npguidenumber,
ES.npdevolutionprogramdate
BULK COLLECT INTO at_equipment_operation_list
FROM NP_EQUIPMENT_OPERATIONS EO,
NP_EQUIPMENT_STATUS ES,
ORDERS.NP_ORDER O,
ORDERS.NP_SPECIFICATION S
WHERE EO.npequipstatid = ES.npequipstatid
AND EO.nporderid = O.nporderid
AND O.npspecificationid = S.npspecificationid
AND EO.npequipstatid = an_npequipstatid;
EXCEPTION
WHEN OTHERS THEN
av_message := 'NP_CONTROL_EQUIPMENT_PKG.SP_GET_EQUIPMENT_OPERATION_LST: '||SQLERRM;
END SP_GET_EQUIPMENT_OPERATION_LST;
END;
Procedures calls other procedures and passing parameters IN OUT defined that PL/SQL Types. The problem appears when the access is through Java. Java can't read PL/SQL Types because only read SQL Types (Types defined in SCHEMA):
CREATE OR REPLACE
TYPE TO_EQUIPMENT_OPERATION AS OBJECT (
wn_npequipmentoperid NUMBER,
wv_npactiveservicenumber VARCHAR2(15),
wv_npspecification VARCHAR2(8),
wv_nptype VARCHAR2(2),
wn_nporderid NUMBER,
wn_npguidenumber NUMBER,
wd_npdevolutionprogramdate DATE
CREATE OR REPLACE
TYPE TT_EQUIPMENT_OPERATION_LST
AS TABLE OF "CONTROL_EQUIPMENT"."TO_EQUIPMENT_OPERATION"
Java can read this SQL Types. The problem is how cast OBJECT to RECORD, because I can't execute that:
DECLARE
wt_operation_lst TT_EQUIPMENT_OPERATION_LST;
BEGIN
SELECT EO.npequipmentoperid,
EO.npactiveservicenumber,
S.npspecification,
S.nptype,
EO.nporderid,
EO.npguidenumber,
ES.npdevolutionprogramdate
BULK COLLECT INTO wt_operation_lst
FROM NP_EQUIPMENT_OPERATIONS EO,
NP_EQUIPMENT_STATUS ES,
ORDERS.NP_ORDER O,
ORDERS.NP_SPECIFICATION S
WHERE EO.npequipstatid = ES.npequipstatid
AND EO.nporderid = O.nporderid
AND O.npspecificationid = S.npspecificationid
AND EO.npequipstatid = an_npequipstatid;
END;
and throws NOT ENOUGH VALUES, and I modified to:
DECLARE
wt_operation_lst TT_EQUIPMENT_OPERATION_LST;
BEGIN
SELECT TO_EQUIPMENT_OPERATION(EO.npequipmentoperid,
EO.npactiveservicenumber,
S.npspecification,
S.nptype,
EO.nporderid,
EO.npguidenumber,
ES.npdevolutionprogramdate)
BULK COLLECT INTO wt_operation_lst
FROM NP_EQUIPMENT_OPERATIONS EO,
NP_EQUIPMENT_STATUS ES,
ORDERS.NP_ORDER O,
ORDERS.NP_SPECIFICATION S
WHERE EO.npequipstatid = ES.npequipstatid
AND EO.nporderid = O.nporderid
AND O.npspecificationid = S.npspecificationid
AND EO.npequipstatid = an_npequipstatid;
END;
Worst is that I can't modify this procedure and PL/SQL Types will survive.
I have create a copy that CAST RECORD to OBJECT and OBJECT to RECORD too.
PROCEDURE SP_COPY_PLSQL_TO_SQL(
an_npequipstatid IN NUMBER,
at_dominio_lst OUT ORDERS.TT_EQUIPMENT_OPERATION_LST, --SQL Type
av_message OUT VARCHAR2
IS
wt_dominio_lst CONTROL_EQUIPMENT.NP_CONTROL_EQUIPMENT_PKG.TT_TR_EQUIPMENT_OPERATION_LST; --PL/SQL Type
BEGIN
SP_GET_EQUIPMENT_OPERATION_LST(an_npequipstatid, wt_dominio_lst, av_message);
IF av_message IS NULL THEN
at_dominio_lst := ORDERS.TT_EQUIPMENT_OPERATION_LST(ORDERS.TO_EQUIPMENT_OPERATION('','','','','','',''));
at_dominio_lst.EXTEND(wt_dominio_lst.COUNT - 1);
FOR i IN 1..wt_dominio_lst.COUNT LOOP
at_dominio_lst(i) := ORDERS.TO_EQUIPMENT_OPERATION(wt_dominio_lst(i).wn_npequipmentoperid,
wt_dominio_lst(i).wv_npactiveservicenumber,
wt_dominio_lst(i).wv_npspecification,
wt_dominio_lst(i).wv_nptype,
wt_dominio_lst(i).wn_nporderid,
wt_dominio_lst(i).wn_npguidenumber,
wt_dominio_lst(i).wd_npdevolutionprogramdate
END LOOP;
END IF;
END;
I would like that the CAST is direct. Somebody can help me?. Thank you so much!

I am facing the same problem as u had...may I know how u solved ur probkem...
thanks,
kishore

Similar Messages

  • I just got my new i phone 5 s and did all the syncing and backing up for my old iphone 4s and set my 5 up and synced it on itunes  it synced evrything but the contacts and othe minior things were the only things that really transfered  my apps and all my

    I just got my new i phone 5 s and did all the syncing and backing up for my old iphone 4s and set my 5 up and synced it on itunes.  It synced evrything but the contacts and other minor things. those were the only things that really transfered.  My apps and all my music did not. Tthe thing is when i just went to go manually start dowmloading a few of the songs that i knew i already bought , itunes is making me pay forthem again.  Its not saying instal like it usuall does when you go download something aleady purchased on your itunes account.  I think or thought it might have something to do with the fact that i just changed my apple id name right before i got my new phine but my apps all re-downloaded (manually-no syncing) without making me pay for them again.  i dont want to have to purchase allllll my songs again.  Can someone please help me!!  Itried going back to my old id or signing out of this id and signing in as my old apple id but now it wot even get on that oneits likjeit doesnt exist anymore..   And when i plug my old phone it shows in the itunes everything thats supposed to be there but all that doesnt stay in the itunes when i actually un plug it so when i plug my 5 in to my computer none of the stuff is in the store for me to actually transfer it  I am so good with technology and this has me stumped  please help

    No it's not stealing. They have an allowance that you can share with so many computers/devices. You'll have to authorize her computer to play/use anything bought on your acct. You can do this under the Store menu at top when iTunes is open on her computer.
    As far as getting it all on her computer....I think but I am not sure (because I don't use the feature) but I think if you turn on Home Sharing in iTunes it may copy the music to her computer. I don't know maybe it just streams it. If nothing else you can sign into your acct on her computer and download it all to her computer from the cloud. Not sure exactly how to go about that, I haven't had to do that yet. I wonder if once you authorize her computer and then set it up for automatic downloads (under Edit>Preferences>Store) if everything would download. Sorry I'm not much help on that.

  • Aperture forgets it license and asks me for the serial number over and over again

    Hi,
    This is getting ridiculous to the point where I'm thinking of just ditching Aperture.  It's continually forgetting is license and asking me for the serial number over and over again.  I have the original serial number and an upgrade number when I upgraded to v3, but right now, it's not  accepting either of them. What's going on and how do I fix it permanently?
    Thanks,
    Rob

    Rob, have you upgraded to Aperture 3.4.3? This is supposed to have fixed the serial number problem:
    http://support.apple.com/kb/DL1610
    About Aperture 3.4.3
    Addresses an issue that could cause a licensed copy of Aperture to prompt for a serial number with each launch
    Be sure to enter the serial number, when you are logged in from an account with Administrator priveleges - otherwise can it not be stored.
    Aperture is installed for all users on your mac, so the serial number is written to the system library, not the user library, and this requires read/write access for administrators. Do you enter your serial number using an administrator account?
    When did this start? Have you migrated your system from from another mac? Then you still may have an older ProAppSystemID file  or Aperture cannot write to the System Library.
    To stop Aperture asking for the serial number, first check, if you still have an old file "ProAppSystemID" in your System Library.
    Quit Aperture.
    Go to your MacintoshHD and open the folder "Library", then "Application Support", then "ProApps".
    Remove the File "ProAppsSystemID" to the Desktop, if it exist and restart Aperture.
    Reenter your serial number, hopefully for the last time.
    Sometimes Aperture writes this file to a temporary directory, when it cannot write to the Library. If the above does not work, look at the temporary directory /tmp
    Use the Finder's "Go" menu
         Go > Got to folder    and  enter /tmp into the textfield. If you see the file there, move it to its proper location.
    In this case you may want to repair the permissions on your system drive; you can do this using the "First Aid" tools in "Disk Utility" (located in Applications > Utilities)
    Regards
    Léonie

  • Subtotal and grand total for two fields(iseg-buchm and iseg-erfmg)

    hi experts,
        how to do subtotal and grand total for two fields (iseg-buchm and iseg-erfmg).please help me on solving the problem.

    subtotal & grand total can be done in folowing way in ALV.
    1.Pass it_sort parametere to REUSE_ALV_GRID_DISPLAY
    2.Give the field name for sorting in it_sort-fieldname. it can be any field name  u want to sort ur data with.
    3.For iseg-buchm & iseg-erfmg mark do_sum = 'X'. in fieldcat
      gs_sort-spos = 1.
      gs_sort-fieldname = 'ANY FIELD NAME'.
      gs_sort-up = 'X'.
      gs_sort-subtot = 'X'.
      APPEND gs_sort TO et_sort.
      IF iv_fieldname = 'BUCHM'
      OR iv_fieldname = 'ERFMG'.
        gs_fieldcat-do_sum = 'X'.
      ENDIF.
      APPEND gs_fieldcat TO gt_fieldcat.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
           is_variant              = ev_variant
          it_fieldcat             = gt_fieldcat[]

  • HT204053 I would like to have one apple ID and sign in for the Australian Apple Store and for the New Zealand Apple Store without it asking me to switch stores. Is this possible?

    I would like to have one apple ID and sign in for the Australian Apple Store and for the New Zealand Apple Store without it asking me to switch stores. Is this possible? If not can I setup two stores (one in each country) using the same email address and same password (both and / or either)?

    An iTunes account can only be used in one store at a time, and you need to be in that country with a valid billing address on your account for that country in order to use it there. An email address can only be linked to one account, so if you want two separate iTunes accounts then you will need two email addresses

  • HT201210 my got to many times enter wrong pasword and it lock for 23,455,555 minutes and i try to reset but its not reseting and i got error number 9

    i enter too many times a wrong pasword and it lock for 23,465,444 minutes and i try to reset but its not hapening

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    A
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    7. iOS - Unable to update or restore
    Forgotten Restrictions Passcode Help
                iPad,iPod,iPod Touch Recovery Mode
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
    Also, see iTunes- Restoring iOS software.

  • How to retrieve Min(startDate) and Max(endDate) for different groups of data? (sql server 2000)

    My sample dataset (below) contains 3 groups -- 'a', 'b', 'c'.  I need to retrieve the Min(startDate) and Max(EndDate) for each group so that the output looks something like this (date format not an issue):
    fk   minStart       maxEnd
    a    1/13/1985    12/31/2003
    b    2/14/1986    12/31/2003
    c    4/26/1987    12/31/2002
    What is the Tsql to perform this type of operation?  Note:  the actual data resides in a sql server 2000 DB.  If the Tsql is different between version 2000 and the later versions -- I would be grateful for both versions of the Tsql
    --I noticed that multiple lines of Insert values doesn't work in Sql Server 2000 -- this sample is in Sql Server 2008
    create table #tmp2(rowID int Identity(1,1), fk varchar(1), startDate datetime, endDate datetime)
    insert into #tmp2
    values
    ('a', '1/13/1985', '12/31/1999'),
    ('a', '3/17/1992', '12/31/1997'),
    ('a', '4/21/1987', '12/31/2003'),
    ('b', '2/14/1986', '12/31/2003'),
    ('b', '5/30/1993', '12/31/2001'),
    ('b', '6/15/1994', '12/31/2003'),
    ('b', '7/7/2001', '12/31/2003'),
    ('c', '4/26/1987', '12/31/1991'),
    ('c', '8/14/1992', '12/31/1998'),
    ('c', '9/10/1995', '12/31/2002'),
    ('c', '10/9/1996', '12/31/2000')
    Thanks
    Rich P

    Rich
    It is unclear what you are trying to achieve, you said that it is SQL Server 2000 but provide a sample data with SQL Server 2008 syntax
    Is it possible to use UNION ALL for your queries to make its one 
    select * from
    select * from #tmp2 t1 where exists
    (select * from (select top 1 * from #tmp2 t2 where t2.fk = t1.fk order by t2.startdate) x where x.rowID = t1.rowID)
    UNION ALL
    select * from #tmp2 t1 where exists
    (select * from (select top 1 * from #tmp2 t2 where t2.fk = t1.fk order by t2.Enddate desc) x where x.rowID = t1.rowID)
     as  der order by fk
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Just days ago, I downloaded and created folders for two batches of photos and now they are missing. They were not deleted by anyone, and even if they were, they were not found in my trash can. What happened? They were erased from my camera, so I am upset.

    Just days ago, I downloaded and created folders for 2 batches of photos I downloaded from my camera to iphotos but now both are missing.  They were not deleted and even if they were, were not found in my trashcan. I have looked through every folder and they are not there. Is there a bug that can get into iPhoto to do this? Is there a program Apple offers to retrieve lost photos? Thank you.

    debbie5891 wrote: ... They were not deleted and even if they were, were not found in my trashcan...
    How do you know they were not deleted? Is it possible that they were moved to the trash and the trash has been emptied, if not by you, perhaps by someone else?
    In the best case, you mean they were not deleted from your camera.  If so, it will be simple to merely download again from your camera after you have corrected any problem with your Mac or workflow.
    If you have a way to be certain that your two folders were not deleted from your Mac,  follow the directions provided by your Mac's Disk Utility to repair your Disk (not Disk Permissions.)  On more than one occasion, disk repair has restored the visibility of missing folders I knew I had not deleted.  If you have trouble with the process, post back which specific Mac OS version ( > About This Mac) you are using so we can offer specific help.
    It is also possible that the missing folders might be saved somewhere you do not expect them to be.
    It is also possible that they may merely be invisible and, thus, not showing in your Finder windows even after performing a Disk Repair.
    Here are some more ideas you can consider:
    Restart Mac and then look where you expect the folders to be.  They may be visible there now.
    If not, try a Spotlight search for the folder name(s) you used.  Spotlight may give you a list of places to look.  If you don't remember the folder name(s), try a search for the file type your camera uses for saved images.  My cameras save "jpg" files, but yours may save other image file types. 
    You can also open a finder window and use the window's search oval to search.  The method allows you to use the search "+" button to add invisible items via the "File Visibility"  choice.
    debbie5891 wrote:... I have looked through every folder and they are not there....
    If you are using any version of Mac OS X, I doubt this statement can be true.
    If you select your disk volume name (not the Media item) in the sidebar of your Mac's Disk Utility, you will see that the number of Folders and files on your disk is very large.  For example,I keep my startup disk small and write most of my files to other disks.  Even so, my startup disk contains more than 195,000 folders.
    If you mean you used some software to search each folder, please post back the name of the app you are using.
    debbie5891 wrote: ... Is there a bug that can get into iPhoto to do this? ...
    I have not had the problem you describe, nor have I heard of such an iPhoto Bug.
    I have used every version of iPhoto I have seen including the current new version: iPhoto '11 version 9.5 (902.7).  You can find the version you are using by executing the iPhoto > About iPhoto menu command and post it back here.
    debbie5891 wrote:... Is there a program Apple offers to retrieve lost photos? ...
    I am not aware of any Apple apps that work specifically on photo files.  If you know the pathname to the lost files, and if you are comfortable with Unix commands, you might be able to use your Mac's Terminal utility to retrieve at least some of your images.  However, it will be MUCH simpler to merely download another copy from your camera.
    You can search the Mac App Store for "unerase" to find several apps that can unerase files, including deleted photo files, in certain circumstances even after the trash has been emptied.  To determine whether one or more of them may meet your needs, see their product info and reviews for specifics about each one.
    debbie5891 wrote:...Thank you.
    You're most welcome.
    If you need to post back for more information, please provide specifics on your Mac OS, iPhoto version, which of the suggestions offered here you have tried, and any details not already provided about the problem status.
    Message was edited by: EZ Jim
    Mac OSX 10.9

  • Apple, I downloaded a app from tongbu (minecraft pe) and it ask for my Apple ID details and then the app crashed I am scared that it will get my Apple ID and use it on my credit card please tell me what should I do but I don't want to factory reset .

    Hi I downladed minecraft of tongbu, and it asked for Apple ID, it crashed I think it is used to get Apple ID and use it on MY credit card please tell me what to do. I do not want to factory reset because I have a lot of gaming progress, tell me what should I do, I beg you.

    Hello there wkertisrags,
    It sounds like you are concerned about your Apple ID security. I would start by resetting your Apple ID password with this article:
    Apple ID: Changing your password
    http://support.apple.com/kb/ht5624
    You can also add some enhanced security with Two-Step Verification, and here is some more information on that:
    Frequently asked questions about two-step verification for Apple ID
    http://support.apple.com/kb/ht5570
    If you feel your account data or security has been compromised you may want to reach out to our Account Security team with this article:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • HT1212 my iphone is frozen on the lock screen and will not let me enter my passcode, I have held the home button and power button for up to 1 minute and plugged it up to itunes because its locked it wont work? i need help

    i have connected it to itunes like i was told to do and it wont do anything because its locked with a passcode and its frozen on the lock screen and will not let me enter myt passcode and after a while it just shuts off, it has been doing this for almost 48 hours. I was told to hold the home button and power button to shut it down and that I could then restart it and it would work... Nothing has helped, What can I try???

    Reset the device by pressing and holding the home and power buttons for 15-20 seconds until the white Apple logo appears.
    If that does not resolve, restore the device via iTunes on the computer.
    If all else fails, take the device to Apple (or whomever provides support in your country) for evaluation and possible replacement.

  • Publish and Share Settings for Storing on Amazon S3 and linking on blog, in autoresponder, etc

    I want to publish/share my Premiere Elements 11 video such that I can store it on Amazon S3 and then link to it in my blog, facebook, autoresponder. I know I DON"T want the Online settings because I am not directly uploading to YouTube, etc. 
    There are so many possible choices my head is spinning.
    Are the settings for playing on a computer - what I want?  And if so, exactly WHICH settings do I want?   I tried the FLA settings, having read that flash is the way to go.  But the final video looked really horrible.  Please HELP! Thanks!

    posturally
    What computer operating system is your Premiere Elements 11 running on?
    First, if you have not already, you will need to do some homework regarding Amazon S3 and its requirements for uploads to it for sharing purposes...requirements to include duration, file size, and formats (video and audio compressions as well as file extension), etc..
    And, how is your Premiere Elements 11 project set up....
    a. What is the project preset, and does the project preset match the properties of the source media?
    b. What are the properties of the source media? (See Edit Menu/Project Settings/General and its readings for Editing Mode, Timebase, Frame
    Size, Pixel Aspect Ration (even if they look grayed out).
    Based on the above, now your choices for the export setting...assuming that 1080p30 (1920 x 1080 @ 30 progressive frames per second) is OK
    with Amazon S3, then look at
    Publish+Share
    Computer
    AVCHD
    with Presets = MP4 - H.264 1920 x 1080p30
    That will give you an AVCHD.mp4 (1920 x 1080 @ 29.97 progressive frames per second).
    So, more details and a look at the AVCHD.mp4 export if applicable to your project settings.
    We will be watching for your follow up and results. Please do not hesitate to ask questions or to ask for clarification.
    Thanks.
    ATR

  • Object id for opportunity is created  through se38 but that object id doesnt exist in sap crm webui

    Hello All,,
      i am creating  an opportunity from report program (se38) using fm bapi_opportunity_createmulti.
    object id is  created successfully without any error .
    but that object id does not exist when i am giving that object id to sap crm .
    please help me out what i am missing or what happen.
    Ahmad....

    Thanks Arden now its  creating i left logical keys and handle in my  FM modules.
    but i am getting eroor which i have attch please tell me how can i do this .

  • Version 6 and 7 hangs for 10 to 20 seconds and grabs all of CPU process

    Using either version 6 or 7 on OSX 10.6.8 the browser will randomly 'hang' for ten to twenty seconds and become unresponsive. If clicking is attempted you get the spinning beachball of death. If you check the system activity monitor, it can be seen that Firefox is taking up to 100% of the processor time dring this hang. It also says that 'Firefox is not responding'.
    After the hang everything goes back to normal.
    This is annoying beyond the call of duty. I have started to use Safari and Chrome due to this hanging.
    In fact it has just happened while I have been typing this and tried to use the text window scroll bar!
    I have gone back to version 6 and it still happens.

    Try:
    *http://blog.bonardo.net/2011/09/30/is-your-firefor-freezing-at-regular-intervals
    *Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/

  • Data source and data target for p.o condition records

    Hi All,
    can any one help me what is the data source for p.o and shedule line  condition records and their data target
    Thanks
    sivakumar R

    hi sri,
    to pick up the condition records from the table table konv with respect to the p.o no  and also schedule line with condition values from table A016 any data souce and any data target are available in standard.
    pl help on this
    Thanks
    sivakumar R
    Edited by: Siva Kumar on Feb 19, 2010 10:22 AM

  • Absolute and relative addressing for stylesheets: issue with IE6 and pages not in the root

    The following conditional comment gives me a problem when I arrange my site into folders (instead of all pages in one directory, or all in the root). The directories are built according to the site hierarchy.
    <!--[if lte IE6]>
    <link rel="stylesheet" media="all" type="text/css" href="../styles/dropdown_ie.css />
    <![endif]-->
    <!--[if IE]>
    My homepage is in the rootfolder, the dropdown_ie.css is in the folder "styles".
    I use the dropdown menu from Stu Nichols http://www.cssplay.co.uk/menus/dd_valid.html and this works as long as all pages are in the same folder (or, in my case, as long as they all are together with the homepage in the rootfolder). But when pages are in different folders, the dropdown_ie.css is not read anymore when using IE6. Other browsers are ok; for those I use:
    <style type="text/css">
    <!--
    @import url("../styles/flyout.css");
    @import url("../styles/dropdown.css");
    -->
    </style>
    What do you suggest I do to get the pages not in the root to read the dropdown_ie.css file when using IE6?
    And I have a feeling that the way I import the styles may not be right, but I am not sure.
    Any help will be greatly appreciated.
    Erik

    I solved this one by changing the relative addressing of my stylesheet location in absolute addressing. And I had to do this not only for the stylesheet, but for all addressing in the html related to this drop down menu:
    href="http://mysafety.be/styles/dropdown_ie.css"
    Changing the location of my files into subdirectories (and removing the spaces in the file names) also means that all my google indexing got screwed up; I submitted to google the whole list of addresses for removal from their cache. It will be another 4 weeks before everything is indexed correctly again, but I guess I better do this now before the site becomes fully operational.

Maybe you are looking for