View RSS Feed

Development Team Blog

  1. Inherited Constraints

    by , 2-Oct-2009 at 09:00 AM (Development Team Blog)
    [FONT=Verdana][SIZE=2]Today we set out to answer the age old question of:[/SIZE][/FONT]

    [LEFT][I][FONT=Verdana][SIZE=2]Should a child be judged by the sins of their parent?[/SIZE][/FONT][/I][/LEFT]

    [FONT=Verdana][SIZE=2]In my previous article [URL=""]Using Expressions and Properties in Constraints[/URL] we talked about how constraints are inherited. In addition to any constraints that may be applied directly ...
  2. Constraints and Performance

    by , 19-Aug-2009 at 08:00 AM (Development Team Blog)
    Constraints again, who knew there could be so much to say about that. In some [URL=""]comments[/URL] to an earlier post about constraints, the question about ordering of constraints and the impact on performance came up. John Tuohy then also mentioned in his [URL=""]follow-up article about constraints and properties[/URL] that "The constraints are split up into multiple ...
  3. Using Expressions and Properties in Constraints

    by , 14-Aug-2009 at 08:00 AM (Development Team Blog)
    In Sonny Falkís blog about [URL=""]constraints and local variables[/URL] he noted that you should never use local variables inside of a [I]Constrain As [/I]expression. In talking about [I]Constrain As[/I] he states: [quote]You constrain against an expression, and the expression can be anything at all, including function calls executing DataFlex code and everything.[/quote]
    Letís explore the use of [I]Constrain As[/I] to call DataFlex ...

    Updated 14-Aug-2009 at 08:36 AM by Stephen W. Meeley (Minor formatting.)

  4. Constraints and Local Variables

    by , 10-Aug-2009 at 07:00 AM (Development Team Blog)
    Constraints and local variables is a frequent question in the forums, let's see if we can sort this out. The basics is that you set it up once, and then the runtime uses the constraints when finding records thereafter. If you want to change your constraints, you rebuild the whole set of constraints, and then the runtime uses that thereafter.

    The way constraints are set up is complicated a little with DDs and I won't go into the details, but essentially you augment the [I]OnConstrain[/I] ...