Two controls on the same form (OpenInsight Specific)
At 18 FEB 1998 08:22:04AM Jeff Word Enterprises wrote:
Can you have two separate controls on a window that are bound to the same column in the same table. If so then how will the write event handle that? Which one will be written?
At 18 FEB 1998 08:26AM Don Bakke wrote:
Jeff,
Can you have two separate controls on a window that are bound to the same column in the same table. If so then how will the write event handle that? Which one will be written?
Yes you can. When you lose focus on the "last" control to become modified, the "other" control automatically gets updated with that value (looks like a symbolic getting updated). So, technically, the answer to your question is whichever control was last modified.
dbakke@srpcs.com
At 18 FEB 1998 10:05AM Aaron Kaplan wrote:
On the other hand, if you set the control's text during a pre-write, they both might not be in synch, so then it would be the last one in the control map order.
apk@sprezzatura.com