SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2002
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    question about having an update link

    I have a Access DB using ASP with VBscript and I want to have a link, for each result of a search query, that brings me to a page where I can have the actual fields for the updating.
    So my question is how do I put a link on my page if its all vbscript?

  2. #2
    SitePoint Wizard Goof's Avatar
    Join Date
    Feb 2001
    Location
    Pittsburgh, PA
    Posts
    1,154
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If I understand your question, you're asking how to pass data to another asp script for processing...is that correct?

    I would guess that the best option would be to use a querystring in your link, so if you wanted to go to a page to edit an article (for example) on a news site, you're link could look like this:
    Code:
    <a href="edit_article.asp?id=5">Edit this article!</a>
    The edit_article.asp script could then read the ID out of the querystring and reference the article in the database.

    Does that help?
    Goof
    Nathan Rutman
    A slightly offbeat creative.

  3. #3
    SitePoint Member
    Join Date
    Jul 2002
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    its actually simplier than that. I don't know where to put the code to create the link, ie <a href.....</a>.
    If all the code is VBscript, how do I create a link for each result. For example if this was a result from the query:
    companyname 98878030 cdrom locationA 11/2/02 edit

    how do I create that "edit" link?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •