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