Results 1 to 3 of 3

Thread: Data edits prevented by Validation Field Rule

  1. #1
    Member
    Real Name
    Sam Gerber
    Join Date
    May 2007
    Posts
    190

    Default Data edits prevented by Validation Field Rule

    I have a situation where a field rule is preventing me from editing a table. It appears that Alpha Five V1 permitted the editing, while V11 wants no part of it. Please let me explain.

    I have a Customer table with a unique customer number. The Validation field rule specifically says:
    A5Validation_1.jpg
    and
    A5Validation_2.jpg

    Version 1 enforced this rule on creating a new customer record, but NOT on editing the record.

    Version 11 is throwing the error when any field in the record is edited, as well.

    Can anyone explain whether this is normal behavior for current versions of A5 and if so, how do I code the Validation to ensure uniqueness of the key but still permit the record to be edited.

    If you can help get this problem behind me, I'll have completed the first leg of a painful migration from A1 to A11.

    Thanks to all of you for your excellent support ... Sam

  2. #2
    "Certified" Alphaholic
    Real Name
    Tom Cone Jr
    Join Date
    Apr 2000
    Location
    Florida
    Posts
    22,334

    Default Re: Data edits prevented by Validation Field Rule


  3. #3
    Member
    Real Name
    Sam Gerber
    Join Date
    May 2007
    Posts
    190

    Default Re: Data edits prevented by Validation Field Rule

    Tom, Thank You!!!

    Your screencast was the best video I've enjoyed this year. You solved my problem, as you knew you did. Out of desperation to get the freaking form working I was going to remove my validation test but I wasn't sure that specifying "unique key" was good enough. I needed an Alphaholic to tell me not to worry!

    I guess it's safe to say that A1 and A11 are different in how they treat a validation test for uniqueness of key. It would have been nice if the field rule could have distinguished between being in Enter mode versus Change mode.

    Well, thanks to you I'm now going to finish up a bunch of forms and then I have quite a bit of XBASIC conversion to look forward to (which I'm not).

    You'll hear from me again no doubt as I continue my journey.

    Later ... Sam

Similar Threads

  1. Field Rule Error Validation Message
    By jdrake in forum Alpha Five Version 9 - Desktop Applications
    Replies: 1
    Last Post: 11-03-2008, 11:16 AM
  2. Field Validation Rule Question??
    By Easy Rider in forum Application Server Version 9 - Web/Browser Applications
    Replies: 1
    Last Post: 08-22-2008, 02:07 PM
  3. Can't remove Validation Field Rule
    By Beltronics in forum Alpha Five Version 8
    Replies: 3
    Last Post: 08-14-2007, 10:22 AM
  4. Field Rule Unique Validation is not working
    By Dennis Mathias in forum Alpha Five Version 4
    Replies: 4
    Last Post: 08-08-2002, 10:27 AM
  5. validation field rule
    By Becky McNichols in forum Alpha Five Version 4
    Replies: 5
    Last Post: 02-03-2002, 05:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

The Reviews Are In...

It just is revolutionary and reminds me of VB and how it changed the world.
quote Robert Scoble, Scobleizer

...Version 10 is a turning point on how developers will be writing applications for the web
quote Alan Ashendorf, Lets Talk Computers

Alpha Five version 10... this version is really a break-through for web developers.
quote The Wall Street Journal, Digital Network

Our Professional Services Division

Training and Mentoring - Alpha Software's Professional Services division is here to help. We offer mentoring and training services, for those who need guidance or advice building their own applications.

Development Services - Need someone to build your application? We'll get the job done right. We have an in-house team of Alpha Five developers and a network of carefully selected artists, designers and IT professionals ready to handle projects of any size. Read more .

submit a project request

Alpha Five Awards & Press
awards
Products Store Support Services About Cart Site Map Resources Home
© Copyright 2000-2011 Alpha Software, Inc. 70 Blanchard Road Burlington, MA 01803 781.229.4500
more