Alpha Video Training
Results 1 to 4 of 4

Thread: Arguments

  1. #1
    Member njguy's Avatar
    Real Name
    Tom Ritter
    Join Date
    Nov 2009
    Location
    New Jersey
    Posts
    289

    Default Arguments

    arg1.JPGarg2.JPG

    I know I have done this before so I must be losing my mind.

    The first screenshot (arg1) shows the arguments I have defined and that they are getting their values from fields on the component. The second screenshot (arg2) shows me using one of those arguments in a simple SQL statement. When I run this I get an error (its used for a drop-down box): "Error: One or more argument values were referenced in the SQL query, but were not found in the argument list"

    Any suggestions

    Thanks

  2. #2
    Moderator Steve Workings's Avatar
    Real Name
    Steve Workings
    Join Date
    Apr 2000
    Location
    The Dreaded Chair
    Posts
    5,592

    Default Re: Arguments

    I don't think you can build a dynamic dropdown list this way Tom. Instead, use the OnChange event of the Plant field to trigger a callback that repopulates the dropdown list.
    -Steve


  3. #3
    Member njguy's Avatar
    Real Name
    Tom Ritter
    Join Date
    Nov 2009
    Location
    New Jersey
    Posts
    289

    Default Re: Arguments

    Quote Originally Posted by Steve Workings View Post
    I don't think you can build a dynamic dropdown list this way Tom. Instead, use the OnChange event of the Plant field to trigger a callback that repopulates the dropdown list.
    it was determined it was a bug and will be fixed in today's pre-release update...Thanks

  4. #4
    Moderator Steve Workings's Avatar
    Real Name
    Steve Workings
    Join Date
    Apr 2000
    Location
    The Dreaded Chair
    Posts
    5,592

    Default Re: Arguments

    Learn something every day. I didn't find the feature, so didn't know it was a bug. Gonna save me writing a few callbacks to populate dropdowns.
    -Steve


Similar Threads

  1. How to get Arguments to display?
    By Keith Hubert in forum Mobile & Browser Applications
    Replies: 0
    Last Post: 09-01-2013, 07:54 AM
  2. sql arguments
    By mvilla25 in forum Application Server Version 11 - Web/Browser Applications
    Replies: 4
    Last Post: 01-04-2013, 08:56 AM
  3. Report Editor Arguments vs Data Source Definition Arguments
    By DaveF in forum Application Server Version 11 - Web/Browser Applications
    Replies: 1
    Last Post: 10-19-2012, 02:08 PM
  4. SQL and Arguments
    By njguy in forum Application Server Version 11 - Web/Browser Applications
    Replies: 1
    Last Post: 04-30-2012, 03:48 PM
  5. SQL arguments without the dialog box
    By ehanson in forum Alpha Five Version 10 - Desktop Applications
    Replies: 3
    Last Post: 09-15-2011, 09:18 PM

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
  •