Help in rank

Hi ,
i ahve a table mat1 which has values
GRN_N     GRN_D     SEQ_N
1     1/1/2001 12:00:00.000 AM     [NULL]
1     1/1/2002 12:00:00.000 AM     [NULL]
1     1/1/2003 12:00:00.000 AM     [NULL]
1     1/1/2004 12:00:00.000 AM     [NULL]
2     1/1/2001 12:00:00.000 AM     [NULL]
2     1/1/2002 12:00:00.000 AM     [NULL]
2     1/1/2003 12:00:00.000 AM     [NULL]
2     1/1/2004 12:00:00.000 AM     [NULL]
I need to write a logic to update the seq_n so that the output is
1     1/1/2001 12:00:00.000 AM     1
1     1/1/2002 12:00:00.000 AM     2
1     1/1/2003 12:00:00.000 AM     3
1     1/1/2004 12:00:00.000 AM     4
2     1/1/2001 12:00:00.000 AM     1
2     1/1/2002 12:00:00.000 AM     2
2     1/1/2003 12:00:00.000 AM     3
2     1/1/2004 12:00:00.000 AM     4
the date will be different for each grn_n
if 4 dates are there for a grn_n then the min of the date should have 1 and max should have 4.
is it possible with a single select statement..
plz help..
thanks in advance..
mathew

SQL> create table MyTable (c1 number, c2 date, c3 number);
Table created.
SQL> insert into MyTable
  2  select 1 as c1, to_date('01/01/2001 12:00:00','DD/MM/YYYY HH24:MI:SS') as c2, to_number(NULL) as c3
  3  from dual union all
  4  select 1 as c1, to_date('01/01/2002 12:00:00','DD/MM/YYYY HH24:MI:SS') as c2, to_number(NULL) as c3
  5  from dual union all
  6  select 1 as c1, to_date('01/01/2003 12:00:00','DD/MM/YYYY HH24:MI:SS') as c2, to_number(NULL) as c3
  7  from dual union all
  8  select 1 as c1, to_date('01/01/2004 12:00:00','DD/MM/YYYY HH24:MI:SS') as c2, to_number(NULL) as c3
  9  from dual union all
10  select 2 as c1, to_date('01/01/2001 12:00:00','DD/MM/YYYY HH24:MI:SS') as c2, to_number(NULL) as c3
11  from dual union all
12  select 2 as c1, to_date('01/01/2002 12:00:00','DD/MM/YYYY HH24:MI:SS') as c2, to_number(NULL) as c3
13  from dual union all
14  select 2 as c1, to_date('01/01/2003 12:00:00','DD/MM/YYYY HH24:MI:SS') as c2, to_number(NULL) as c3
15  from dual union all
16  select 2 as c1, to_date('01/01/2004 12:00:00','DD/MM/YYYY HH24:MI:SS') as c2, to_number(NULL) as c3
17  from dual ;
8 rows created.
SQL>
SQL> select * from MyTable;
        C1 C2               C3
         1 01/01/01
         1 01/01/02
         1 01/01/03
         1 01/01/04
         2 01/01/01
         2 01/01/02
         2 01/01/03
         2 01/01/04
8 rows selected.
SQL>
SQL> merge into MyTable a
  2  using (select c1, c2, row_number() over (partition by c1 order by c2) as c3 from MyTable) b
  3  on (a.c1=b.c1 and a.c2=b.c2)
  4  when matched then update set a.c3=b.c3
  5  when not matched then insert (a.c1,a.c2,a.c3) values (null,null,null);
8 rows merged.
SQL> select * from MyTable order by c1,c2;
        C1 C2               C3
         1 01/01/01          1
         1 01/01/02          2
         1 01/01/03          3
         1 01/01/04          4
         2 01/01/01          1
         2 01/01/02          2
         2 01/01/03          3
         2 01/01/04          4
8 rows selected.
SQL> Nicolas.

Similar Messages

  • Need help with RANK() on NULL data

    Hi All
    I am using Oracle 10g and running a query with RANK(), but it is not returning a desired output. Pleas HELP!!
    I have a STATUS table that shows the history of order status.. I have a requirement to display the order and the last status date (max). If there is any NULL date for an order then show NULL.
    STATUS
    ORD_NO | STAT | DT
    1 | Open |
    1 | Pending |
    2 | Open |
    2 | Pending |
    3 | Open |1/1/2009
    3 | Pending |1/6/2009
    3 | Close |
    4 | Open |3/2/2009
    4 | Close |3/4/2009
    Result should be (max date for each ORD_NO otherwise NULL):
    ORD_NO |DT
    1 |
    2 |
    3 |
    4 |3/4/2009
    CREATE TABLE Status (ORD_NO NUMBER, STAT VARCHAR2(10), DT DATE);
    INSERT INTO Status VALUES(1, 'Open', NULL);
    INSERT INTO Status VALUES(1, 'Pending', NULL);
    INSERT INTO Status VALUES(2, 'Open', NULL);
    INSERT INTO Status VALUES(2, 'Pending',NULL);
    INSERT INTO Status VALUES(3, 'Open', '1 JAN 2009');
    INSERT INTO Status VALUES(3,'Pending', '6 JAN 2009');
    INSERT INTO Status VALUES(3, 'Close', NULL);
    INSERT INTO Status VALUES(4, 'Open', '2 MAR 2009');
    INSERT INTO Status VALUES(4, 'Close', '4 MAR 2009');
    COMMIT;
    I tried using RANK function to rank all the orders by date. So used ORDER BY cluse on date in descending order thinking that the null dates would be on top and will be grouped together by each ORD_NO.
    SELECT ORD_NO, DT, RANK() OVER (PARTITION BY ORD_NO ORDER BY DT DESC)
    FROM Status;
    ...but the result was something..
    ORD_NO |DT |RANKING
    *1 | | 1*
    *1 | | 1*
    *2 | | 1*
    *2 | | 1*3 | | 1
    3 |1/6/2009 | 2
    3 |1/1/2009 | 3
    4 |3/4/2009 | 1
    4 |3/2/2009 | 2
    I am not sure why didn't the first two ORD_NOs didn't group together and why ranking of 1 was assigned to them. I was assuming something like:
    ORD_NO |DT |RANKING
    *1 | | 1*
    *1 | | 2*
    *2 | | 1*
    *2 | | 1*
    3 | | 1
    3 |1/6/2009 | 2
    3 |1/1/2009 | 3
    4 |3/4/2009 | 1
    4 |3/2/2009 | 2
    Please guide me if I am missing something here?
    Regards
    Sri

    Hi,
    If i well understood, you don't need rank
    SELECT   ord_no, MAX (dt)KEEP (DENSE_RANK LAST ORDER BY dt) dt
        FROM status
    GROUP BY ord_no
    SQL> select * from status;
        ORD_NO STAT       DT
             1 Open
             1 Pending
             2 Open
             2 Pending
             3 Open       2009-01-01
             3 Pending    2009-01-06
             3 Close
             4 Open       2009-03-02
             4 Close      2009-03-04
    9 ligne(s) sélectionnée(s).
    SQL> SELECT   ord_no, MAX (dt)KEEP (DENSE_RANK LAST ORDER BY dt) dt
      2      FROM status
      3  GROUP BY ord_no;
        ORD_NO DT
             1
             2
             3
             4 2009-03-04
    SQL>

  • Help with RANK function

    I'm trying to avoid using the MAX function and instead use RANK. How would I re-write this query to use the RANK instead?
    SELECT F_To_Unixtime(NVL(MAX(src_rcv_tmstmp),v_def_date)) + 1
    FROM KPI_MNTR_MEASURE_STAGE where src_mntr_system_nm = 'BRIX-1';
    I have this written but it's not ORDERING correctly. I'm getting the MIN src_rcv_tmstmp value instead.
    SELECT src_rcv_tmstmp
    FROM(
    SELECT F_To_Unixtime(NVL(src_rcv_tmstmp,SYSTIMESTAMP - 1)) + 1 src_rcv_tmstmp,
    RANK() OVER (PARTITION BY src_rcv_tmstmp
    ORDER BY src_rcv_tmstmp DESC, ROWNUM) AS rank
    FROM KPI_MNTR_MEASURE_STAGE
    WHERE src_mntr_system_nm = 'BRIX-1')
    WHERE rank = 1
    AND ROWNUM = 1

    Sorry, should have thought of that before:
    CREATE TABLE "KPI_MNTR_MEASURE_STAGE"
    (     "MEASURE_TMSTMP" TIMESTAMP (6) NOT NULL ENABLE,
         "SOURCE_DEVICE_NM" VARCHAR2(40 BYTE) NOT NULL ENABLE,
         "TARGET_DEVICE_NM" VARCHAR2(40 BYTE) NOT NULL ENABLE,
         "SRC_TEST_NM" VARCHAR2(30 BYTE),
         "SRC_TEST_METRIC_NM" VARCHAR2(30 BYTE) NOT NULL ENABLE,
         "SRC_MNTR_SYSTEM_NM" VARCHAR2(30 BYTE),
         "TEST_METRIC_VAL" NUMBER,
         "SRC_RCV_TMSTMP" TIMESTAMP (6),
         "PFMODS_RCV_TMSTMP" TIMESTAMP (6) DEFAULT SYSTIMESTAMP NOT NULL ENABLE
    Inserts:
    Insert into KPI_MNTR_MEASURE_STAGE ("MEASURE_TMSTMP","SOURCE_DEVICE_NM","TARGET_DEVICE_NM","SRC_TEST_NM","SRC_TEST_METRIC_NM","SRC_MNTR_SYSTEM_NM","TEST_METRIC_VAL","SRC_RCV_TMSTMP","PFMODS_RCV_TMSTMP") values ('05-OCT-07 12.27.31.000000000 AM','SPK-PRIV-10','CER-PRIV-10','PING','AVAILABILITY_PCT','BRIX-1','100','05-OCT-07 12.43.06.000000000 AM','06-OCT-07 12.41.31.205318000 AM');
    Insert into KPI_MNTR_MEASURE_STAGE ("MEASURE_TMSTMP","SOURCE_DEVICE_NM","TARGET_DEVICE_NM","SRC_TEST_NM","SRC_TEST_METRIC_NM","SRC_MNTR_SYSTEM_NM","TEST_METRIC_VAL","SRC_RCV_TMSTMP","PFMODS_RCV_TMSTMP") values ('05-OCT-07 09.25.16.000000000 PM','BOI-PRIV-10','CER-PRIV-10','PING','JITTER','BRIX-1','13','05-OCT-07 09.47.45.000000000 PM','06-OCT-07 12.41.31.205318000 AM');

  • Need help displaying rank of records in report

    Post Author: tpoland
    CA Forum: General
    I have a report that is contains summary information that needs to be ranked at the summary level based on performance.*note, this data is completely fictional
    Company
    Location
    Dealer Volume
    Walkin Volume
    CarQuest
    $100,000
    $25,000
    Walden
    $10,000
    $8,000
    Young St
    $20,000
    $12,000
    Main St
    $70,000
    $5,000
    Napa
    $80,000
    $45,000
    Walck
    $15,000
    $10,000
    Ransom
    $20,000
    $22,000
    Syracuse
    $45,000
    $13,000
    So now ranking Dealer Volume and Walkin Volume I would end up with
    Company
    Location
    Dealer Rank
    Dealer Volume
    Walkin Rank
    Walkin Volume
    CarQuest
    1
    $100,000
    2
    $25,000
    Walden
    $10,000
    $8,000
    Young St
    $20,000
    $12,000
    Main St
    $70,000
    $5,000
    Napa
    2
    $80,000
    1
    $45,000
    Walck
    $15,000
    $10,000
    Ransom
    $20,000
    $22,000
    Syracuse
    $45,000
    $13,000
    For the column of Dealer Rank I could use a Running Total but this would be defeated if the data were sorted in a different fashion.  Manually entering the ranking isn't an option because there will be about 4000 summary records in this report.  Any suggestions about how to proceed would be much appreciated.
    thank you in advance,

    Post Author: yangster
    CA Forum: General
    Well this gets pretty ugly.  there is no easy way to create a ranking formula.the dealer ranking you don't have to worry about since it is in your main report and you are sorting by it so you can just start a count that starts at 1 at the topwalkin ranks is another story, you'll need to create a subreport that contains the same summation and create a shared variable for the ranking which will pass it back to the main report

  • Help with ranking function

    /*below is the table format and data I have */
    Create
    table Result(name
    varchar(50),Subject
    varchar(20),Marks
    int)
    insert
    into Result
    values('Adam','Maths',70)
    insert
    into Result
    values
    ('Adam','Science',80)
    insert
    into Result
    values
    ('Adam','Social',60)
    insert
    into Result
    values('Tom','Maths',60)
    insert
    into Result
    values
    ('Tom','Science',50)
    insert
    into Result
    values
    ('Tom','Social',70)
    insert
    into Result
    values('Sam','Maths',90)
    insert
    into Result
    values
    ('Sam','Science',90)
    insert
    into Result
    values
    ('Sam','Social',80)
    Since Same has the highest marks
    , I want
    TO display Sam
    FIRST
    AND
    THEN list
    ALL his marks.
    THEN
    Adam has SECOND highest marks so I want
    TO display Adam
    AND
    THEN
    ALL his marks
    along
    WITH this I also want
    TO
    RANK each ROW
    below is my result set :
    Name  subject  marks  rank
    Sam Maths 90 1
    Sam Science 90 1
    Sam Social 80 3
    Adam Maths 80 4
    Adam Science 70 5
    Adam Social 60 6
    Tom Social 70 7
    Tom Maths 60 8
    Tom Science 50 9

    I'm using ranking function to get the desired result set . But its not working .
    here is what I'm using :
    select
    Name,Subject,Marks,
    RANK
    ()over(partitionbynameorderbyMarksdesc)Rank
    From
    Result
    order
    byname,subject

  • Query Help..Rank

    Hi All..
    I have a simple query as below...
    select t1.product_name,
           t1.code,
           t2.amount1,
           t2.amount2
    from table1 t1,
         table2 t2
    where t1.product_id=t2.product_id
    the o/p for the above query is
    product1     prp    2000    2933
    product1     ptp    2005    2934
    product1     psp    2008    2973
    product2     ptp    203     933
    product2     pwp    20      33
    product3     pnp    2       365
    product3     ptp    299     36005
    is it possible to get an o/p as below..
    1   product1     prp    2000    2933
    1   product1     ptp    2005    2934
    1   product1     psp    2008    2973
    2   product2     ptp    203     933
    2   product2     pwp    20      33
    3   product3     pnp    2       365
    3   product3     ptp    299     36005For all product1's a column showing 1 and for all product2's a column showing 2 and so on..
    thanks in advance...
    Edited by: user10280715 on Jan 16, 2009 3:08 PM

    Not tested
    select dense_rank() over( order by t1.product_name) rn,
    t1.product_name,
           t1.code,
           t2.amount1,
           t2.amount2
    from table1 t1,
         table2 t2
    where t1.product_id=t2.product_idEdited by: Salim Chelabi on 2009-01-16 13:20

  • Meta Tag Placement in pages created from a template

    I am updating a site and want to make sure that I place my meta tags correctly in individual pages created from a template. Can you tell me if my placement is correct?
    Below is code I added to my template:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <!-- #BeginEditable "metatags" --> <!-- #EndEditable -->
    <style type="text/css">
    <!--
    body {
    Here is what a page I created looks like after adding the meta tags:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/2011 Main .dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Long Island, NY, 11550 Music Dance  Art &amp; Drama Lessons</title>
    <!-- InstanceEndEditable -->
    <!-- #BeginEditable "metatags" -->
    <meta name="keywords" content="piano lessons, guitar lessons, drum lessons, flute lessons, violin lessons, afterschool performing arts, voice lessons, singing, saxophone, trumpet">
    <meta name="description" content="Information about Young Musician Institute's Afternoon Arts Program for piano, guitar, drums, violin, viola, trumpet, saxophone and cello">
    <!-- #EndEditable -->
    <style type="text/css">
    <!--
    body {
    As usually, Begin and end editable sections are grayed out, and the meta tag names are blue according to my scheme so I think I am doing it correctly, however, I want to be sure before submitting it to google incorrectly. Can you tell me if I am correct?
    Thank you

    for clarification, are you saying that I could have put them on the line after:
    <title>Long Island, NY, 11550 Music Dance  Art &amp; Drama Lessons</title>
    Yep.
    Second, adding these meta tags actually did help the ranking of this company. They were not listed before I did this on their old site. They were on page 1 of their category hours after I did this for them.
    I think it's just coincidence.  However, for sure it wasn't the keywords that did that, since those are just ignored (the meta keywords contents, not the meta description contents).
    what are the search engines looking for? I want to make sure to design with those things in mind.
    They are looking for semantic content on the page.  That means the contents of tags like <title>, <h1>, <h2>, <h3>.  That also means (derived) keywords contained in content 'above the fold', and in filenames, in links, in title and alt attributes.  In other words, search engines want to rank your pages based on *real* meaning of the contents of the page, not on some arbitrary listing of keywords that you place in a meta keyword tag.
    Search engines also pay lots of attention to INCOMING links from other well ranked sites....

  • Vendor Bank_Pmt

    Hello Friends,
    Vendor "A" has 10 bank accounts.
    There are 10 open invoices which we need to pay to Vendor "A"
    i want to settile Inv.No.1 to vendor Bank.No.1
                           Inv.No.2 to vendor Bank.No.2
                           Inv.No.3 to vendor Bank.No.3.
    Please anybody can tell me the required config. settings to overcome this issue?
    Regards
    MBN

    Hi,
    can u explain me whether u want to post payment thrugh F110 or F-53?
    In F-53, u can do it easily and given separate bank no and select particular invoice doc. no in process open item...
    But in F110, u have to change the bank rank order no. and limit...
    In that, for 1 st bank, u fix the limited amount, it will amount from first bank with the help of rank order. for second invoice automatically it will take second bank by the insufficient amount of first bank.and the same process to third bank.
    so u have to set the bank amount limit and bank rank order in FBZP t.code.
    i think this will enough to u....

  • V (2010) - S1 on BT Vision

    Hey all, just signed up only had BT V for about a week or so after moving house - we don't discuss that experience! 
    I'm in the process of watching "V (2010) S1" (It lives under TV/Warner TV) but some of the episodes seem to be missing. According to IMDB the first series of V has 12 episodes, BT Vision only has 10 of them available. 
    http://www.imdb.com/title/tt1307824/episodes
    Can anyone shed any light on this situation please?
    Cheers
    Dimdom

    Hi and welcome to the forum.
    There are indeed twelve episodes to this re-imagined series. On Demand content on all the series available are added at a later date. Usually week to week.
    Episodes 11 and 12 will appear sometime in the future.
    If you really, really, want to know when, email the Mods and they will post this info on the forum.
    Though why they can't post such detailed info on the Vision website is beyond me. That kind of info would be very useful.
    Hope that helps.
    Rank - Mostly Harmless.

  • Whats on bt vision?

    due to get bt infinity on fri then bt vision the week after now unsure whether to go for bt or sky after reading all the posts on here.  what actually do you get with vision i know you get freeview i have gone for the gold package.  do you only get HD films on box office or are there any on film club channel? now iplayer is live can you get hd content on there now?

    blacky1980 wrote:
    due to get bt infinity on fri then bt vision the week after now unsure whether to go for bt or sky after reading all the posts on here.  what actually do you get with vision i know you get freeview i have gone for the gold package.  do you only get HD films on box office or are there any on film club channel? now iplayer is live can you get hd content on there now?
    Hi and welcome.
    And my God, what a first question to start posting with!  "Whats on BT Vision?".
    Please bear in mind, it only costs £12.50 a mth, or £2.88 a week, so to speak.
    To start with, I'll tell you whats NOT on Vision. Premier brand new first-run shows. These are 99% of the time first shown only on Sky (and by default Virgin cable).
    Apart from the Box Office PPV HD films, HD is a no-no where the rest of the service is concerned. No Film Club, TV, or iPlayer HD is available. But, just for the privilege of accessing HD content, $ky charge their users £10 a mth to be able to view it.
    What you will get with Vision is Freeview TV, Freeview TV On Demand Replay, showing the weeks best TV shows and VOD. That is 'Video on Demand'.
    Vision does not offer extra TV channels. Instead, it offers a library of thousands and thousands of hours of film and TV content that you can watch when you want to watch it. Its all been shown before, but there are some absolute gems on there!
    Soaps, Drama's, Docu's, Comedy, Sci-Fi/Fantasy, Music Videos, and on and on, it's got the lot. Just bear in mind none of its new.
    Personally, I've had all three services, Sky, Virgin and Vision.
    For the pure versatility of the service and the variety of whats on offer, for myself and family, we have found Vision to be the best service we have used and that suits our needs.
    Hope that helps.
    Rank - Mostly Harmless.

  • Use of "Rel" Attribute in Links -- Good Idea?

    Hi --
    I was reading about various SEO methods recently and came
    across several
    pages which advocate the use of the "Rel" attribute on a
    hyperlink. The idea
    being that the "Rel" may influence how a search engine views
    a link and
    possibly help with ranking. For example: <a
    href="help.html" rel="Help">
    need help?</a>.
    Sounds like a good idea, but the more I read the confused I
    became. A Danny
    Sullivan article about use of the attribute "nofollow" used
    by major search
    engines made sense. It was the other article I read which
    used all
    different types of attributes that confused me such as
    rel="met colleague",
    rel="alternate". Is there someplace I can go to find a list
    of widely
    accepted attributes?
    Anyone have any experience with this?
    John

    Thanks, Joe. Yep, the source is the best place to start.
    Should have
    thought of that myself.
    I suspect you're assessment is correct...won't hurt, might
    help.
    Thanks again.
    John
    "Joe Makowiec" <[email protected]> wrote in
    message
    news:[email protected]..
    > On 02 Apr 2008 in macromedia.dreamweaver, Tarvardian
    wrote:
    >
    >> Is there someplace I can go to find a list of widely
    >> accepted attributes?
    >
    > How 'bout the source?
    >
    >
    http://www.w3.org/TR/html401/struct/links.html#adef-rel
    >
    > Note that it has a set of defined values:
    >
    >
    http://www.w3.org/TR/html401/types.html#type-links
    >
    > In looking over the documentation, and given my
    understanding of the way
    > things work in the here and now, I suspect that it's one
    of those "Won't
    > hurt, might help" kind of things.
    >
    > --
    > Joe Makowiec
    >
    http://makowiec.net/
    > Email:
    http://makowiec.net/contact.php

  • How to uninstall a driver

    You guys have helped this rank amatuer a couple times before and I'm sure hoping you can do it again.  I'm trying to resolve a printer problem where somehow I ended up with the printer listed twice in the control panel and each one has different features from the other.  The only info I can find says to me they have two different versions of driver but I don't know enough to prove it.  I go to HP resourse (help) center and they tell me to uninstall the current driver before installing the newest one from the HP site, but I can't determine how to do the uninstall.  I'm running Win7, 64bit (whatever that means) so when I look at the control panel the only option I see that seems reasonable is "Remove Device".  If I select that option, the little picture of the printer will go away but I don't know if that also uninstalls the driver.  I don't think it does.   The HP site also says to click on the little 'Windows' emblem in the lower left corner, then click 'all programs', then click 'HP'.  But when I do all those clicks, there is no 'HP' anywhere on the list of 'all programs'.  Any/all help is much appreciated, I really need to get this straightened out.  I only want one version of my "All-n-one" F-4580 to appear and for it to have all the features of the latest driver.  Thanks, Joe
    This question was solved.
    View Solution.

    Good morning,
    Sounds like you only installed drivers, not software. Driver only should work in many cases but with software, the life is much easier.  Since you mentioned 4500, I don't know which one you have. HP has few printers called 4500, now my question: what is it ?
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Displaying a flash animation by cookie

    I've got a page that has a flash banner on it with a small a
    nimation.  In fact, I've got four versions of this banner, and I'd like to be able to lo
    ad a different version each time someone visits the site.  Can someone please help this rank amateur devise a script that will allow me to do this?  It has four different .swf files, and I need to load them such that the same person doesn't see the same .swf file on consecutive visits.  Normally, I'd do this with cookies, but I just don't see how to get it done with Flash CS5 and/or Actionscript 3.
    Help Please?
    Gene

    Help in these forums tends to be along the lines of you bring some code you're having trouble with and someone will help resolve your troubles.  But handing over solutions usually (but not always) takes the form of poitning someone where to find what they need to learn.

  • How to use Vision Box as PVR

    How do I use my Vision Box on another tv to view recordings without being connected to BT?
    When I power up it tries to search for a connection and goes no further.

    bds1958 wrote:
    How do I use my Vision Box on another tv to view recordings without being connected to BT?
    When I power up it tries to search for a connection and goes no further.
    Hi,
    Your Vision box needs to be connected to your BT BB to boot-up. If it's not connected, it wont.
    If you boot your box up whilst it is connected, then disconnect it from your BB, you WILL be able to view your recordings and use the box to watch Freeview. But you won't have an EPG. And you won't be able to record any further programmes on the box. It would basically be a makeshift doorstop.
    Hope that helps.
    Rank - Mostly Harmless.

  • Co3 error activation date has passed

    Hi all I'm having problems with vision everytime i reboot the box that was delivered yesterday i get the c03 error i tried calling call centre there usless keep saying i promise it will come on it takes time but my activation date has now pass im starting to wish i never left virgin now any ideas how i can watch tv

    Hi,
    1. A C03 error means your Vision account has not been set up correctly at BTs end.
    2. A c02 error means the box tried to upgrade its software and failed. This 99% probably happened because of point 1.
    Get the Mods on it. They are very helpful.
    Rank - Mostly Harmless.

Maybe you are looking for

  • Wininit warning event id 11 wininit nvidia

    I get this warning at power up wininit warning event id 11 wininit.  event viewer shows it is related to nvidx.dll.  I have gone to the registry and changed the key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows loadppininit

  • Deskjet 9800 = Print small part of screen

    Is there a way to print only a small part of the full screen ? 

  • Is there a way to factory unlock my iPhone legally from Apple?

    I bought my iPhone in Japan and now I am returning to India. I would like to do this legally. Does apple not support factory unlock at a price?

  • Dell printer on Macbook?

    Hello- I have a Dell 720 model printer that I am trying to hook up to my late 2007 model Macbook. I looked for a driver on Dell's website and it only says anything about using it on a Windows OS. Does anyone know if there is a way around this, or if

  • Where can i get flash 1.1

    Hi, I want to get flash lite 1.1(not 2.x). I want to know where i can get it since i was unable to find any page. Please reply.