Welcome to SPN

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

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

RE: Parameter Query and WildCards

Discussion in 'Information Technology' started by Ofer, Nov 1, 2005.

  1. Ofer

    Ofer
    Expand Collapse
    Guest

    Try this, to display the Author's that their name contain the parameter
    enter, and if no parameter entered it will display all.

    SELECT Index_Author.Author AS Srch_Author_Author, Catalog.accession_no,
    Catalog.abstract, Catalog.subjects, Catalog.[journal title], Catalog.author
    AS Catalog_author, Catalog.title, Catalog.volume_issue, Catalog.publisher,
    Catalog.publisher_location, Catalog.pages, Catalog.date, Catalog.isbn,
    Catalog.issn, Catalog.oclc, Catalog.owned, Catalog.holdings,
    Catalog.language, Catalog.notes, Catalog.acquisition_method
    FROM [Catalog] INNER JOIN Index_Author ON Catalog.author = Index_Author.Author
    WHERE Index_Author.Author Like "*" & [Enter Author Name:] & "*"

    --
    If I answered your question, please mark it as an answer. That way, it will
    stay saved for a longer time, so other can benifit from it.

    Good luck



    "Angela Semotan" wrote:

    >
    > I have created a (below) Parameter Query. I would like to change this query
    > so that I get results as follows:
    >
    > 1. I want my Query not to be limited to Authors names - but include text in
    > all fields. This would basically be a free-text search. In the past I have
    > created such a parameter using a combination of wildcards. Unfortunately,
    > that was years ago and has since become a fuzzy memory.
    >
    > 2. I want the results to be multiple. I have a multi-page report to apply to
    > this query. Right now, I only get one result and there are several records
    > with identical information in the author field.
    >
    > SELECT Index_Author.Author AS Srch_Author_Author, Catalog.accession_no,
    > Catalog.abstract, Catalog.subjects, Catalog.[journal title], Catalog.author
    > AS Catalog_author, Catalog.title, Catalog.volume_issue, Catalog.publisher,
    > Catalog.publisher_location, Catalog.pages, Catalog.date, Catalog.isbn,
    > Catalog.issn, Catalog.oclc, Catalog.owned, Catalog.holdings,
    > Catalog.language, Catalog.notes, Catalog.acquisition_method
    > FROM [Catalog] INNER JOIN Index_Author ON Catalog.author = Index_Author.Author
    > WHERE (((Index_Author.Author)=[Enter Author Name:]));
    >
    > Please advise - Thank you,
    > Angela
    >
     
  2. Loading...


Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page