Results 1 to 4 of 4
  1. #1
    aleoni is offline Novice
    Windows XP Access 2007
    Join Date
    May 2010
    Posts
    2

    Pass field value to end of HTML search address

    We have an internal tracking log that can be accessed independently from the full portal site by a web link which calls to a specific web address. At the end of that address is the unique Order Number for the your order. It's a pretty clunky process to get to this tracking log if you go through the usual search screens - but I have saved the web link for the log dialog/window (that provides the status) and am able to manually enter/change the value of the Order Number for the orders I am tracking to get a quick status.



    That address looks like this:

    http://xxxx.xxx.xxx.com/toyo/jsp/log.jsp?suf=LL&uso=38592924

    The eight digits after the = sign can be changed, you press enter or go in IE and it refreshes with the order number you supplied.

    This order number is also a field in an Access database I use to track my projects.

    I would like to know if I am able to and how to pass the value in the Order Number field in my database to the "base" URL via a Clickable Button on my tracking form. So each record I move to, when I click that button, it will use the "http://xxxx.xxx.xxx.com/toyo/jsp/log.jsp?suf=LL&uso=" address and add the eight digit field value on the end in a dialog or browser window.

    Any help / suggestions?

    Thanks in advance for any help!

    Sammy

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,530
    You can concatenate them:

    "http://xxxx.xxx.xxx.com/toyo/jsp/log.jsp?suf=LL&uso=" & Me.ControlWithTheNumber
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    aleoni is offline Novice
    Windows XP Access 2007
    Join Date
    May 2010
    Posts
    2
    I am not very independent with Access and VBA... I received a compile error... here is what I entered:

    __________________________________________________ __
    Private Sub SOTS_Log_Click()

    "http://xxxx.xxx.xxx.com/toyo/jsp/log.jsp?suf=LL&uso=" & Me.QW_T_Access_USO

    End Sub
    __________________________________________________ __

    QW_T_Access_USO is the control field

    Any thoughts?

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,530
    Sorry, it can't be by itself like that. I thought you had existing code you were trying to add it to. Check out FollowHyperlink in VBA help, and use that string in conjunction with that.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Creating a Search Field
    By SKUPenn in forum Programming
    Replies: 1
    Last Post: 01-28-2010, 08:39 PM
  2. Replies: 1
    Last Post: 10-07-2009, 08:15 AM
  3. Input Mask for an IP Address and Mack Address
    By baksg1995 in forum Access
    Replies: 18
    Last Post: 06-23-2009, 12:33 PM
  4. Search any field and part thereof
    By Johan in forum Forms
    Replies: 0
    Last Post: 09-03-2008, 08:01 AM
  5. Search All Field
    By robbiebrown34 in forum Access
    Replies: 0
    Last Post: 05-17-2007, 09:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums