Alpha Video Training
Results 1 to 3 of 3

Thread: Custom Toolbar Error Message

  1. #1
    Member
    Real Name
    Chris Valencia
    Join Date
    Oct 2004
    Location
    San Diego, CA
    Posts
    34

    Default Custom Toolbar Error Message

    Hi All,

    I have a custom toolbar with a button that launches the adhoc browse. I use a custom toolbar for that adhoc browse. the script I use with the button is:
    adhocview("members")
    :adhoc_browse.toolbar="Browse View"
    :adhoc_browse.drop_down_menu=""none""

    The problem is, if the user presses the button and than cancels the browse without displaying anything, I get this error message:
    Script: Template line: 2
    :adhoc_browse.toolbar="Browse View"
    :adhoc_browse not found

    I understand what the error is saying, but I don't want the user to see it. Is there a way to surpress this message?

    Thank you,
    Chris

  2. #2
    Former Alpha Employee Edward Larrabee's Avatar
    Real Name
    Edward Larrabee
    Join Date
    Nov 2002
    Location
    New Hampshire
    Posts
    1,385

    Default RE: Custom Toolbar Error Message

    It sounds like you need to handle the error with an ON ERROR statement.

  3. #3
    Member
    Real Name
    Chris Valencia
    Join Date
    Oct 2004
    Location
    San Diego, CA
    Posts
    34

    Default RE: Custom Toolbar Error Message

    Thank you Edward,

    That fixed it.

Similar Threads

  1. custom toolbar
    By Cheryl Lemire in forum Alpha Five Version 6
    Replies: 18
    Last Post: 03-17-2005, 02:56 AM
  2. Toolbar Error Message
    By graysarge in forum Alpha Five Version 5
    Replies: 0
    Last Post: 07-19-2004, 09:56 AM
  3. Need help creating custom error message
    By Charlain in forum Alpha Five Version 5
    Replies: 8
    Last Post: 06-11-2003, 12:38 PM
  4. Custom Error Message
    By Ed Barley in forum Alpha Five Version 5
    Replies: 4
    Last Post: 02-18-2003, 06:04 PM
  5. Custom Query error message.
    By Derron Vandewege in forum Alpha Five Version 5
    Replies: 3
    Last Post: 02-16-2003, 09:07 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
  •