No try catch or bindevent anywhere.... so still non the wiser.... 50% of the way to building it from scratch anyway and so far with incremental testing it is working fine, so I think it is just one of those things...
I will take a copy of the form in error though and hack the scx to un subclass it and see if that works.
Oh well, it's weekend so I can rest on Sunday, just like God I suppose!!!
Have a great weekend fellow Foxers!
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Tracy Pearson Sent: 06 January 2017 15:59 To: profox@leafe.com Subject: RE: New Year Brain Teaser...
Peter Cushing wrote on 2017-01-06:
On 06/01/2017 14:19, Dave Crozier wrote: In the init of the form the oData property is assigned i.e.
Select <table> Scatter name Thisform.oData memo
What I ultimately want to do is the following: Thisform.txtText1.ControlSource = "Thisform.oData.Field1" ... for each of the form controls etc.
Hi Dave,
What is the structure of the table that you scatter from? Just wondering if there are any numeric or other fields in it and you are trying to use one as a controlsource.
I do something similar on some forms but in the init I do
SCATTER NAME thisform.oData MEMO BLANK
then the real scatter is done elsewhere for a new record.
Peter
Dave,
Do you have any BindEvent() or Try...Catch in your code?
I have a feeling the SCATTER is just a straw that breaks the real problem.
Tracy Pearson PowerChurch Software
[excessive quoting removed by server]