Alpha Video Training
Results 1 to 8 of 8

Thread: Use of query string as argument in filter

  1. #1
    Member FrankR's Avatar
    Real Name
    Frank R
    Join Date
    Mar 2006
    Posts
    210

    Default Use of query string as argument in filter

    I just read about arguments of filters. It spoke of use of page variable, session variable, cookie. What about - a query string?

    Is there not a codeless way to specify an element of a query string as a filter parameter?
    Frank R

  2. #2
    Member
    Real Name
    Ron Leunis
    Join Date
    Sep 2005
    Location
    Netherlands
    Posts
    652

    Default Re: Use of query string as argument in filter

    Quote Originally Posted by FrankR View Post
    an element of a query string as a filter parameter?
    It would help (at least to me), if you would explain a little bit more what you are trying to accomplish.

    Any query string has (as a result of the query) a value which can be used to filter records in Alpha.

  3. #3
    Member FrankR's Avatar
    Real Name
    Frank R
    Join Date
    Mar 2006
    Posts
    210

    Default Re: Use of query string as argument in filter

    I want to be able to invoke a page with

    http://....../pagename?P1=first&P2=second&P3=third

    and have P2 and P3 be arguments that are automatically used
    in the filter of a query of a control.
    Frank R

  4. #4
    Member
    Real Name
    Ron Leunis
    Join Date
    Sep 2005
    Location
    Netherlands
    Posts
    652

    Default Re: Use of query string as argument in filter

    See attached. Your link did not work...

  5. #5
    Member FrankR's Avatar
    Real Name
    Frank R
    Join Date
    Mar 2006
    Posts
    210

    Default Re: Use of query string as argument in filter

    If someone familiar with web app construction, and this question as it relates to Alpha, can respond, it would be appreciated.
    Frank R

  6. #6
    Member
    Real Name
    Ron Leunis
    Join Date
    Sep 2005
    Location
    Netherlands
    Posts
    652
    Last edited by rleunis; 04-09-2009 at 04:15 PM.

  7. #7
    "Certified" Alphaholic NoeticCC's Avatar
    Real Name
    Andrea Gill
    Join Date
    Nov 2007
    Location
    Golcar, West Yorkshire, UK
    Posts
    2,069

    Default Re: Use of query string as argument in filter

    Quote Originally Posted by FrankR View Post
    I want to be able to invoke a page with

    http://....../pagename?P1=first&P2=second&P3=third

    and have P2 and P3 be arguments that are automatically used
    in the filter of a query of a control.
    Just definte P1, P2 etc. as arguments on the dialog/grid, passing them in the way you outlined will automatically read them in as page variables.

    (A variable passed to a page in the format you describe is a page variable)

  8. #8
    Member FrankR's Avatar
    Real Name
    Frank R
    Join Date
    Mar 2006
    Posts
    210

    Default Re: Use of query string as argument in filter

    Quote Originally Posted by NoeticCC View Post
    Just definte P1, P2 etc. as arguments on the dialog/grid, passing them in the way you outlined will automatically read them in as page variables.

    (A variable passed to a page in the format you describe is a page variable)
    Ahh - thank you much.
    Frank R

Similar Threads

  1. Trouble with getting the query string
    By ragnar in forum Web Application Server v6
    Replies: 3
    Last Post: 05-09-2008, 10:20 AM
  2. Error On Save With Argument In Filter
    By Phil Rolf in forum Application Server Version 8
    Replies: 1
    Last Post: 04-07-2007, 04:06 PM
  3. query argument limit
    By Steve Wood in forum Alpha Five Version 7
    Replies: 3
    Last Post: 10-03-2006, 09:32 PM
  4. Query by form problem: Argument is incorrect data type
    By fairviewcomputing in forum Alpha Five Version 7
    Replies: 1
    Last Post: 08-11-2006, 05:43 PM
  5. Using xDialog to build filter-string
    By SwissCharles in forum Alpha Five Version 6
    Replies: 12
    Last Post: 02-17-2006, 05:47 AM

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
  •