Suneido

Integrated Application Platform

  • Home
  • Learning
    • Suneido Manual
    • Beginners
      • Inside Suneido
      • The Suneido Programming Language
      • The Suneido Database
      • Installing Suneido
      • Building Suneido
      • IDE Go To Tour
      • Upgrading To A New Release
    • Advanced
      • Canvas Control
      • DrawControl Part 1
      • DrawControl Part 2
      • DrawControl Part 3
      • SAX Like XML Processing
      • A Plug-In Architecture
      • A Simple Wizard Framework
      • An HTML Include Facility
      • An RSS 2 Feed Creator
      • MIME Generation
      • A New Add-on Facility
      • Workspace Improvement Hack
    • Mockito for Suneido
    • The Suneido Task Scheduler
    • Contributing To Suneido
    • Contributor Assignment of Copyright
    • Language Translation
    • Future Directions
    • Interview With Andrew Mckinlay
  • Forum
    • Announcements
    • Internals & Enhancements
    • Cookbook
    • General
  • FAQ
  • Screenshots
  • Downloads
  • Links

Re: Re: explorerlistview and explorerlistmodellinked

Integrated Application Platform › Forums › General › explorerlistview and explorerlistmodellinked › Re: Re: explorerlistview and explorerlistmodellinked

July 8, 2011 at 3:16 pm #855
j_ferguson
Moderator

I see that the btschinf_qty_batch field is in the table schema but is capitalized. This means the rule should be triggered the first time that field is accessed after reading from the database. The rule should also execute whenever a dependency of the rule changes. Dependencies are the other fields that the rule is using to determine its value.

If you want to force the rule to execute, you can loop through the explorerlist_data field from the Access record (the main schedule record). This will be an object containing each of the records from the ExplorerListView. Then you can call Record’s Invalidate method on each record and pass the field name (btschinf_qty_batch). Then if you access the field the rule will be evaluated on that record. Invalidate does not actually “refresh” the rule, it just tells the record that the next time anything references that field, that the rule should be re-evaluated.

In the case of adding the quantity records for each order, you could try adding a BrowseControl to your ExplorerListView layout. You would have to name it with the key field from the ExplorerListView records and also use Browse’s linkField option which would be the matching key field in the quantity records. I’m not sure how well that is going to work because I haven’t tried it. That’s quite a bit to display on one screen.

Search Forums

Log In
Welcome to the new Suneido Web Site and Forum.
Register
Lost Password
users of the previous PHPBB Forum should be able to log in with their previous username and password.

Recent Topics

  • Alpha copy of gSuneido to play with
  • how to start jsuneido ?
  • Problem Starting Suneido…
  • Dialog not showing buttons
  • New link for Suneidojo

Contact Us | Legal Statement | Privacy Statement | SiteMap

Copyright © 2023 Axon® Development Corporation. All Rights Reserved. - Open Source Integrated Database and Programming Language