Urgent: Mutliple prompting of parameters on Access page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • s2230011
    New Member
    • Oct 2008
    • 4

    Urgent: Mutliple prompting of parameters on Access page

    Hi all,

    I am just newbie to access but it got pushed onto me at work for some urgently needed work.

    My problem is that I have a query that prompts the user to search a field of the database for a certain string. Everything worked fine, until I put a serverfilter hyperlink in the results bought back( to open up the record in more details). The page now prompts me twice for the string everytime. If I remove the serverfilter string, it works fine again

    I have looked everywhere online, but cant find an answer. I really hope someone can assist me as soon as possible.

    Much appreciated.

    John
  • Stewart Ross
    Recognized Expert Moderator Specialist
    • Feb 2008
    • 2545

    #2
    Could you post the SQL for your query, please? Without seeing it there is too little detail for us to guess what might be wrong.

    Thanks

    Stewart

    Comment

    • s2230011
      New Member
      • Oct 2008
      • 4

      #3
      Thanks for your reply, the query is:

      ALTER PROCEDURE QuerySoftware

      (
      @Software_you_w ould_like_to_se arch_for nvarchar(150)
      )

      AS
      /* SET NOCOUNT ON */
      Select * from pcaudit
      where displayname like '%'+ @Software_you_w ould_like_to_se arch_for +'%'
      RETURN

      Comment

      • s2230011
        New Member
        • Oct 2008
        • 4

        #4
        I am not sure how can a simple query like this would cause a problem ?

        Select * from pcaudit
        where displayname like '%'+ @Software_you_w ould_like_to_se arch_for +'%'

        Comment

        • s2230011
          New Member
          • Oct 2008
          • 4

          #5
          Anyone at all ?!?!?

          Comment

          Working...