Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Issue concerning command procedures and resultant selection set

New Here ,
May 19, 2009 May 19, 2009

Copy link to clipboard

Copied

I have created acommand procedure which returns a set of records (correctly). I would like to use the ID from the set as a link to a detail page. The ID is corectly returned to me.  However, when I try to create the detail page it appears to only be possible if the set of records is from a recordset query.  So - how can I add the link to my results page ID so I can pull up a detail page on the item?

Thank you.

TOPICS
Server side applications

Views

536
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
May 20, 2009 May 20, 2009

Copy link to clipboard

Copied

On you results page you'll need a query to pull the record from the database and in your SQL statement the WHERE statement will be dynamically populated by a URL variable. You'll pass the ID in your URL to the Results page to provide this variable.

Just how you do this varies a little depending on which language you are using - PHP, ColdFusion, ASP - but the principle is the same for all.

Lawrence   *Adobe Community Expert*
www.Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in ASP, PHP and CF

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 22, 2009 May 22, 2009

Copy link to clipboard

Copied

I know how to do this if my records come from a recordset query.  BUT - My records are the result of a command procedure and I can't seem to set up a link using any of the returned columns in the results set.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 21, 2009 May 21, 2009

Copy link to clipboard

Copied

What is the server-side language did u use? PHP, ASP, etc.. ?

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 22, 2009 May 22, 2009

Copy link to clipboard

Copied

LATEST

I am using asp

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines