Alpha Video Training
Results 1 to 2 of 2

Thread: Set Suggestion - Array Create

  1. #1
    Member
    Real Name
    Ryland Wiltshire
    Join Date
    Oct 2008
    Posts
    208

    Default Set Suggestion - Array Create

    Hi,

    I was just informed that we needed to add logic that made sure tha a customer had the right secutity before a particular product category type can be issued. Since I already have this type of information available at the header record for the product category type, that is ok. However, the acrual validation routine is not run until I get to the cansave event in the line entry browse.

    Since the Product type is not available to me until I'm on the data entry line, that is where I need to check against up to potential 25 Categories ( that based upon the customer file). Then the question becomes, how would I load up those up 25 items in an array, and have a cansave event validate against those catagories? I thought maybe I could create a set, based upon the customer and category, but I then would have to create and perform another find within the cansave event based on that set.

    However, since I already know at the header level what those records are, it would appear I could load then in a tempory file (or array) and check against those records without doing another find.....has anyone done something simular to this ?? Ryland

  2. #2
    Member
    Real Name
    Ryland Wiltshire
    Join Date
    Oct 2008
    Posts
    208

    Default Re: Set Suggestion - Array Create

    Never mind, I see a post for multi-dimensional arrays that should solve the issue. When I placed array in for the initial serach, the multi should have preceded it......Ryland

Similar Threads

  1. Can I create a set like this
    By Anis in forum Alpha Five Version 9 - Desktop Applications
    Replies: 5
    Last Post: 06-10-2009, 09:23 AM
  2. Can't create Set - set editor not opening
    By wmarquardt in forum Alpha Five Version 9 - Desktop Applications
    Replies: 1
    Last Post: 09-25-2008, 06:08 PM
  3. Create Set Problem
    By B Philip Gerber in forum Alpha Five Version 6
    Replies: 7
    Last Post: 02-15-2005, 08:12 AM
  4. Create set form from others
    By Evelyn Krawczyk in forum Alpha Five Version 5
    Replies: 3
    Last Post: 03-03-2004, 10:01 AM
  5. Help!! Can't create set
    By russ Boehle in forum Alpha Five Version 4
    Replies: 4
    Last Post: 01-15-2001, 08:24 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
  •