Alpha Video Training
Results 1 to 4 of 4

Thread: topparent.queryrun()

  1. #1
    kevin waggitt
    Guest

    Default topparent.queryrun()

    I have come across a problem when I run a query based on

    topparent.queryrun()

    On the 15th execution I get an unhandled exception error and a forced termination. If I replace the query with a table version (i.e. customer form multistate button in Alphasports example ) the problem is resolved

    I notice a post #2722 which may be the same issue as the code posted there also includes topparent.queryrun()

    The code at issue is generated straight from the action script for a custom query.

    Any one else notice this?

    Kevin

  2. #2
    Alpha Software Employee Selwyn Rabins's Avatar
    Real Name
    Selwyn Rabins
    Join Date
    Mar 2000
    Location
    Boston, MA
    Posts
    5,298

    Default RE: topparent.queryrun()

    this has been fixed in the next patch which i expect to release tomorrow.

    in the mean time the work around is trivial.

    topparent.queryrun() takes an optional argument for the query description.

    if you set this to:

    temporary_query

    the problem will be solved.

  3. #3
    kevin waggitt
    Guest

    Default RE: topparent.queryrun()

    Great! I look foward to the fix!

    However, it is unfortunate that this problem is generated by action script code, which is where most of us start before digging in to XBasic!

  4. #4
    Alpha Software Employee Selwyn Rabins's Avatar
    Real Name
    Selwyn Rabins
    Join Date
    Mar 2000
    Location
    Boston, MA
    Posts
    5,298

    Default RE: topparent.queryrun()

    the patch has been released. you do not have to change your existing scripts, and the code generated by action scripting will work unchanged.

Similar Threads

  1. Queryrun retuns 0 record count
    By Ohlen Cartmell in forum Alpha Five Version 5
    Replies: 0
    Last Post: 07-25-2005, 05:02 AM
  2. use of topparent
    By John Burke in forum Alpha Five Version 5
    Replies: 13
    Last Post: 05-26-2005, 06:33 PM
  3. queryrun - syntax for * or Like
    By fairclothjd in forum Alpha Five Version 6
    Replies: 5
    Last Post: 02-11-2005, 07:46 PM
  4. topparent
    By dik_coleman in forum Alpha Five Version 5
    Replies: 1
    Last Post: 05-30-2004, 08:05 AM
  5. TopParent vs. Parentform
    By CALocklin in forum Alpha Five Version 4
    Replies: 16
    Last Post: 12-01-2001, 03:35 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
  •