Key parts in edit table controls? (OpenInsight 32-bit Specific)
At 13 AUG 2003 05:14:29PM Gerald Lovel wrote:
The OI forms designer allows the design of a form in which the key parts are in an EDITTABLE control. The documentation shows POS and PART as properties of the EDITTABLE control. So, I built a form with an EDITTABLE control containing key parts 1 and 2. No automatic read on lostfocus. Selecting Read from the Menu produces a VNAV error in RUN_EVENT.
You may wonder why I would test such a dumb idea. However, look at the code example in the documentation of the POS property. This is how you find out which controls contain the key in general. And "in general" means it has to work with ALL databound controls.
On this same subject, what about joined columns in a form? Don't they also have PART and POS, and wouldn't they be recognized as key parts? If so, how do you fill in the key controls on a form to do a read?
Very Curious Gerald