Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Inspect a Hyperlink field address to determine target file type

Discussion in 'Information Technology' started by Stacey Bailey, Nov 15, 2005.

  1. Stacey Bailey

    Stacey Bailey
    Expand Collapse
    Guest

    All,

    I have a table in Access that it linked to a SharePoint Database. There is
    a field in that table that is a hyperlink field. The hyperlinks all use
    display names and point to other documents in the portal. I need to be able
    to exclude all rows where the hyperlink target address is a .pvw file in my
    query, but I can't get that to work.
    Any ideas?

    Thanks.
     
  2. Loading...

    Similar Threads Forum Date
    Sikh News VB books Punjab Agro DM, inspector (The Times of India) Breaking News Aug 10, 2008
    Sikh News Punjab police inspector found dead (Calcutta News) Breaking News Aug 5, 2008
    Sikh News 17K food inspectors on leave in Punjab (The Times of India) Breaking News Mar 17, 2008
    Sikh News Punjab Police Sub-Inspector arrested in Nurmahal suicide case (New Kerala) Breaking News Jul 2, 2007
    Sikh News Punjab Health minister calls for protecting drug inspectors (New Kerala) Breaking News Jun 22, 2007

  3. Brendan Reynolds

    Brendan Reynolds
    Expand Collapse
    Guest

    SELECT tblTest.TestURL
    FROM tblTest
    WHERE (((tblTest.TestURL) Not Like "*.pvw*"));

    The only problem I see with the above is that if you had a file name
    something like "somefile.pvw.txt" it would be excluded too. I can't think of
    a solution to that other than avoiding more than one "." character in a file
    name.

    --
    Brendan Reynolds


    "Stacey Bailey" <StaceyBailey@discussions.microsoft.com> wrote in message
    news:DD75C0C4-EE5B-4972-8E75-02DD82B0CF0E@microsoft.com...
    > All,
    >
    > I have a table in Access that it linked to a SharePoint Database. There
    > is
    > a field in that table that is a hyperlink field. The hyperlinks all use
    > display names and point to other documents in the portal. I need to be
    > able
    > to exclude all rows where the hyperlink target address is a .pvw file in
    > my
    > query, but I can't get that to work.
    > Any ideas?
    >
    > Thanks.
     

Share This Page